Returns the basic information for all your devices.
https://eu.connect-prod.blacklinesafety.com/1/device
None
GET | https://eu.connect-prod.blacklinesafety.com/1/device?access_token=abcd |
emergency_alert
,
fall_detected_alert
,
logoff
,
logon
,
low_battery
,
missed_check_in
,
network_timeout
,
no_motion_occurred
,
silent_alert
gas_alert_detected
over_limit_gas_alert_detected
twa_alert_detected
stel_alert_detected
date_last_seen
, position_date
, and date_last_modified
represent the timestamp of the event in your timezone (according to the preference in your account). These values are deprecated.date_last_seen_utc
, position_date_utc
, and date_last_modified_utc
instead. These are the timestamps of the events in UTC.
beacon_battery
are:
[
{
"id":1234,
"type":"loner_is",
"name":"Jim Parsons",
"status":{
"date_last_seen":"2012-07-03 16:38:28",
"date_last_seen_utc":"2012-07-03 22:38:28",
"is_online":false,
"shutdown_reason":"no_shutdown",
"location":{
"type":"gsm",
"timing_advance":4,
"uncertainty":555,
"position_date":"2012-07-03 16:26:56",
"position_date_utc":"2012-07-03 22:26:56",
"latitude":"51.0433050",
"longitude":"-114.0198290",
"altitude":0
},
"battery":{
"internal_level":80,
"is_charging":false
}
},
"contact":[],
"alerts":[],
"owner":{
"id":770,
"first_name":"the_org_name",
"last_name":"the_org_name",
"email":"",
"language":"",
"timezone":"America/Denver",
"org_id":770,
"org_name":"the_org_name"
}
},
{
"id":3422,
"type":"loner_is",
"name": "",
"status":{
"date_last_seen":"2012-07-04 12:22:09",
"date_last_seen_utc":"2012-07-04 18:22:09",
"is_online":true,
"shutdown_reason":"no_shutdown",
"location":{
"type":"gps",
"heading":0,
"speed":0,
"satellite_count":6,
"position_date":"2012-07-03 16:25:58",
"position_date_utc":"2012-07-03 22:25:58",
"latitude":"51.0379619",
"longitude":"-114.0343229",
"altitude":1055
},
"battery":{
"internal_level":40,
"is_charging":true
}
},
"contact":{
"id":9000,
"full_name":"Jack Doe",
"first_name":"Jack",
"last_name":"Doe",
"phone_number":"403-123-4567"
},
"alerts":[
{
"id": 733,
"status":"acknowledged",
"type":"emergency_alert",
"date_last_modified":"2012-07-03 12:08:52",
"date_last_modified_utc":"2012-07-03 18:08:52"
}
],
"owner":{
"id":770,
"first_name":"the_org_name",
"last_name":"the_org_name",
"email":"",
"language":"",
"timezone":"America/Denver",
"org_id":770,
"org_name":"the_org_name"
}
},
{
"id":5002,
"type":"loner_m7",
"name":"The 5002",
"status":{
"date_last_seen":"2018-11-14 10:06:36",
"date_last_seen_utc":"2018-11-14 17:06:36",
"is_online":true,
"shutdown_reason":"network_timeout",
"sensors":[
{
"gas_type":"CO",
"reading":0,
"units":"ppm",
"date_utc":"2018-11-14 17:06:36"
},
{
"gas_type":"H2S",
"reading":0,
"units":"ppm",
"date_utc":"2018-11-14 17:06:36"
},
{
"gas_type":"O2",
"reading":20.9,
"units":"vol",
"date_utc":"2018-11-14 17:06:36"
},
{
"gas_type":"LEL",
"reading":0,
"units":"lel",
"date_utc":"2018-11-14 17:06:36"
}
],
"location":{
"type":"ant",
"beacon_id":1369002423,
"beacon_name":"Bacon 1369002423",
"beacon_address":"123 Sesame Street",
"beacon_battery":0,
"beacon_rssi":-66,
"position_date":"2018-11-14 10:06:35",
"position_date_utc":"2018-11-14 17:06:35",
"latitude":"51.0383210",
"longitude":"-114.0337217",
"altitude":0
},
"battery":{
"internal_level":40,
"is_charging":false
}
},
"contact":[],
"alerts":[],
"owner":{
"id":770,
"first_name":"First",
"last_name":"Last",
"email":"",
"language":"",
"timezone":"America/Denver",
"org_id":770,
"org_name":"the_org_name"
}
}
]