Page History
...
REST Parameter Types
AdapterResponse
Multiexcerpt | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
...
|
...
Response Object of the REST adapter call.
- If the adapter had an error, the responseObject is an RESTError class. It could be the default error class or a specific error class dependent on the RESTResponseDefinition dependencies and the HTTP status code.
- If the adapter call had no error, the responseObject is the same as the response output parameter.
|
Request
Attribute | Type | Description | Allowed Values / Examples |
---|---|---|---|
queryString | String | Query string, if provided with the call. | status=in%20progress |
queryParameters | Array of Parameter | All query parameters as an array of Parameter classes containing name/value pairs. | |
body | Blob | Body of the HTTP request. | |
path | String | Path to the REST resource. | /support/supportcases/ |
pathParameters | Map | All REST parameters as a map. | |
httpHeaderMap | Map of Entry | Header information as a map. The map contains arrays of header value strings whereas the header name is the key of the map.
Refer to HTTP Header Support for more information on the standard xUML HTTP headers. |
...
Attribute | Type | Description | Allowed Values / Examples |
---|---|---|---|
headers | Array of HeaderField | All HTTP response header fields as an array of HeaderField classes containing name/value pairs. | |
statusCodehttpCode | Integer | The resulting HTTP status code. If not set explicitly using this object, the service returns 200 if no exception occurred, or 500 otherwise. | 404 |
errorObjectresponseObject | Any | Response Object of the type defined with stereotype RestErrorREST adapter call if the endpoint returns one (response output parameter). |
Request and Response Types
...