Get All Reports #
Gets a list of all reports configured in a specific workspace. Once a list of all reports has been retrieved, it can be execute and data retrieved using a specific reportId.
GET /v1.0/workspaces/{WORKSPACE_ID}/reports
Example #
This request will get a list of all reports configured within the specified workspace.
Request #
GET https://api.na.myreports.cloud/api/v1.0/workspaces/00000000-0000-0000-0000-000000000001/reports HTTP/1.1
Authorization: Bearer {TOKEN}
Response #
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: xx
{
"page_size": 3,
"page_index": 0,
"data": [{
"id": "00000000-0000-0000-0000-000000000001",
"name": "Call List (Segmented)"
}, {
"id": "00000000-0000-0000-0000-000000000002",
"name": "Calls by Queue Name"
}, {
"id": "00000000-0000-0000-0000-000000000003",
"name": "Calls by User"
}
],
"status": "success",
"timestamp": "2019-05-01T10:00:00.2890319Z"
}
Errors #
Unauthorized #
When the token is not provided, invalid or expired
HTTP/1.1 401 Unauthorized