Call Center Queueing Services
#
Create InteractionIn order to initiate a call via the Diyalog servers, the API detailed below is expected to be prepared.
#
Request URI#
Request MethodPOST
#
RequestSample Request:
`
Details of the fields in the above request are given below.
Field Name | Type | Definition |
---|---|---|
customerId | String | In this field, the number of the customer whose call will be initiated will be transmitted to the service. |
attachedData | Object Array | In this field, a json object array containing a string value containing the information that the developers want to transmit via the mobile client will be transmitted. |
When the main mobile application wants to initiate a call and send some specific information to the call via the Diyalog Mobile SDK, it will be able to use the attachedData field. This attachedData will be completely transparent for Diyalog and Diyalog will pass this information to the call queue initiation API. The call queue API will be able to receive this information about the call and transfer the desired routing and information to the call based on this information.
For example, for a scenario such as a customer having a primary or secondary portfolio manager in your system and routing the call to these portfolio managers first, a request can be made with attachedData as below and routing can be done in your queue system according to the information in this request.
In this request, Genesys queues can be directed by looking at the values ​​of the "PrimaryProjectManagerId" and "SecondaryProjectManagerId" fields in the attachedData while starting the interaction.
#
ResponseDetails of the fields in the response above are given below.
Field Name | Type | Definition |
---|---|---|
success | Boolean | Gives information about whether the interaction was created successfully. It is expected to return true or false. |
errorMessage | Option[String] | If the interaction creation fails, the error-related detailed message is returned in this field. It is a string value. If the interaction is successful, there is no need to return this field. |
result | Object | A json object containing the intreactionId information is expected to be returned. |
#
Delete InteractionWith this API, if the call is not received by any agent while the customer is waiting and the customer cancels the wait, the created interaction is expected to be canceled. In this case, if the created interaction has not been forwarded to the agent, it will be deleted and should not be forwarded to any agent.
#
Request URI#
Request MethodDELETE
To delete a call, the interactionId of the interaction you want to delete will be added to your API service URL and a request will be sent using the REST DELETE method.