10-04-2018 05:31 AM - edited 03-01-2019 03:34 AM
Dears,
I'm trying to use the UCCX API in UCCX Editor through the "Make REST Call" in order to change a script associated with an application ("http://UCCX-IP/adminapi/application/TestingAPP").
I was able to do it successfully in SoapUI, however, I got confused about how to use the PUT method in CCX Editor.
I appreciate if anyone can advise.
Thank you in advance.
Lara
10-11-2018 01:47 AM
I got it to work, below is an example for those who may use this method in the future.
1- Use the Get Application method to get the XML code that needs to be changed and used in the Make Rest Step.
http://UCCX-IP/adminapi/application/your-uccx-application-that-needs-to-be-associated-with-another-ivr-script
2- In UCCX Editor - Make Rest Call Step, use the above URL in the URL Field.
3- In the Body field, here where to add the updated XML (the xml that has the new script to be associated with the uccx application). All what you need to do is to paste the code you get in Step #1 updated with the new IVR script. Here make sure to eliminate all spaces, all code should be on the same line.
Regards,
Lara
02-14-2019 12:01 PM
Hi Lara,
I tried the steps that you said before but without success.
Coud you please share the aef script?
I've created de script with Make REST Call just as you told.
I have a UCCX running 11.6 version.
Thanks
02-15-2019 12:47 AM
05-12-2020 05:22 AM
05-12-2020 05:41 AM
Not sure if your code does this - but be aware that SOAP 1.1 requires the SOAPAction header
While SOAP 1.2 does not.
That MIGHT be why it worked for you on SOAPUI.
I would review using wireshark etc.
https://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383534
POST /StockQuote HTTP/1.1
Host: www.stockquoteserver.com
Content-Type: text/xml; charset="utf-8"
Content-Length: nnnn
SOAPAction: "Some-URI"
Gerry
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide