POST /message

Send message for a device

Resource URL

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

Parameters

None

POST Data

device_id required The id of the device.

Example Value: 555

message required The message (max: 128 characters).

Example Value: test message

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/message?access_token=abcd

Request Data

{
    "device_id":555,
    "message":"test message",
    "date":"2012-08-16 18:08:52"
}

Example Response

No response data is sent on a successful POST.