cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1027
Views
15
Helpful
1
Replies

UCCX 12.5 Finesse workflow HTTP request / response

mthijssen
Level 1
Level 1

Hello,

 

We want to do the following:

- When an call arrives open an HTTP url;

 

Content type: application/JSON

url: https://example/user/callid

body:

{
"phoneNumber": "${fromAddress}"
}

 

the API will send an response.

Can we display the response in Finesse with the default workflow features or do we need to programm an custom gadget for this?

The API will send an 

 

1 Accepted Solution

Accepted Solutions

Gerry O'Rourke
Spotlight
Spotlight

Yes - this is very possible to do and not that difficult.

The built in workflows in Finesse is not the way to do this - as they are for just firing off a request but cannot deal with responses etc.

 

But you can create a custom gadget - and there is a very good sample gadget which will get you a lot of the way there.

 

Check out the "External Rest API Sample Gadget"

https://developer.cisco.com/docs/finesse/#!sample-gadgets/sample-gadgets

 

Direct link:

https://github.com/CiscoDevNet/finesse-sample-code/blob/master/ExternalRestApiSampleGadget/ExternalRestApiSampleGadget-Finesse-11.0.1-v1.0.zip

 

(note for Finesse versions above 11 - you just use the Finesse 11 version).

 

Regards,

Gerry

View solution in original post

1 Reply 1

Gerry O'Rourke
Spotlight
Spotlight

Yes - this is very possible to do and not that difficult.

The built in workflows in Finesse is not the way to do this - as they are for just firing off a request but cannot deal with responses etc.

 

But you can create a custom gadget - and there is a very good sample gadget which will get you a lot of the way there.

 

Check out the "External Rest API Sample Gadget"

https://developer.cisco.com/docs/finesse/#!sample-gadgets/sample-gadgets

 

Direct link:

https://github.com/CiscoDevNet/finesse-sample-code/blob/master/ExternalRestApiSampleGadget/ExternalRestApiSampleGadget-Finesse-11.0.1-v1.0.zip

 

(note for Finesse versions above 11 - you just use the Finesse 11 version).

 

Regards,

Gerry