I am a developer and one of my internal teams needs my help in extracting all possible data from purecloud.
I learned using the Analytics Post API it is possible thanks to Ronan
"message": "Unable to perform the requested action. You are missing the following permission 'analytics:queueObservation:view' in the provided division(s).",
"code": "missing.division.permission",
"status": 403,
What and whom do i need to request the required access? I assume this will prevent me from using python script also?
You'd need admin privileges to create an OAuth client.
What and whom do i need to request the required access? I assume this will prevent me from using python script also?
The OAuth client needs to have the analytics:queueObservation:view permission to call that API. You can ask your organization admin to add the required permissions to the OAuth client.
Overall I need help in setting an API call using python script (but to learn i was trying to use postman) can somebody please guide?
My answer to this forum post shows how to use a similar analytics API. The best thing to do is use the analytics query builder to build the queries you'll be sending and then translate it to python.
These are environment variables you would set in your environment containing your Oauth Client Credential Id and OAuth Client Credential Secret. These values are defined in the Genesys Cloud UI. Instructions for setting up the OAuth Client can be found here.
Thanks,
John Carnell
Manager, Developer Engagement