09-27-2017 01:28 AM - edited 03-15-2019 06:32 AM
Morning
My company are currently looking at trying to build an in-house ATP application so that we can move away from an external provider. I have been asked to look into whether or not a UCCX script will be able to capture key tones and upload them to a webpage to confirm customer data and payment, ie account number/payment ammounts. I have been trying to research this online and have not come up with anything so was wondering if anyone else has managed to have a script that runs like this.
Thanks
09-27-2017 03:33 AM
Hi, The short answer is yes, UCCX can collect the Customer account number etc and process on it (like passing it as parameter to HTTP (GET and POST )requests).
09-27-2017 04:51 AM
09-27-2017 05:13 AM
I or anyone else cant help on scripting unless we have the exact requirement.
So Please let us know the call flow what you are looking for exactly and in what formet and what parameters you want to pass to the website etc.
09-27-2017 05:39 AM
09-27-2017 06:51 AM
//I am wanting the script to capture the payment amount and the card number as parameters and again uploaded to the web app.//
This is too generic statement, Can you try to work with your devloper and work on try to come up with request and response structure for your web application you are planning the data to?
There are ceratin standerd on dealing with HTTP operation as below
https://www.w3schools.com/TagS/ref_httpmethods.asp
And also there are also ways HTTP reponse can be given back to client. so you have nailed down what the HTTP request looks like and what the successful response will also look like and later we can decide the best way to use the steps in UCCX script to do that operation.
09-27-2017 07:09 AM
09-28-2017 04:46 PM
10-05-2017 01:58 AM
That might not be the correct way to do that but i am not sure what did you speak to your developer about and using what method (HTTP GET or POST) you are invoking the web service and whats the Request/Response formate (XML/JSON/Multipart etc).
Please explore the Make Rest Call step available in uccx script editor and see if its helpful.
10-09-2017 05:32 AM
Thanks,
I am now looking at using the rest call to interact with the API. my developer has asked for me to send a JSON file as a get to the API to check for the user account and then will respond with a JSON true or false as to whether the accout exsists.
I have added a variable for a document, and this will be used as the body sent to API.
would this be a better method?
09-27-2017 01:04 PM
What? I'm not sure I understand your use case, can you break it down a bit more. What do you mean capture key tones?
david
09-28-2017 12:51 AM
By capture tones, I mean that when the prompt asks for the account number, when the keys on the phone are pressed, UCCX will capture it as a parameter and upload it to the app and wait for a response to if the account number is valid.
If I receive a valid response, I will ask for payment amount, capture the amount entered as a parameter and again send to the app, same for card number.
this is a potential replacement to a 3rd party payment line
10-04-2017 11:42 PM
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