Method
PUT
Parameters
Request Body
For variables of type File
the value has to be submitted as Base64 encoded string.
|type|The value type of the variable.
|valueInfo| A JSON object containing additional, value-type-dependent properties.
For serialized variables of type Object
, the following properties can be provided:
- objectTypeName: A string representation of the object's type name.
filename: The name of the file. This is not the variable name but the name that will be used when downloading the file again.
- mimetype: The MIME type of the file that is being uploaded.
transient: Indicates whether the variable should be transient or not. See documentation for more informations.
Result
Response Codes
Example 1
PUT
Response
Status 204. No content.
Example 2
PUT /process-instance/aProcessInstanceId/variables/aVarName
{
"value" : "
", a b "type" : "Object",
"objectTypeName": "com.example.MyObject",
"serializationDataFormat": "application/xml"
}