User Manual
Version 7.5
×

The amount of fuel consumed over a period of time and the operation of the vehicle at idle

 
Example:
https://<address>//api/api.php?cmd=fuelconsumtion
 
Parameters:
cmd : fuelconsumtion
imei : object identifier in the system
start: unixtimestamp of start of fetch
stop: end of fetch unixtimestamp
 
Request:
https://<address>/api/api.php?cmd=fuelconsumtion&imei=866795039905375&start=1644741475&stop=1644914275
 
Answer:
response: {
     code: 0
     data: {
         "866795039905375": [
             {
                 "idle": 147681,
                 "fuelconsumed": 24.88
             }
         ]
     },
     "message": "success"
}