RESTMessageV2 - setStringParameter(String name, String value)

Set a REST message function variable with the specified name from the REST message record to the specified value.

XML reserved characters in the value are converted to the equivalent escaped characters. Use setStringParameterNoEscape to set a variable without escaping XML reserved characters.

Table 1. Parameters
Name Type Description
name String The name of the REST message variable. This parameter must be defined in the REST message record before you can assign a value to it.
value String The value to assign the variable.
Table 2. Returns
Type Description
var sm = new sn_ws.RESTMessageV2("Yahoo Finance","get"); //Might throw exception if message doesn't exist or not visible due to scope.