Can an API create an evaluation based on a list of conversation ID's?

I am totally new to API's, and currently doing research while trying to use the API explorer to poke around before I get any developers involved. Is this the correct API to be using?

I've just been sampling outputs using our form named "TestQM_Inbound" and myself as the evaluator "Brad Noon".

POST /api/v2/quality/conversations/ce87bbc7-e491-4d6b-87e9-7cd31ad7f1b8/evaluations HTTP/1.1
Host: api.usw2.pure.cloud
Authorization: Bearer **************************************************************************************
Content-Type: application/json

{"conversation":{"id":"ce87bbc7-e491-4d6b-87e9-7cd31ad7f1b8"},"evaluationForm":{"name":"TestQM_Inbound","questionGroups":[null,null]},"evaluator":{"name":"Brad Noon"}}

Reponse is:

{
"message": "Agent user is required to create an evaluation",
"code": "qm.evaluation.create.error.no.agent",
"status": 400,
"contextId": "f2f3eccb-39a1-4d0e-ac60-57684e5395f8",
"details": [],
"errors": []
}

Please open a case with Care about this. I would guess it's looking for agent.id to be set on the request body, but that property is explicitly not documented as part of the request and is not available to set in the SDKs, rendering the API endpoint unusable. Care will be able to investigate this error and file a bug for this contract to get it corrected.

Thanks Tim. I've made a request through TTEC earlier this morning to ask the same question, and I've updated them to ask Genesys Care to get a case opened to help me research/resolve the issue.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.