FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)//
====== Execute Unit Report ======
The request is intended to execute report on unit.
=== Request Example ===
&svc=exec_report¶ms={
"id_unit": integer,
"from": timestamp,
"to": timestamp,
"report_type": string,
"language": string,
"id_group": integer,
"id_geozone": integer,
"id_report": integer
}
=== Parameters ===
^ Parameter ^ Description ^
| id_unit | Unique Unit ID |
| from | Start time of report |
| to | End time of report |
| report_type | Report Type |
| language | Language |
| id_group | Unique Group ID |
| id_geozone | Unique Geozone ID |
| id_report | Unique Report ID |
=== Additional Information ===
Report_type('unit_source' ⇒'Initial Data', 'unit_movement' ⇒ 'Report on trips', 'unit_stay' ⇒ 'Report on parkings', 'unit_movement_stay' ⇒ 'Report on trips and parkings', 'unit_conn' ⇒ 'Lost Connection Report').
Parameters id_route and id_geozone are optional.
=== Server Response ===
== Result ==
{
"page":0, // Current Page
"total":1,
"records":1, // Number of records
"headers":[ // Report headers
"Начало",
"Начальное положение",
"Конец",
"Конечное положение",
"Длительность",
"Средн. скорость км/ч",
"Макс. скорость км/ч",
"Расстояние, км",
"Coord"
],
"rows":[ // Report rows
{
"Начало":"Итого",
"Начальное положение":"",
"Конец":"",
"Конечное положение":"",
"Длительность":"0:00:00",
"Средн. скорость км/ч":"0.0",
"Макс. скорость км/ч":"0",
"Расстояние, км":"0.0"
}
]
}