Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: marmota on April 14, 2020, 10:12:48 AM
-
Hi guys. Can you please recommend how I can send variable (set at IRD strategy) to Web server with GET method.
I set variable (testVar = Orig[]), then put Web service function where I set Web Service URL (let's say ...sampleAPI.php) and then I need to add testVar value to URL (...sampleAPI.php?ANI=testVar)
How can I do that? Do I have to put any specual char to add testVar value?
-
You need to pass that only on the QueryString parameters?
In that case, using the Cat function would be enough.
Let's assume you have a variable called v_ReqURI:
v_ReqURI = Cat['...sampleAPI.php?ANI=', testVar]
And then place that variable as the destination of the webservice call on the General tab -> Location -> Web Service URL.
-
Thanks! Works =)