Get live_events data
Options:
cmd : live_events
Example request:
https://<url>/api/api.php?cmd=live_events
Answer:
{
"1264": {
"Contract Number": "CONTRACT ID",
"Company Name": "Al Turki Enterprises",
"Base Location": "LEK",
"Vehicle Owner": "SUB-CONTRACTOR",
"ID": 1680881937,
"EventID, EventType": 0,
"VehicleID": "5174 WA",
"Asset Category": "Light",
"Road Type": "Blacktop",
"DriverID": 18262972,
"Event Start Time": "1680881932",
"Event Start Speed ": 0,
"Event Start Location": {
"lat": "18.185841",
"lon": "55.213230"
}
},
"1123": {
"Contract Number": "",
"Company Name": "Al Turki Enterprises",
"Base Location": "",
"Vehicle Owner": "",
"ID": 1680881937,
"EventID, EventType": 0,
"VehicleID": "6076MB",
"Asset Category": "Light",
"Road Type": "Blacktop",
"DriverID": 0,
"Event Start Time": "1680881413",
"Event Start Speed ": 0,
"Event Start Location": {
"lat": "18.188658",
"lon": "55.206314"
}
}
}