alialjohani | 2018-10-29 13:10:33 UTC | #1
Hello Everyone,
I have data action with Genesys API to get user's extension that is working fine.
However, when this is consumed from a click button inside script, it seems not working !!
Any idea what the cause of the issue is?
Best Regards, Ali
alialjohani | 2018-10-29 12:29:43 UTC | #2
Hello Everyone,
The issue is related for permissions. After I give the agent Admin role, the button works perfectly.
What is the required permission for /api/v2/users/{userId}? Because I do not want to assign for this agent the admin role.
Best Regards, Ali
Jason_Mathison | 2018-10-29 13:15:49 UTC | #3
I would guess that the agents need the "integrations->action->Execute" permission. The data action runs as the Client Credential that you configured for the integration, not the user that is executing the action.
--Jason
alialjohani | 2018-10-30 07:25:54 UTC | #4
Hello Jason,
Thank you for your feedback. You are right, but I think I need to have also "integrations -> action -> View".
However, what is the minimum license for these permissions? Should the license be listed beside the permission?
Best Regards, Ali
Jason_Mathison | 2018-10-30 19:36:41 UTC | #5
As far as I can tell a PureCloud 1 license should be enough. Were you having problems with some of your agents?
system | 2018-11-30 19:40:08 UTC | #6
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 3840