Differences
This shows you the differences between two versions of the page.
en:d-sdk:7_reports:6_export_report [2018/04/26 20:41] support@geliossoft.ru created |
en:d-sdk:7_reports:6_export_report [2021/07/07 13:28] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Export of Unit Report ====== | ||
- | The request is intended to export report on unit. | ||
- | === Request Example === | ||
- | <code php>&svc=export_report¶ms={ | ||
- | "id_unit": integer, | ||
- | "from": timestamp, | ||
- | "to": timestamp, | ||
- | "report_type": string, | ||
- | "export_type": string, | ||
- | "language": string | ||
- | }</code> | ||
- | |||
- | === Parameters === | ||
- | ^ Parameter ^ Description ^ | ||
- | | id_unit | Unique Unit ID | | ||
- | | from | Start time of report | | ||
- | | to | End time of report | | ||
- | | report_type | Report type | | ||
- | | export_type | Export Type | | ||
- | | language | Language | | ||
- | |||
- | === Additional Information === | ||
- | The request exports report to a file with the specified type: export_type. | ||
- | |||
- | Report_type('unit_source' ⇒'Initial data', 'unit_movement' ⇒ 'Report on trips', 'unit_stay' ⇒ 'Parking report', 'unit_movement_stay' ⇒ 'Report on trips and parkings', 'unit_conn' ⇒ 'Lost Connection Report'). | ||
- | |||
- | Export_type - pdf, xlsx, html. | ||
- | |||
- | === Server Response === | ||
- | The result is a report file. |