We would like to get the 30 min aggregate presence of all the users using an API. Currently, User detail API job returns the presence, but the duration is not aggregated in 30 min.
We need an API that would return something like below,
User A presence duration. For instance, they are available from 11:45 am to 1:05 pm
Avaya/ Expected Result: Available
11:30 to 12:00 - 15 min
12:00 to 12:30 - 30 min
12:30 to 1:00 - 30 min
1:00 to 1:30 - 5 min
Right now, User details job API returns data like this
User Id of User A
11:30 to 12:00 - Available presence start time - 11:45 am, end time is Null
12:00 to 12:30 - Null
12:30 to 1:00 - Null
1:00 to 1:30 Available presence start time -11:45 am, end time is 1:05 pm
User Detail Aggregate API on the other hand returns the expected aggregated data, however, it requires specific user ids (100 max per query) to be included in the request which is not feasible as the contact centre agents are being added ever day/week so they will need to continuously update the API query on Synapse.
We are hoping that you can share to us other API endpoints that would return the 30 min presence aggregated result in Bulk/asynchronous without the need to manually specify user ids.
Or maybe another way that we can use the User Detail Job API to get what we need.