POST /notification

Send a notification for a device

Resource URL

https://production-connect.blacklinesafety.com/1/notification

Parameters

None

POST Data

device_id required The id of the device.

Example Value: 555

type required The notification type.

Must be one of: alert_acknowledged, alarm_acknowledged, alarm_acknowledged_fdu_motion, alarm_acknowledged_gps_motion, alarm_acknowledged_phone_motion, alarm_acknowledged_phone_use, no_motion, manual_check_in_pending, pending_fall_detected, potential_emergency

date optional The date the notification occurred in UTC. Must be in format YYYY-MM-DD hh:mm:ss. If no value is specified, then the date this POST was made is used.

Example Value: 2012-02-28 18:08:05

Example Request

POST https://production-connect.blacklinesafety.com/1/notification?access_token=abcd

Request Data

{
    "device_id":555,
    "type":"pending_fall_detected",
    "date":"2012-08-16 18:08:52"
}

Example Response

No response data is sent on a successful POST.