GetURIResource method: Message class

Syntax

GetURIResource([index])

Description

Use this method to retrieve the URI for the representational state transfer (REST) resource based on the specified index.

Parameters

Parameter Description

index

Corresponds to the row number in the URI grid of the REST Resource Definition section of the service operation definition.

Returns

A string.

Example

&MSG = CreateMessage(Message.WEATHERSTATION_GET);
&DOC = &MSG.GetURIDocument();

&STR = &MSG.GetURIResource(2);