How can we help?

Searching:

0 results found

AlarmInstances/Get (Specific)

GET /odata/AlarmInstances/Get/[id]

Description

Gets the details of a specific AlarmInstance, as specified by the AlarmInstance ID.

See the following for request and response details ‒

See Also

Request ‒ AlarmInstances/Get (Specific)

Property Type Description Mandatory
id String A unique identifier for this AlarmInstance that is automatically generated by Axonize. This AlarmInstance ID is returned in the response of the AlarmInstances/Post. Y

Example JSON AlarmInstances/Get (Specific) Request

curl -X GET \

https://api.stg.axonize.com/odata/alarminstances/f5a8c35d119ec0c14b851234

-H ‘Authorization: Token’ \

-H ‘Content-Type: application/json’ \

-H ‘appId: 801A048A-9F23-429F-BF0D-B6D35B22231E ‘ \

Response ‒ AlarmInstances/Get (Specific)

For each AlarmInstance, the response provides the properties in AlarmInstances/Post.

Example JSON AlarmInstances/Get (Specific) Response

Status 200 – OK

{

“@odata.context”: “https://stg-axonizeapi-axonize.dev-ase-axonize.p.azurewebsites.net/odata/$metadata#AlarmInstances/$entity“,

“deviceId”: “5a8c35d119ec0c14b8512345”,

“typeCode”: 1039,

“value”: “50”,

“readingDateTime”: “2018-07-02T07:57:29Z”,

“readingDateTimeOffset”: “2018-07-02T07:57:29Z”,

“ruleId”: “5b28a5a421b5bb1dc8a12345”,

“eventName”: “Soil Humidity”,

“severity”: “Warning”,

“status”: “Open”,

“snoozeExpirationDate”: null,

“message”: “Warning alarm from Doneness – Soil Humidity = 50 on value 50”,

“id”: “5a8c35d119ec0c14b8512345”,

“appId”: “801A048A-9F23-429F-BF0D-B6D35B212345”,

“createDate”: “2018-07-02T07:57:33.692Z”,

“createUser”: null,

“updateDate”: “0001-01-01T00:00:00Z”,

“updateUser”: null

}