Legacy Dev Forum Posts

 View Only

Sign Up

GET evaluation ID using conversation ID

  • 1.  GET evaluation ID using conversation ID

    Posted 06-05-2025 18:27

    Annie_Woerner | 2023-07-18 13:52:46 UTC | #1

    Hello,

    Is there a way to get the evaluation ID using the conversation ID the eval was done on?

    Thanks.


    Eos_Rios | 2023-07-18 14:18:46 UTC | #2

    GET /api/v2/quality/evaluations/query Example;

    GET /api/v2/quality/evaluations/query?expand=evaluator&conversationId={conversationId}&expandAnswerTotalScores=true&pageNumber=1


    Annie_Woerner | 2023-07-19 19:39:45 UTC | #3

    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.REMOTEENDPOINT" } ], "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": "BADREQUEST", "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|attachment (1.2 KB)


    Eos_Rios | 2023-07-20 00:55:10 UTC | #4

    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"


    system | 2023-08-20 00:54:54 UTC | #5

    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: 21043