CloudStreams 10.5 | webMethods CloudStreams | Administering webMethods CloudStreams | Cloud Connections, Services, and Connector Listeners | REST Parameters | Parameter Types | URI_CONTEXT
 
URI_CONTEXT
URI_CONTEXT parameters are passed as the path component of a REST resource URI, and the parameter names correspond to the URI path variable names specified in the {} annotation.
Example
A sample request is as follows:
services/async/25.0/job/{jobId}
In the above sample request, the URI path variable name jobId is specified as a parameter to the job resource. The annotation {} is set to the variable name jobId. At service run-time, the variable is substituted with it's runtime value to form the dynamic path.
A sample resource definition with URI_CONTEXT parameter is as follows:
<resource name="Job" method="POST" path="services/async/25.0/job/{jobId}">
<parameters>
<parameter name="jobId" isRequired="true" style="URI_CONTEXT"/>
</parameters>
</resource>