Hi,
I am trying to use the function getRoutingQueueWrapupcodes with the Code Authorization Grant. But the answer is:
In the settings of my application, I have added
- routing
- routing: readonly
If someone can help me ..
Regards
Hi,
I am trying to use the function getRoutingQueueWrapupcodes with the Code Authorization Grant. But the answer is:
In the settings of my application, I have added
If someone can help me ..
Regards
Hello,
The routing:queue:view permission is to be added to your user (the user account you are using in your Authorization Code Grant flow).
The permission is assigned to the user via a role.
About people and permissions
The scope is something that you can enable (Enabling OAuth scope enforcement) that will limit access to the API (the user must have the permissions first - the scope will filter/limit the API a user can have access to via the OAuth client).
"OAuth Scopes are a way to limit an application’s access to an individual user or Genesys Cloud organization’s data. Rather than granting complete access to a user or organization’s account, it is often useful to give applications a way to request a more limited scope of what they are allowed to do on behalf of a user or non-user application. Scopes are a way to control access and help the OAuth client authorizer identify the specific areas and functionality they are granting to the application."
See OAuth scopes for more details.
Regards,
Hi David,
Quick comment. The error is specifically related to divisions. Did you check to make sure that user and role are assigned to the division that the resource belongs to? (e.g. the queue)
Thanks,
John Carnell
Manager, Developer Engagement
Hello,
As I wrote above:
"The routing:queue:view permission is to be ADDED TO YOUR USER (the user account you are using in your Authorization Code Grant flow).
The permission is assigned to the user via a role."
Code Authorization (like Token Implicit Grant) involves a user context - a user entering his credentials.
The permission is to be added at the user level.
In Genesys Desktop - Admin - People & Permissions - People: select your user (the one that you are using in the authentication/authorization process to make this API call).
Go to the Roles tab and enable the role (that contains the permission you need), with the necessary divisions assigned (at least the one your queue belongs to).
Regards,
Ok, solved
thanks Jerome.
regards
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.