RESTMessageV2 - setEccParameter(String name, String value)

Override a value from the database by writing to the REST message payload. This method only applies to REST messages sent through a MID Server.

Use this method when a value from the REST message in the database is invalid, such as when the endpoint URL is longer than the maximum REST endpoint field length.You can set only the endpoint URL using this method by passing source as the name parameter.

Table 1. Parameters
Name Type Description
name String The name of the parameter, such as source.
value String The value to assign to the specified parameter.
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.