Thank you for that!
I think the main issue was the period. The limitation of one day did not come into my mind. Where did you see it?
Also, I ran into a very interesting problem: I can generate queue membership reports within Genesys Cloud, for example with Performance / Queue Agent/ Agents , but I cannot figure a straight way to retrieving historical queue memberships via API ( list the agents which belonged to Queue1 on 3/11/24 at 12:00:00 , for example).
The two ways we are thinking of handling this:
- use routing events
a. queue membership change notifications
b. event log scan for v2.routing.queues.id.users
- query every 15 minutes with /api/v2/routing/queues/MyQueueID/users
None of them are really good and/or "pretty". Was anyone able to retrieve historical queue memberships via APIs?
------------------------------
WE PROUDLY SUPPORT UKRAINE
------------------------------
Original Message:
Sent: 03-18-2024 03:58
From: Richard Chandler
Subject: Retrieving Queue Stats in 3 minute intervals
Hi Victor,
For this you would need to use the API and the granularity option to PT3M which will split the data like below. However you will generate up to 10 times more data than using 30 minute intervals so your overall query interval will be shorter to 1 day.
In Body
"interval": "2024-01-12T00:00:00/2024-01-13T00:00:00",
"granularity": "PT3M"
In Results
"interval": "2024-01-12T12:39:00.000Z/2024-01-12T12:42:00.000Z"
------------------------------
Richard Chandler
Connect
------------------------------