Get Triggered Alarm
To get a resource representation of a triggered alarm with the specified UID.
Required Privileges
To perform this task, a user must have one of the following roles assigned: Portal Administrator, Service Provider Global Administrator, Service Provider Administrator, Company Owner, Company Administrator.
Request
To get a representation of a triggered alarm, send the GET HTTP request to the URL of the /alarms/active/{activeAlarmUid} resource.
HTTP Request
GET https://<hostname>:1280/api/v3/alarms/active/{activeAlarmUid} |
Request Headers
The request contains the following headers.
Header | Required/Optional | Value | Description |
Authorization | Required | Bearer <Access-Token> | Authenticates a client who sends the request to the server. Must contain the access token for the current logon session in the Bearer <Access-Token> format. |
Accept | Optional | application/json | Specifies a media type of representation that is required in the response message. If the requested type is not supported, the server will return the response in the application/json media type. |
Request parameters
A list of parameters that are applicable for this operation:
Name | In | Type | Required | Default | Constraints | Description |
---|---|---|---|---|---|---|
activeAlarmUid | Path | String (uuid) | Yes | — | — | Triggered alarm UID |
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 resource representation based on the ActiveAlarm schema.
Example
The following request returns a representation of a triggered alarm with UID 82c6dd29-9b44-4afe-9f38-252cf67e8df0.
Request: GET https://localhost:1280/api/v3/alarms/active/82c6dd29-9b44-4afe-9f38-252cf67e8df0
Request Header: Authorization: Bearer <Access-Token>
Response Code: 200 OK
Response Body: { "data": { "instanceUid": "82c6dd29-9b44-4afe-9f38-252cf67e8df0", "alarmTemplateUid": "0a86425e-db66-4425-1ae7-aabcaf962876", "repeatCount": 1, "object": { "instanceUid": "04f4ba78-17f7-47ab-8b06-44a018a9e3c8", "type": "internal", "organizationUid": "1b483cd8-24f0-4745-8248-e428e8f5c7c1", "locationUid": "00000000-0000-0000-0000-000000000000", "managementAgentUid": "00000000-0000-0000-0000-000000000000", "computerName": "srv02", "objectName": "srv02" }, "lastActivation": { "instanceUid": "07269f0b-bd79-4c4a-ab94-a75e85abfcb4", "time": "2020-03-30T03:48:04.9882714+03:00", "status": "info", "message": "License auto-update functionality is not enabled.\r\n", "remark": "\r\n" } } } |