I am trying to use token variables for campaigns created via the RESTAPI, I have been unsuccessful in putting multiple variable/value pairs.
Whats the correct syntax for having more than one token variable specified in the API call.
I am encountering an issue with this as well. First, the v5 version of the Survey Campaign object shows the syntax as `var%3Dvalue%26var2%3d=value`. Despite passing this as the token_variable, the token_variable remains set to null. All of the other values passed in the script work, so not sure why this one isn’t. For reference, here is the complete call I am using:
I’m not exactly certain if I follow, but the link you referenced shows an example:
https://restapi.surveygizmo.com/v4/survey/123456/surveycampaign?_method=PUT&type=link&name=New Link Name
Note that each variable/value pair looks something like this type=link or name=New Link Name. Each additional variable/value pair is separated by an &
I’m not sure if that is the answer you are looking for, but hopefully this helps.