Get driver activity data
Example:
https://<address>/api/api.php?cmd=gettachodata
Parameters:
cmd: gettachodata
agent_id: AgentID of vehicle/vehicles OR
imei: Device ID.
ts: start timestamp
te: end timestamp
Method: GET
Request:
https://<address>/api/api.php?cmd=gettachodata&ts=1624568400&te=1624586400&agent_id=120407,120646
Answer:
{
"C 229 SK 750": {
"First driver": {
"Work": 4997,
"Drive": 248,
"Rest": 9117
},
"Second driver": {
"Driver available": 1722,
"Rest": 9117
}
},
"A 192 AK 790": {
"First driver": {
"Drive": 5436,
"Work": 1706,
"Rest": 9084
},
"Second driver": {
"Driver available": 4995,
"Rest": 9084
}
}
}