Permissions
---- Permissions:INTEGRATOR,SUPERVISOR ----
Request Parameters
Parameter | Type | Description |
queue | number | External queue ID to link results |
intervalMinutes | number | Interval length in minutes to split the provided period into chunks. Limitation: the length must be between 1 and 24 * 60 (24 hours) |
startDate | date | Period start date in the format yyyy-MM-dd’T’HH:mm:ss.SSS’Z’ |
endDate | date | Period end date in the format yyyy-MM-dd’T’HH:mm:ss.SSS’Z’ |
HTTP Request
GET /api/v1/threads/aht?queue=1000&intervalMinutes=15&startDate=2022-02-04T07%3A59%3A05.381Z&endDate=2022-02-04T08%3A00%3A05.381Z HTTP/1.1 Authorization: Bearer <integrator_token> Host: localhost:8080
Example of a Successful HTTP Response
HTTP/1.1 200 OK Vary: Origin Vary: Access-Control-Request-Method Vary: Access-Control-Request-Headers Content-Type: application/json Content-Length: 209 [ { "aht": 100, "queue": 1000, "threadsCount": 1, "date": "2022-02-04T07:59:05.380Z" }, { "aht": 2100, "queue": 1000, "threadsCount": 2, "date": "2022-02-04T07:59:05.380Z" } ]
Response Parameters
Parameter | Type | Description |
[].aht | number | Average handling time for threads that belong to the time interval you specify |
[].queue | number | External queue ID to link the results |
[].threadsCount | number | Number of threads that belong to the time interval |
[].date | string | End date of the current interval |