User Manual
Version 7.6
×

Getting information about vehicle

 
 
Example:
https://<address>/backend/api.php?cmd=vehinfo
 
Method: GET
Parameters:
 cmd : vehinfo
agentid: agent id  or imei
 
 
Answer :
[{"ownerid":5374,"vehiclenumber":"Howen C","typeid":1,"summer_fuel":"10","winter_fuel":"10","idle_fuel":"2","info":"","time_zone":"Europe\/Moscow","speed_limit":0,
"card_num":"","agentid":81181,"garmin":1,"split":",","account_id":3925,"price_id":180,"partner_price_id":249,"summer_stop_fuel_cons":"0","initial_mileage":5,"control":60,
"lost_connection_time":14400,"model":"","year":"1900","vin":"","fuel_type":"50","agentstatustypeid":1,"uniqid":"sky123","msisdn":"0","configuration":"Howen","info2":"",
"minsat":4,"maxhdop":"21","maxspeed":250,"minspeed":10,"mintime":3600,"minparking":300,"created_time":1576063048,"config":"{\"hl\": 2, \"lat\": 0, \"lon\": 0, \"rfid\": \"\", \"prima\": {\"prima_gas_idle\": null, \"prima_fuel_idle\": null, \"prima_gas_summer\": null, \"prima_gas_winter\": null, \"prima_fuel_summer\": null, \"prima_fuel_winter\": null}, \"engine\": \"\", \"car_mod\": 0, \"ins_exp\": \"\", \"lic_exp\": \"\", \"license\": \"\", \"mh_fuel\": 2, \"car_mark\": 0, \"ins_sert\": \"\", \"zone_sos\": {\"\": \"\"}, \"car_model\": 0, \"fix_speed\": 0, \"zone_idle\": {\"\": \"\"}, \"engine_cap\": 0, \"violations\": {\"speed_on\": 0, \"send_alert\": 0, \"speed_delta\": 0}, \"zone_photo\": {\"\": 0}, \"terminal_id\": 0, \"engine_horse\": \"555\", \"gas_settings\": {\"idle\": \"0\", \"summer\": \"0\", \"winter\": \"0\"}, \"maxflylength\": \"10\", \"summer_start\": 106, \"winter_start\": 289, \"cons_ignition\": 0, \"full_capacity\": \"0\", \"work_schedule\": {\"schedule\": null, \"days_of_week\": []}, \"fuel_norm_type\": 0, \"split_buslines\": 0, \"speed_limit_sos\": false, \"minimum_idle_sos\": false, \"seating_capacity\": \"0\", \"minimum_idle_time\": \"600\", \"initial_motor_hours\": 1, \"lost_connection_sos\": false, \"minimum_idle_ignition\": false}","driver_name":"Test","driver_phone":"12121212121"}]