Multiple change of channel vars ARI

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

The API only currently allows a single variable.

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

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.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.