dkprado | 2018-08-15 18:09:57 UTC | #1
Can I expand 2 lists in the /api/v2/quality/evaluations/query REST query? I mean, does the expand list takes two values, (ie: expand=agent,evaluator) ?
https://api.mypurecloud.com/api/v2/quality/evaluations/query?pageNumber=1&pageSize=1&evaluatorUserId=xxxxxxxxx&startTime=2018-08-13T00:00:00.000Z&endTime=2018-08-15T00:00:00.000Z&isReleased=true&expandAnswerTotalScores=true&expand=evaluator
Thanks
tim.smith | 2018-08-15 20:16:54 UTC | #2
Take a look at the documentation for this API.
dkprado | 2018-08-15 20:49:29 UTC | #3
Ok, I see it takes an array. What I don't see is how to pass this array list in the cURL GET structure. But thanks for the reply.
tim.smith | 2018-08-15 20:53:08 UTC | #4
Use commas. e.g. expand=1,2
dkprado | 2018-08-15 21:03:32 UTC | #5
Ok, that's funny. expand=agent works. expand=evaluator also works. But when I put them together, expand=agent,evaluator, I get none. I just wanted to make sure I'm not doing it wrong. Maybe this should be a case for the support?
Thanks Tim.
system | 2018-09-15 21:15:51 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: 3377