Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:d-sdk:7_reports:5_export_report_group [2018/04/27 00:36] (current)
support@geliossoft.ru created
Line 1: Line 1:
 +====== Export of Group Report ======
 +The request is intended to export a group report to a file.
  
 +=== Request Example ===
 +<code php>&​svc=export_report_group&​params={
 +    "​id_group":​ integer,
 +    "​from":​ timestamp,
 +    "​to":​ timestamp,
 +    "​report_type":​ string,
 +    "​export_type":​ string,
 +    "​language":​ string
 +}</​code>​
 +
 +=== Parameters ===
 +^ Parameter ​  ^ Description ​  ^
 +| id_group | Unique Group 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.