chrcaes
September 11, 2020, 12:22pm
1
Hi,
Are there any possibility to pass multiple channel vars to ARI on the same URI?
For example I tried this but doesnt works:
/ari/channels/(id_channel)/variable?variable=var1&value=value1&variable=var2&value=value2
Only changes me last variable passed on string.
Some ideas?
Thx in advance
jcolp
September 11, 2020, 12:26pm
2
The API only currently allows a single variable.
chrcaes
September 14, 2020, 6:44am
3
Hi jcolp,
Thanks for respones. And do you know if I can declare a varaible that contains 2 variables and pass 2 values into one or something like that?
for example:
var3 = var1 + var2
Then:
/ari/channels/(id_channel)/variable?variable=var3&value=hi+my%20name%20is%20Jhon
And result:
var1= hi
var2 = my name is Jhon
jcolp
September 14, 2020, 9:41am
4
I don’t know what you mean exactly. The API itself accepts a string, how that string is constructed in your own ARI application it doesn’t care. I don’t believe you can use channel variable identifiers in it.
system
Closed
October 14, 2020, 9:41am
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.