Информация об автомобиле в течение 24 часов
Пример:
https://<address>/api/api.php?cmd=vehinfo_24_hours
Параметры:
cmd : vehinfo_24_hours
agent_id : AgentID транспортного средства /транспортных средств ИЛИ
imei : идентификатор устройства.
тс : метка времени
Метод: GET
Запрос:
https://<address>/api/api.php?cmd=vehinfo_24_hours&imei=10518,165182&ts=1617710825
Ответ :
{
"10518": {
"total_mileage": 745851.44,
"fuel_start": 229.37,
"fuel_stop": 229.37,
"fuel_fill": 409.6,
"fuel_drain": 153.15,
"fuel consumption (l)": 256.45,
"fuel consumption (l\100km)": 35,
"fuel_consumption_norm(l)": 161.5658,
"fuel_consumption_norm(l/100km)": "22",
"engine hours": 0
},
"165182": {
"total_mileage": 100946.68,
"fuel_start": 0,
"fuel_stop": 0,
"fuel_fill": 0,
"fuel_drain": 0,
"fuel_consumption(l)": 0,
"fuel consumption(l/100km)": 0,
"fuel_consumption_norm(l)": 22.313000000000002,
"fuel_consumption_norm(l/100km)": "10",
"engine hours": 0
}
}