Configuring REST Request Payload - Configuring REST Request Payload - To configure the REST Request Payload in your connector, you can use the Edit Variable Mapping dialog box that is displayed when you open the requestPayload property from the connector's Properties pane. - Content Innovation Cloud - Hyland Automate Modeler - Current/Hyland-Automate-Modeler/bhg9286206204589 - Current - Current

Hyland Automate Modeler

Platform
Content Innovation Cloud
Product
Hyland Automate Modeler
Release
Current
License
ft:lastPublication
2026-11-02T23:02:36.222215
ft:locale
en-US

To configure the REST Request Payload in your connector, you can use the Edit Variable Mapping dialog box that is displayed when you open the requestPayload property from the connector's Properties pane.

You can easily configure the Request Payload in the Value tab of the Edit Variable Mapping box.

The selected option of the Request Payload Content Type is based on the requestHeaders value. Basing on that selection, the editor displayed in the Value tab is different.

requestHeaders value Content Type Pre-Selection Editor in Value Tab
"content-type": "application/octet-stream" binary File Selection Input
"content-type": "multipart/form-data" form-data Key-Type-Value Editor
any other "content-type" or none raw JSON Editor

Using the Key-Type-Value Editor (form-data Content Type) to Configure REST Request Payload

The dialog box displays a list of properties, each of which has a key, type, and a value. The value is always required. To add a new property, use the + button next to the Property title.

The following property types are available:

Value Type Value Required Description
Text No

A plain text input. The the value is stored as a string.

File Yes

A process variable drop-down menu, with only available variables of type content and array of content.

  • Set contentType to auto to use the MIME type detected for the selected file when a MIME type is available.

  • Set contentType to a valid MIME type, such as text/xml or application/xml, when the target REST service requires an explicit file-part content type.

If a MIME type is not available, or if the manual value is not recognized as a valid MIME type, the connector sends the multipart file part without an explicit content type header.

For multipart REST requests that send files, use contentType with auto to use the detected file MIME type, or provide a valid MIME type value when the receiving service requires a specific type for the XML file part.

Variable Yes A process variable drop-down menu, with all available variables types except content and array of content.

Using the Binary Editor to Configure REST Request Payload

You can select variables from a drop-down menu where only the process variables with the type of content are displayed.

When using binary uploads, you can enable Automatic file type recognition. When enabled, Studio Modeler detects the file type automatically. When disabled, the file is treated as a generic binary file (.bin).

Using the JSON Editor to Configure REST Request Payload

You can manually enter the required properties into the JSON Editor. You can also open it in the expression dialog by clicking the blue button in the lower right corner.