The REST
type is used to pass data between the workflow and REST Server agent.
Field | Description |
---|---|
| This field contains information related to internal processing errors. |
| This field contains the request from the client application to the REST server agent. |
| This field contains the response from the REST Server agent to the client application. In the event of an internal error scenario, this field may contain the suggested response from the REST Server agent to the client application. |
The nested UDR types of REST are described below.
Request
Field | Description |
---|---|
authentication |
(Authentication |
(REST)) | This field contains the OAuth 2.0 access token details and the basic authentication credentials. Includes the |
body |
(bytearray) | This field contains the HTTP message body. |
clientHost |
(string) | This field contains the client IP. |
clientPort |
(int) | This field contains the client port. |
contextID |
(long) | This field contains the context ID |
headerFields |
(map<string,list<string>>) | This field may contain an HTTP header. The header fields are stored as key-value pairs. |
httpMethod |
(string) | This field must contain the HTTP method. |
pathParams |
(list<string>) | This field may contain HTTP path parameters.
|
|
Note! If there is a trailing slash at the end of the URI there will be no empty string segment in pathParams representing the string after slash (e.g. URI /test/ contains only one segment: "test"). This is how it appears: |
queryParams |
(map<string,list<string>>) | This field may contain HTTP query parameters. |
requestedUri |
(string) | This field contains a requested URI. |
Response
Field | Description |
---|---|
| This field contains the HTTP message body. |
| This field may contain an HTTP header. The header is stored as key-value pairs. |
| This field contains the response code from the server. |
Tip | |
---|---|
title | Hint! When the When the |
AccessToken
Field | Description |
---|---|
clientname (string) | This field contains the name of the client provisioned for the access token by the authentication server. |
expirationTime (long) | This field contains the expiration time of the access token. |
jwtRawData (string) | This field contains the raw data, including the access token. |
scope (list<string>) | This field contains a list of scopes authorized for the client to use. |
username (string) | This field contains the username of the client. |
BasicAuth
Field | Description |
---|---|
password (string) | This field contains the password of the client. |
username (string) | This field contains the username of the client. |
Error
Field | Description |
---|---|
| This field contains an internal error code. 200 - Ok 400 - Bad Request 401 - Unauthorised 404 - Not Found 408 - Request Timeout 500 - Internal Server Error |
description (string) | This field contains the description of the error code. |
...