The REST
type is used to pass data between the workflow and REST Server agent.
Field | Description |
---|---|
error (Error(REST)) | This field contains information related to internal processing errors. |
request (Request(REST)) | 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 accessToken (AccessToken(REST)) and basicAuth (BasicAuth(REST)) udrs. | ||||||||||
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.
| ||||||||||
queryParams (map<string,list<string>>) | This field may contain HTTP query parameters. | ||||||||||
requestedUri (string) | This field contains a requested URI. |
Response
Field | Description |
---|---|
body (bytearray) | This field contains the HTTP message body. |
headerFields (map<string,list<string>>) | This field may contain an HTTP header. The header is stored as key-value pairs. |
httpResponseCode (int) | This field contains the response code from the server. |
Tip | ||
---|---|---|
| ||
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 |
---|---|
code (int) | This field contains an internal error code. |
description (string) | This field contains the description for the error code. |