PostAnalyticsUsersDetailsQuery and agent activity

Hello. I'm using the analytics API to get details on agent activity using PostAnalyticsUsersDetailsQuery(). I'm getting back details but what I'm also looking to see when the agent was spending time in an activity that is configured in the Activity Codes in Workforce Management. Will PostAnalyticsUsersDetailsQuery() retrieve that information as well or do I need to gather that information some other way? For example if they set up an activity code of "Offsite - Unavailable" will that show up in the return from PostAnalyticsUsersDetailsQuery()?

Thank you.

Hello,

No, the PostAnalyticsUsersDetailsQuery only includes information about the presence and the routing status of users.
See here for info on presence and routing status.

I don't have experience with Workforce Management (at all...) but I would assume that what you are looking for should in the Workforce Management API (maybe checking/retrieving historical adherence - but I can't say for sure as I haven't practiced WFM on Genesys Cloud so far).

Regards,

Thanks. I was afraid you were going to say that. As far as I can tell to get that data out of WFM requires a user context and the app that I'm working on will be running as an Azure function that will run on a timer. So it won't have someone logging in to execute it.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.