How can we help?

Searching:

0 results found

AlarmInstances/Snooze

POST /odata/AlarmInstances/Snooze

Description

Snoozes a reoccurring AlarmInstance for a specified number of minutes for a specified id(s).

A recurring AlarmInstance is triggered by the actions/ruleRecurrenceSettings property of a Rule.

See the following for request and response details ‒

See Also

Request ‒ AlarmInstances/Snooze

Property Type Description Mandatory
snoozeTimeInMinutes Integer Y
ids Array of Strings An array of AlarmInstance IDs. An ID is a unique identifier for this AlarmInstance that is automatically generated by Axonize. This AlarmInstance ID is returned in the response of AlarmInstances/Post. Y

Example JSON AlarmInstances/Snooze Request

curl -X POST \

http://api.dev.axonize.com/odata/alarmInstances/snooze

-H ‘Authorization: Token’ \

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

-d ‘ {

“snoozeTimeInMinutes” : 5,

“ids”:[“5b684b0e21b5bb1ce4f8b102″,”5b7446bf21b5bb2acc7e0709”]}’

Response ‒ AlarmInstances/Snooze

Example JSON AlarmInstances/Snooze Response

Status 204 ‒ No Content