Add value to a RESTwithUS variable. The variable can be in operation headers, URL parameters, JSON request/response body, etc.
Text - Specifies the path to JSON node in XPath syntax. E.g. write / for a root node, /customer/phones for a phones node in customer object. Use empty value for adding operation specific variables used in URL parameters or headers.Text - Specifies the name of the variable.Variant - Specifies the value, that will be added to the variable.//Add value to the id variable used in URL parameters or request headers
APIScriptRWU.ADD_VARIABLE('','id',1);
//Add value to the id variable used in customer/id node
APIScriptRWU.ADD_VARIABLE('/customer/id','id',1);