User Manual
Version 7.6
×

The volume of fuel consumed over a period of time and the vehicle idling

 
Options:
cmd : fuel consumption
imei  : object identifier in the system
start : unixtimestamp of the beginning of the sample
stop :  unixtimestamp of the end of the sample
 
Example request:
http://<url>/api/api.php?cmd=fuelconsumtion&imei=866795039905375&start=1644741475&stop=1644914275
 
Answer:
{
 "code": 0,
 "data": {
 "866795039905375": [
 {
 "idle": 147681,
 "fuelconsumed": 24.88
 }
 ]
 },
 "message": "success"
}