cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
17652
Views
16
Helpful
18
Replies

UCCX REST/JSON Post

dmotloch
Level 1
Level 1

Does anyone have an example or experience with REST/JSON post to an external webserver app (not on CCX server/cluster)?  I need to get two strings of data to a web server from my CCX application/script.

I have the MAKE REST Call setup with the url and params but it fails every time and I'm not sure how to debug it.

thanks!

18 Replies 18

Hey Stewart1126

 

This is have you post a api rest call with a body

 

 

Capture.PNG

 

Hope that helps

 

Best regards

Thomas

Please rate helpful posts and if applicable mark "Accept as a Solution".
Thanks, Thomas G. J.

I was not able to use this process with the " symbol. I received an error that this is not a valid string during reactive debug.  I am in version 12.5 using a script that was built and operational in 11.x.  Has anyone been successful in 12.x versions?

 

Thanks all

 

Did you find a solution to post JSON and I can't POST it as double quotes?

I have the same problem.. i can use something like "{'data':{'consultationNumber': "+ s_parsejsonCaseN +",'clientId': 41,'actionType': INCOMING_CALL}}" but it is not vaild for external server. if i try to use "{"data":{"consultationNumber": "00065","clientId": 41,"actionType": "INCOMING_CALL"}}" then i see that error.  Please anyone help

Genadi_0-1707482323207.png