Differences
This shows you the differences between two versions of the page.
en:d-sdk:7_reports:2_get_list_new_reports [2018/04/26 20:09] support@geliossoft.ru created |
en:d-sdk:7_reports:2_get_list_new_reports [2021/07/07 13:28] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Reports List ====== | ||
- | The request is intended to get list of reports. | ||
- | === Request Example === | ||
- | <code php> &svc=get_list_new_reports¶ms={ | ||
- | "new_report_general_user":integer, | ||
- | } | ||
- | </code> | ||
- | === Parameters === | ||
- | ^ Parameter ^ Description ^ | ||
- | | new_report_general_user | List of user's general reports | | ||
- | |||
- | === Additional Information === | ||
- | Parameter new_report_general_user is optional. When specified, the system receives additional standard reports (default reports) for this user. | ||
- | If you do not specify it the request receives only the list of reports created by user. | ||
- | |||
- | === Server Response === | ||
- | == Result: == | ||
- | <code php>[ | ||
- | { | ||
- | "id": 1843, // Report ID | ||
- | "creator": 10650, // Report Creator | ||
- | "name": "Route Statistics", // Report Name | ||
- | "data": "{\"tables\":[ | ||
- | {\"name\":\"\\u0421\\u0442\\u0430\\u0442\\u0438\\u0441\\u0442\\u0438\\u043a\\u0430\",\"logic\":\"route_stat\",\"grouping\":\"no\",\"all\":\"false\",\"columns\": | ||
- | [ | ||
- | {\"type\":\"on_route\",\"name\":\"\\u0412\\u044b\\u0448\\u043b\\u0438\"}, | ||
- | {\"type\":\"not_on_route\",\"name\":\"\\u041d\\u0435 \\u0432\\u044b\\u0448\\u043b\\u0438\"}, | ||
- | {\"type\":\"leave_route\",\"name\":\"\\u041e\\u0442\\u043a\\u043b\\u043e\\u043d\\u0438\\u043b\\u0438\\u0441\\u044c\"} | ||
- | ] | ||
- | } | ||
- | ]}", // Report Data | ||
- | "type": "routes" // Report Type | ||
- | }, | ||
- | ... | ||
- | ]</code> |