marisa.grasso | 2021-12-14 11:42:43 UTC | #1
Hi,
I am getting the following error while attempting to switch back to the customer after consulting the agent:
{ "message": "The pending consult transfer does not exist.", "code": "conversation.error.consult.transfer.pending.not.found", "status": 404, "messageWithParams": "The pending consult transfer does not exist.", "messageParams": {}, "contextId": "4f7eb054-9a40-4289-9157-b172b44b6e9f", "details": [], "errors": [] }
I am using the following endpoint: /api/v2/conversations/calls/{conversation ID}/participants/{participant ID to replace}/consult It also fails while using the method patchConversationsCallParticipantConsult from the javascript library,
My request body:
{ "speakTo": "OBJECT" }
When I switch to the consulted agent with {"speakTo": "DESTINATION"} it works fine. But not when I want to switch to the OBJECT or customer. I am using the {participant ID to replace} variable correctly, in each case using the id of the participant to be replaced. So in the case of attempting to switch back to speaking with the customer, I used the consulted agent ID (agent nº2) as {participant ID to replace} in the URI.
Do you know what the issue could be?
Thank you
Jerome.Saint-Marc | 2022-01-04 12:15:59 UTC | #2
Hello,
Doing a test with Genesys Desktop to check what it does in case of consult, the participantId (i.e. {participant ID to replace}) to use in your PATCH request is always the customer/caller participant.
Let's say I have a call from Customer (Caller) to Agent1. Agent1 initiates a consultation call to Agent2.
If you are sending your PATCH request using an access/authorization token obtained by Agent1 (who will be the one to request to switch between participants): To speak with the customer (Agent1 and Agent2), use {participant ID to replace}=your customer's participantId + speakTo=DESTINATION To speak with the customer (Agent1 and Customer), use {participant ID to replace}=your customer's participantId + speakTo=OBJECT To speak with customer and agent2 (Agent1, Agent2, Customer), use {participant ID to replace}=your customer's participantId + speakTo=BOTH
Regards,
system | 2022-02-04 12:16:52 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: 12905