Patch Scored Agent for Waiting Interaction

Hello together,

I am trying to delete the scored agent of an conversation with: PATCH /api/v2/routing/conversations/{conversationId}.

{
"requestScoredAgents":
[]
}

The interaction is waiting in a queue with configured Preferred Agent Routing.
But each time i get the following Error message:

{
"message": "Conversation does not have a routing rule configured. Cannot update scored agents.",
"code": "bad.request",
"status": 400,
"messageWithParams": "Conversation does not have a routing rule configured. Cannot update scored agents.",
"messageParams": {},
"contextId": "2221495d-348f-4239-8741-96bfeea21a36",
"details": [],
"errors": []
}

I also tried just to change the scored agent but it also fails.
Does somebody have an idea why this fails each time?

Thank you for your help!

Best Regards, Nils

Hello,

I don't think that updating scored agents is supported at this time.
The description of the PATCH /api/v2/routing/conversations/{conversationId} only mentions skillIds, languageId and priority:
"Update attributes of an in-queue conversation. Returns an object indicating the updated values of all settable attributes.
Supported attributes: skillIds, languageId, and priority.
"

Regards,

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