...
Panel |
---|
borderColor | #eeeeee |
---|
bgColor | white |
---|
titleColor | white |
---|
borderWidth | 1 |
---|
titleBGColor | #7ec9f4 |
---|
borderStyle | solid |
---|
title | In this page |
---|
|
|
Insert excerpt |
---|
| _ExcerptAPICloudNextGen |
---|
| _ExcerptAPICloudNextGen |
---|
nopanel | true |
---|
|
Parameters
The endpoint accepts the following query string parameters:
...
Paging parameters in Requests (Insights Stats API) apply to this endpoint.
Requests
Request queue metrics including processed
Code Block |
---|
language | powershell |
---|
theme | Midnight |
---|
|
curl -L -X GET "https://***.api.newvoicemedia.com/stats/wfm/queue-metrics?start=2021-12-01T14:18:23.857Z&end=2021-12-11T14:18:23.857Z&include=Processed" \
-H "Authorization: bearer <ACCESS_TOKEN>" \
-H "Accept: application/vnd.newvoicemedia.v3+json" |
Request page 2 of queue metrics
Code Block |
---|
language | powershell |
---|
theme | Midnight |
---|
|
curl -L -X GET "https://***.api.newvoicemedia.com/stats/wfm/queue-metrics?start=2021-12-01T14:18:23.857Z&end=2021-12-11T14:18:23.857Z&page=2" \
-H "Authorization: bearer <ACCESS_TOKEN>" \
-H "Accept: application/vnd.newvoicemedia.v3+json" |
Request queue metrics for QueueA and QueueB
Code Block |
---|
language | powershell |
---|
theme | Midnight |
---|
|
curl -L -X GET "https://***.api.newvoicemedia.com/stats/wfm/queue-metrics?start=2021-12-01T14:18:23.857Z&end=2021-12-11T14:18:23.857Z&queues=QueueA,QueueB" \
-H "Authorization: bearer <ACCESS_TOKEN>" \
-H "Accept: application/vnd.newvoicemedia.v3+json" |
Request queue metrics for Virtual queues only
Code Block |
---|
language | powershell |
---|
theme | Midnight |
---|
|
curl -L -X GET "https://***.api.newvoicemedia.com/stats/wfm/queue-metrics?start=2021-12-01T14:18:23.857Z&end=2021-12-11T14:18:23.857Z&queueType=Virtual" \
-H "Authorization: bearer <ACCESS_TOKEN>" \
-H "Accept: application/vnd.newvoicemedia.v3+json" |
Responses
Responses to the GET /wfm/queue-metrics
return a collection of Queue Metrics items for the specified time period. Results are sorted by the time that interactions entered queues and then queue name in ascending order.
...