This is an archive version of the document. To get the most up-to-date information, see the current version.

Get Alarm Templates

You can get a short representation of a collection of Veeam Service Provider Console alarm templates.

Request

To get a representation of all Veeam Service Provider Console alarm templates, send the GET HTTPS request to the URL of the /alarms/templates collection.

HTTPS Request

GET https://<hostname>:1280/v2/notifications/alarmTemplates

Request Headers

The request header must contain the authorization token.

Response

The server returns the following response to the client.

Response Code

A successfully completed operation returns response code 200 OK.

Response Headers

The response to this request contains the following headers. The response may also include additional standard HTTP headers.

Header

Description

Content-length

The length of the response body.

Content-type

The media type and syntax of the request body message: application/json; charset=utf-8

Response Body

In the response body, Veeam Service Provider Console returns a representation of the /alarms/templates collection.

Example Get Alarm Templates

The following request returns a short representation of all alarm templates in Veeam Service Provider Console.