IlyaVarela | 2019-09-20 17:25:03 UTC | #1
I use the api function: /api/v2/quality/evaluations/query to query all evaluations from a specific "agentUserId" and I need to get only from a specific range of "ConversationDate". The api give me the chance of filter by "ReleaseDate" or "ChangedDate" (I'm not sure about that), but I need to filter by "ConversationDate"
Can anyone help me?
jakenewby | 2019-09-23 21:37:33 UTC | #2
Hello, IlyaVarela
What you are attempting is not possible from the /api/v2/quality/evaluations/query endpoint alone. In order to get the data you need, you'll need to take up to two steps.
step #1: Get the evaluationIds from the conversation details analytics query. Try using the analytics query builder to make this a lot easier. The response will give you the following fields for the evaluations:
evaluationId, evaluatorId, userId, eventTime, queueId, formId, contextId, formName, calibrationId, oTotalScore, and oTotalCriticalScore.
If the conversation details record doesn't contain the evaluation data you were looking for, continue to step 2.
step #2: expand the evaluationIds you got back from the analytics query via the /api/v2/conversations/{conversationId}/evaluations/{evaluationId} endpoint
system | 2019-10-24 21:40:39 UTC | #3
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: 6071