User Manual
Version 7.6
×

Distance traveled

 
Example:
https://<address>/api/api.php?cmd=istatus 
 
Parameters:
cmd : istatus
imei : object identifier in the system
start : start time
stop : end of time
 
Example :
Vehicle mileage for the requested period of time (km)
"run":15735.18
 Vehicle mileage by CAN (km)
"trun_by_can":"76861.89"
 Motohours (seconds)
"motohours":70645
start start of segment in unixtimestamp format
stop end of time span in unixtimestamp format
 
Request:
https://<address>/api/api.php?cmd=istatus&imei=6794i&start=1664917200&stop=1665003600 
 
Answer:
{
    "code": 0,
    "msg": "OK",
    "run": 126.79500000000007,
    "run_by_can": 0,
    "motorhours": 9897,
    "unixtimestamp_start": 1664917200,
    "unixtimestamp_stop": 1665003600
}