Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: cavagnaro on September 06, 2017, 12:42:40 PM
-
Hi guys,
Quick question...can we attach data via URS HTTP interface? Rest API?
If so, how?
I know, will check URS docs later but don't have access right now and need a fast light
Enviado de meu E6633 usando Tapatalk
-
Try this:
http://IP:PORT/urs/call/connid/update?sync=1&key1=value1&key2=value2...
-
Nice!! Thanks Kubig! [emoji16] fast answer and solution at customer meeting
Enviado de meu E6633 usando Tapatalk
-
:'( Will not work as in our scenario the call doesn't go through URS, is a manual Outbound call...When tested this, URS didn't know about the ConnID created on TServer only...
Any suggestion?
-
If URS doesn't see the interaction then you can try method trek - sending "raw" trequest - (analog of strategy function SendRequest).
Method need to specify tserver (or switch), event=name of request to send as seen in logs), Attributes names also as is (but with cut off "Attribute" prefix).
Something like
http://host:port/urs/trek/exec?tserver=MyTServer&ThisDN=2202&event=RequestUpdateUserData&ConnID=033902a8fb644019&UserData.abc=StringData&UserData.{d}xxx=557
Just one thing - by default method trek (sending arbitrary trequest through web) is disabled. You will need set URS methods in section http to all (by default it is all-trek), http/methods=all
-
I could kiss you right now, you know?? I opened an eSR and told me there was no way...
:-X
Thanks again!