Cloud Application Integration (On-Premises) : Administering CloudStreams : Creating Custom Cloud Connectors : Configuring Custom REST Cloud Connectors : Understanding 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. For example, a sample request might look like this:
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:
<resource name="Job" method="POST" path="services/async/25.0/job/{jobId}">
<parameters>
<parameter name="jobId" isRequired="true" style="URI_CONTEXT"/>
</parameters>
</resource>
Copyright © 2015- 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback