Skip to main content
POST
/
process-instance
/
{id}
/
variables
/
{varName}
/
data
curl --request POST \
--url http://{host}:{port}/{contextPath}/process-instance/{id}/variables/{varName}/data \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: multipart/form-data'
This response does not have an example.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The id of the process instance to retrieve the variable for.

varName
string
required

The name of the variable to retrieve.

Body

multipart/form-data

For binary variables a multipart form submit with the following parts:

data
file | null

The binary data to be set. For File variables, this multipart can contain the filename, binary value and MIME type of the file variable to be set Only the filename is mandatory.

valueType
enum<string> | null

The name of the variable type. Either Bytes for a byte array variable or File for a file variable.

Available options:
Bytes,
File

Response

Request successful.