View a report run data
Request data of the report run:
GET /api/v2/reports/<report-id>/<run-id>/data.json
How to get the latest report data?
To get the latest run for particular report, use latest
identifier for run-id
, like:
GET /api/v2/reports/<report-id>/latest/data.json
Example of response:
{
"rows": [
{
"name": "SUMMARY",
"count_calls": 230,
"minutes_total": 1200,
"n_rows": 5,
"row_type": "summary"
},
{
"name": "Administrators",
"group_id": "28d20df6-b84f-11ed-ac6d-1207ffee24c3",
"group_name": "Administrators",
"count_calls": 4,
"minutes_total": 20,
"row_type": "group_calls"
},
{
"name": "Claims & Warranty Operations",
"group_id": "aa1f91a8-b84f-11ed-ac6d-1207ffee24c3",
"group_name": "Claims & Warranty Operations",
"count_calls": 146,
"minutes_total": 758,
"row_type": "group_calls"
},
{
"name": "Dealer Support and Customer Care",
"group_id": "ad1185f6-b84f-11ed-bf7f-1207ffee24c3",
"group_name": "Dealer Support and Customer Care",
"count_calls": 48,
"minutes_total": 252,
"row_type": "group_calls"
},
{
"name": "Home Office",
"group_id": "afef22c4-b84f-11ed-ac6d-1207ffee24c3",
"group_name": "Home Office",
"count_calls": 14,
"minutes_total": 75,
"row_type": "group_calls"
},
{
"name": "Performance Centre",
"group_id": "b39e05de-b84f-11ed-bf7f-1207ffee24c3",
"group_name": "Performance Centre",
"count_calls": 18,
"minutes_total": 95,
"row_type": "group_calls"
}
]
}