cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1001
Views
2
Helpful
2
Replies

Create Task API

bschear79
Level 1
Level 1

I have a question on the Create Task API for webex contact center.

For the request body for the outboundType we have CALLBACK, OUTDIAL, and EXECUTE_FLOW as options. Under the entryPointId section it says CALLBACK would be an outdialEP and OUTDIAL would be an outboundEP. What is the distinction here? I am aware of Entry Points which are inbound and Outdial Entry Points so what is an outboundEP vs and outdialEP?

2 Replies 2

Janos Benyovszki
Cisco Employee
Cisco Employee

@bschear79 I checked it internally for you and actually here the documentation is incorrect. There is no such thing called outdialEP , even though the portal displays it currently. We only have outboundEP. For CALLBACK and OUTDIAL -> entrypointId should be outboundEP. We will work on the documentation to adjust it appropriately.

Following up on the theme of the post.

I have manage to successfully complete a create task as a Callback using the outdialEP and its showing in the reporting.

However its not routing to an agent, as the callback has no queue associated to the call.

Looking for some guidance how I can specify which queue the callback needs to be queue too.

Request Body:

{
"destination": "+61XXXXXXXX",
"entryPointId": "96d33f7a-f375-4cd4-ac5d-f17b22371fc6",
"attributes": {"id":"4e3ab52c-b9c8-48ea-8603-c9ff946a298f","name":"Brisingr Sales"},
"outboundType":"CALLBACK",
"mediaType":"telephony",
"origin":"+613XXXXXXXX",
"callback": {
"callbackOrigin": "web",
"callbackType": "immediate"
}
}

I have tried adding in the following under attributes and outside it with no luck.

"queue": {
"id":"4e3ab52c-b9c8-48ea-8603-c9ff946a298f",
"name": "Brisingr Sales",
},