Hello,
Is there a way to get the evaluation ID using the conversation ID the eval was done on?
Thanks.
Hello,
Is there a way to get the evaluation ID using the conversation ID the eval was done on?
Thanks.
GET /api/v2/quality/evaluations/query
Example;
GET /api/v2/quality/evaluations/query?expand=evaluator&conversationId={conversationId}&expandAnswerTotalScores=true&pageNumber=1
Hi Eos,
Thanks for the quick reply; it was very helpful.
I am pulling this API to get the evaluation ID, then running GET /api/v2/quality/conversations/{conversationId}/evaluations/{evaluationId} to pull the attributes from the evaluation flow itself.
When I run this as an API, it works; however, when I run it within a data action, it gives me the following error:
{
"message": "The request could not be understood by the server due to malformed syntax.",
"code": "bad.request",
"status": 400,
"messageParams": {},
"contextId": "6cc7b121-6fc1-483a-a309-0d7a6ee81599",
"details": [
{
"errorCode": "ACTION.REMOTE_ENDPOINT"
}
],
"errors": [
{
"message": "REST call for action execute failed. Message: requestUrlTemplate could not be resolved into a fully qualified URL. [6cc7b121-6fc1-483a-a309-0d7a6ee81599]",
"code": "BAD_REQUEST",
"status": 400,
"messageParams": {},
"details": [],
"errors": []
}
]
}
I've attached a copy of the data action for reference. Am I doing something wrong?
Thanks!
Get-Evaluation-Form-Data-20230719153658.custom.json (1.2 KB)
I think you're using the wrong integration type, that's a generic web service interaction ( "integrationType": "custom-rest-actions") , which can't infer relative internal addresses.
You need to be using the "Genesys Cloud data action integration", which shows up in the export as a "integrationType": "purecloud-data-actions"
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.