Hi,
We used /api/v2/routing/queues/${input.queueID}/users?routingStatus=${input.routingStatus} to check if there are agents in the queue.
Now that API request is being deprecated so we have to use /api/v2/routing/queues/{queueId}/members instead. But in that one the total value is missing so my check isn't working anymore.
With the users API request at the bottom we get:
],
"pageSize": 25,
"pageNumber": 1,
"total": 1,
"firstUri": "/api/v2/routing/queues/56bba769-e06f-47f1-aeb0-16378cffc4ca/users?pageSize=25&pageNumber=1&routingStatus=Idle",
"selfUri": "/api/v2/routing/queues/56bba769-e06f-47f1-aeb0-16378cffc4ca/users?pageSize=25&pageNumber=1&routingStatus=Idle",
"lastUri": "/api/v2/routing/queues/56bba769-e06f-47f1-aeb0-16378cffc4ca/users?pageSize=25&pageNumber=1&routingStatus=Idle",
"pageCount": 1
}
With the members API request we get:
],
"pageSize": 25,
"pageNumber": 1,
"firstUri": "/api/v2/routing/queues/56bba769-e06f-47f1-aeb0-16378cffc4ca/members?pageSize=25&pageNumber=1&routingStatus=Idle",
"selfUri": "/api/v2/routing/queues/56bba769-e06f-47f1-aeb0-16378cffc4ca/members?pageSize=25&pageNumber=1&routingStatus=Idle"
}
Maybe I missed something and there is another way to check if agents are actually in the queue. Otherwise it would be nice to have the total value back again.
BR,
Rob