Send a status for a device
https://production-connect.blacklinesafety.com/1/status
None
device_id required |
The id of the device.
Example Value: 555 |
battery_level_internal required |
The battery level in percent (min: 0, max: 100).
Example Value: 60 |
gprs_strength optional |
The GPS strength (min: 0, max: 10). The value is multiplied by 10 and rounded to the nearest 10.
Example Value: 4 |
date optional |
The date the status 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 |
POST | https://production-connect.blacklinesafety.com/1/status?access_token=abcd |
{
"device_id":555,
"battery_level_internal":60,
"gprs_strength":4,
"date":"2012-08-16 18:08:52"
}
No response data is sent on a successful POST.