Get a Triggered Alarm

In this article

    You can get a representation of a triggered alarm with the specified ID.

    Request

    To get a representation of a specific triggered alarm, send the GET HTTPS request to the URL of its resource.

    HTTPS Request

    GET https://<hostname>:1281/v2/notifications/events/{ID}

    Request Headers

    The request header must contain the authorization token for the current logon session.

    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 /notifications/events/{ID} resource.

    Example Get a Triggered Alarm

    The following request returns a representation of a triggered alarm with ID 1.

    Request:

    GET https://localhost:1281/v2/notification/events/1

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response Code:

    200 Success

     

    Response Body:

    {

     "id": 1,

     "alarmTemplateId": 12,

     "repeatCount": 1,

     "companyId": 4,

     "locationId": 4,

     "computerName": "srv21",

     "objectName": "srv21",

     "lastActivation": {

       "time": "2018-11-23T08:54:56.9967505Z",

       "status": "Resolved",

       "message": "All metrics are back to normal.\r\n",

       "remark": "Automatically resolved.\r\n"

     },

     "_links": [

       {

         "rel": "self",

         "method": "GET",

         "href": "https://vac:1281/v2/notifications/events/1"

       },

       {

         "rel": "related",

         "method": "GET",

         "href": "https://vac:1281/v2/notifications/alarmTemplates/12"

       }

     ]

    }

    I want to report a typo

    There is a misspelling right here:

     

    I want to let the Veeam Documentation Team know about that.