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.
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).
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.
//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
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.
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.
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?
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