PUT alert/:id

Modify the status of an alert.

Resource URL

https://connect-portal.blacklinegps.com/1/alert/:id

Parameters

id required The id of the alert.

Example Value: 34421

status required

The new status for alert.

Must be one of: unacknowledged, acknowledged, resolved

resolution_reason optional

If the status is resolved you may also provide the reason for the resolution.

Must be one of: system_test, false_alert_without_dispatch, false_alert_with_dispatch, incident_without_dispatch, incident_with_dispatch

The response may include one of the following resolution reasons: system_test, false_alert_without_dispatch, false_alert_with_dispatch, incident_without_dispatch, incident_with_dispatch, auto_resolved_by_system

note optional

Allows you to add a note to the alert status for that alert id. The note should be url encoded.

Example Request

PUT https://connect-portal.blacklinegps.com/1/alert/1234?access_token=abcd&status=acknowledged&note=sample+note

Example Response

{
    "id":1234,
    "device_id":555,
    "status":"resolved",
    "resolution_reason":"system_test",
    "type":"motion",
    "date_last_modified":"2012-08-16 18:08:52"
}