...
Parameter name | Default value | Description | Valid examples | ||||
---|---|---|---|---|---|---|---|
| This parameter contains the URL of the requested server. |
| |||||
|
| This parameter determines which method will be remotely invoked. |
| ||||
httpBody is not set) | This parameter contains the file path to a JSON file that contains the input for the server. |
| |||||
| This parameter contains the input for the server in JSON-Format. | ||||||
templatePath is not set) | This parameter contains the input for the server in JSON-Format. | ||||||
| This parameter contains the process variable into which the server response should be saved. | ||||||
| This parameter is only required if the server requires identification and contains the user name of the user. | ||||||
| This parameter is only needed if the server requires an identification and contains the user's password. | ||||||
| This parameter is only needed if the server requires identification and contains the encryption which should be applied. One possible encryption is base64, which will be applied by setting this parameter to |
| |||||
|
| This parameter describes the OAuth grant type to be used in the request. For other options please refer to: https://oauth.net/2/grant-types/ | |||||
|
| This parameter should come together with a value of Refresh Token and is used to obtain an Access Token. | |||||
authMethod == "oauth" ) | This parameter is a public identifier for the applications, i.e public exposed string that is used by the service API to identify the application. | ||||||
authMethod == "oauth" ) | This parameter is a secret known only to the OAuth application and the authorization server. It is generated by the authorization server during the process of application registration. A client has to provide its client secret to authenticate itself to the authorization server. | ||||||
authMethod == "oauth" ) | Secifies Specifies the URL from where to retrieve the OAuth token from. | ||||||
|
| If it is | |||||
| This parameter is used to add additonal additional fields to the Rest. | ||||||
| This parameter is used to add additonal additional Headers to the Rest Rest. |
| |||||
|
| Here, the Json path for a specific part of the returned Json file and a variable name under which the specific part of the Json should be saved, are entered. The variable(s) are then saved in an array named 'result'. For better understanding see examples. |
| ||||
| This parameter specifies the content type of the request. | ||||||
| Replaces all | ||||||
|
| If enabled, converts the URL to a US-ASCII string. In addition, square brackets will be ascaped escaped with their respective ASCII values. | |||||
|
| This parameter is used to convert the query parameters to a | |||||
|
| If enabled, stores the response as a note and attaches it to the current process instance. | |||||
|
| If enabled, creates a mulitpart multipart request containing all attached documents. | |||||
| This parameter adds a local file by the given path. | ||||||
| If enabled, the response gets logged out in the server log. | ||||||
|
| If enabled, the request gets logged out in the server log. | |||||
|
| This parameter can be specified as either
|
| ||||
|
| Repeat execution if there is a faulty request (if its an | |||||
|
| This parameter is used when you want to call the rest handler |
Example:
Eventtype | Node Leave |
---|---|
Actionname | com.dooris.bpm.actionhandler.HttpRestHandler |
Actionclass | com.dooris.bpm.actionhandler.HttpRestHandler |
Parameter | hostName=https://yourcompanyserver.com/rest/list/${customerList}; method=Post; postParameter={ "Company":"${customer_company}", "First Name":"${customer_firstname}", "Last Name":"${customer_lastname}", "Email":"${customer_email}",}; user=John.Doe; pass=specialPW; authMethod=basic; responseVariable=responseVar; faultTolerance=0; |
...