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

UCCX - HTTP POST

faizanelahi
Level 1
Level 1

Hello,

I am working on a script where we need to collect information about calling number and send it to external server.

I went through many posts in community forums with no luck. Unfortunately, Make Rest Call step is not working. Giving error in UCCX application page.

So I have tried with HTTP request. Upon debugging with reactive script, i am getting error at Send HTTP Response. Can someone please share a working example of how to send a HTTP POST from the UCCX script?

Thank you.

2 Replies 2

What error are you getting with the Make Rest Call ?

This is have I use it (with get - but just change it to post)

ThomasGJohannesen_0-1664183175778.png

RestUrl : String with http://xxx

Rest_body : String

rest_response: string

rest_statusCode : string

rest_statusDetail : string

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

Thomas, I am getting below error at the Make Rest Call step.

faizanelahi_0-1664367507429.png

Below is my make rest call properties.

faizanelahi_1-1664367580438.png

API - "http://x.x.x.x/api/services/app/Account/GetUserByPhoneNumber"

Thank you in advance.