Reports List

The request is intended to get list of reports.

Request Example

 &svc=get_list_new_reports&params={
    "new_report_general_user":integer,
}

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:
[
     {
        "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
    },
    ...
]