REST adapter module
The REST adapter module contains the following process.
GET process
The Get process retrieves the data from a specified URL.
Input elements for the Get process for the REST adapter
Input element | Type | Description | Required |
---|---|---|---|
<adapter name> | String | Specifies the name of the adapter Default name of the adapter is RESTAdapter | No |
<url> | String | Specifies the URL for the target page from where you want to obtain information | Yes |
<headers> | String | Specifies the header details for the adapter request in a JSON format Sample header JSON { "headers" : { "authorization" : { "type" : "basic", "user-name" : "myUser", "password" : "myPassword" } } } For more information, see Specifying header fields for the REST adapter. | No |
<return-data-format> | String | Indicates the data type for the adapter response | No |
<use-ssl-certificate> | String | Determines whether to establish a secure connection | No |
<allow-unsigned-certificate> | String | Specifies whether to allow unsigned certificates from trusted zones | No |
<install-certificate> | String | Determines whether to install certificates | No |
<passphrase> | String | Specifies the Java Standard Trust Keystore passphrase Warning
Verify the cacerts passphrase using the following command in UNIX or Linux: | No |
<character-set> | String | Specifies the supporting CharSet | No |
<user-name> | String | Specifies the user name required for basic or NTLM authentication specified in <header> | No |
<password> | String | Specifies the password corresponding to the user name specified in <header> | No |
<ntlm-authentication> | String | Indicates whether to use NTLM authentication for the target server for the specified user credentials | No |
<Content-Type> | String | Specifies the type of data format for HTTP content | No |
<signature-properties> | String | Contains the elements that specify information about the public key (X.509 certificate) and the private key that are used for the digital signature
| No |
<private-key-file> | String | Specifies the file containing the private key that is used to sign the HTTP request
| Conditional; required when<signature-properties mode="key-files"> |
<certificate-file> | String | Specifies the file containing the public key (X509 Certificate)
| Conditional; required when<signature-properties mode="key-files"> |
<private-key-data> | String | Contains an XML file specifying the private key in an Base64-encoded PEM format | Conditional; required when<signature-properties mode="key-data"> |
<certificate-data> | String | Contains an XML file specifying the public key (X509 Certificate) in an Base64-encoded PEM format | Conditional; required when<signature-properties mode="key-data"> |
<keystore-file> | String | Specifies the path to the JKS that contains the client certificate | Conditional; required when<signature-properties mode="keystore"> |
<key-password> | String | Specifies the password of the key contained in the JKS | No |
<keystore-password> | String | Specifies the password to the JKS | Conditional; required when<signature-properties mode="keystore"> |
<client alias> | String | Specifies the name of the alias in the JKS that identifies the Public Key Certificate (PKC) that the web server uses to authenticate the client | Conditional; required when<signature-properties mode="keystore"> |
<enable-redirects> | String | Specifies whether the adapter should redirect a URL request to the changed URL location | No |
<download-attachment> | String | Specifies whether the adapter should display the content of the attached file in the adapter response or save the content in a file | No |
<download-directory> | String | Specifies the full path where the attached file must be downloaded | No |
<request-timeout> | String | Specifies the time (in seconds) to wait when establishing a connection | No |
<ignore-line-break-in-response> | String | Specifies whether to ignore the line breaks while generating the adapter response If true, the line break markups are ignored and the response is returned as a single line. If false, the line break markers (if specified in the adapter response) are retained. Valid values: true (default), false | No |
Output elements for the Get process for the REST adapter
Output element | Description |
---|---|
adapter response | Contains the adapter response for the Get process |