Pause a scheduled alert
https://api.alert.alertinghub.co.uk/api/json/pausescheduledalert
When an alert has been scheduled using the schedule alert API, there may be times when rather than cancelling and removing completely from the system you may just want to pause it and resume at a later time. This can be done using the pause scheduled API and unique alert reference
Json sample
{ "version": "latest", "apiKey": "abcdefghijklmnopqrstuvwxyz", "scheduledAlertId": "5bc25c23-c1ab-44f4-8fd7-7be1684cb68f" } { "success": true, "returnCode": 200, "scheduledAlertId": "5bc25c23-c1ab-44f4-8fd7-7be1684cb68f" }
Pausing alerts
Parameter | Requirement | Default | Description | |
---|---|---|---|---|
version | Mandatory | None | See API guide | |
apiKey | Mandatory | None | See API guide | |
scheduledAlertId | Mandatory | None | Unique schedule reference as previously returned by /sendalert, /sendstoredalert or /schedulestoredalert | |
response: | ||||
success | One of “true”, “false”. If false then failureReason should also be returned | |||
scheduledAlertId | As requested |