OverrideURIResource method: Message class

Syntax

OverrideURIResource(string)

Description

Use this method on the subscribing node (the consumer) to override the URI template portion of the generated URL for a REST-based transaction.

Parameters

Parameter Description

string

Specifies the URI to be added to the base URL to generate the full URL to the REST-based resource.

Returns

None.

Example

&MSG = CreateMessage(Operation.QE_WEATHERSTATION_CONSUME_GET);
&MSG.OverrideURIResource("WeatherStation.v1/weather/Washington");