Guillaume_Leveque | 2020-03-23 15:24:04 UTC | #1
Hello,
I try to get all evaluations of a specific user (i have his userId) since the beginning of the month (March 1st).
I tried this API route : /api/v2/quality/evaluations/query On the API Explorer : https://developer.mypurecloud.ie/developer-tools/#/api-explorer With :
- pageSize : 50
- pageNumber : 1
- userAgentId : mySpecificAgentId
- startTime : 2020-03-01T00:00:00.000Z
So my requestData is : get /api/v2/quality/evaluations/query?pageSize=50&agentUserId=XXXXXXXXXXX&startTime=2020-03-01T00%3A00%3A00.000Z
Response data is OK but return only one result, since on the evaluator's page, there is a lot more results. Page i use : https://apps.mypurecloud.ie/directory/#/engage/quality/admin/evaluators/AVALUATOR_ID.
How is this possible ? How can i get the full evaluations result.
Thank you.
tim.smith | 2020-03-23 17:15:41 UTC | #2
The query you're using is probably different from what the UI is doing. Look in the dev tools in your browser to inspect the exact API request it's making and compare with yours.
If you believe that the API isn't returning data that it should be, please open a case with Genesys Cloud Care to investigate as customer data cannot be investigated via this public forum.
Guillaume_Leveque | 2020-03-24 07:40:07 UTC | #3
Hi Tim,
Thank you for your answer. The only difference is that in the UI, the query used is filtering by evaluatorUserId which gives me a lot of results with all the evaluations of one particular agent (the one that i want to look into). And when i try to use the same route but with a different filter (agentUserId), api gives me only one result.
I'll follow your advice and open a case.
Have a good day.
system | 2020-04-24 07:40:10 UTC | #4
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: 7391