MarceloDuran | 2018-05-17 13:41:39 UTC | #1
Please I need that you help with this issue: In the integration between the internal system and PureCloud the following method of the API is used to enter the wrap-up code of an interaction:
/ api / v2 / conversations / {conversationId} / participants / {participantId}
After this method, the following is called to disconnect the current interaction and allow it to enter the next interaction:
/ api / v2 / conversations / {conversationId} / disconnect
The execution of this sequence has allowed us to carry out the desired integration, in the sense that it can be typify in only one place and we can interact again with the next interaction, but for the schedule callback event first use the next method:
/ api / v2 / conversations / {conversationId} / participants / {participantId} / callbacks
This in order to schedule a callback, the next step is run the method to register the wrap up code and the Disconnect. But the Disconnect method close completely the interaction, this actions eliminate any scheduled callback . If we do not use the disconnect after scheduling the interaction does not close that causes differences of the wrap-up codes.
We need an API method that allows to run schedule callbacks correctly, after, update the wrap-up code, and finaly that the interaction be closed for the next interaction.
tim.smith | 2018-05-17 13:57:04 UTC | #2
You could try using POST /api/v2/conversations/callbacks.
MarceloDuran | 2018-05-17 14:55:58 UTC | #3
thanks Tim, I try with that method but I need to send the schedule callback to the same participant and I need to close the interaction with wrap-up code
tim.smith | 2018-05-17 15:04:48 UTC | #4
I need to send the schedule callback to the same participant
Set the routingData.preferredAgentIds property when you create the callback.
I need to close the interaction with wrap-up code
Nothing is preventing you from applying a wrap up code to the previous conversation.
system | 2018-06-17 15:04:48 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: 2878