Method

PUT

Parameters

Request Body

A JSON object with the following properties:

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 for more informations.

Result

This method returns no content.

Response Codes

Example 1

Response

Status 204. No content.

Example 2

PUT /case-execution/aCaseExecutionId/localVariables/aVarName

  1. {
  2. "value" : "ab",
  3. "type" : "Object",
  4. "objectTypeName": "com.example.MyObject",
  5. "serializationDataFormat": "application/xml"
  6. }

Response

Status 204. No content.