I am working on a project where I need to identify the agents associated with specific planning groups in Genesys Cloud. I have reviewed the Planning Group API documentation and noticed that the endpoints do not directly provide the list of agents tied to a planning group.
Given that planning groups are defined by combinations of queues, media types, languages, and skills, what would be the recommended approach to programmatically determine the agents associated with a planning group?
For example:
Is there a way to cross-reference the Planning Group API with other APIs, such as the Users API, to retrieve agents who meet all the criteria (queues, skills, languages) of a planning group?
Are there any existing endpoints or workarounds that simplify this process?
I would appreciate any insights or guidance on how to achieve this. Thank you for your support!
From looking at the documentation, it appears the way to go about this would be to cross reference the queueId associated with your planning group with /api/v2/routing/queues/{queueId}/members to get the agents, while also using get/api/v2/users/{userId} to filter for the skills and languages you've set in your planning group.
If a planning group is made up of more than one set of queues, language and skill sets, forecasts only display the combined values for the planning group, and the schedule generation process look for agents who can handle the entire planning group, not individual pieces of it.
No, the agent is accounted for once. If i'm understanding you right