Get Task Variable (Binary)
GET/task/:id/variables/:varName/data
Retrieves a binary variable from the context of a given task. Applicable for byte array and file variables. The variable must be visible from the task. It is visible from the task if it is a local task variable or declared in a parent scope of the task. See documentation on visiblity of variables.
Request
Responses
- 200
- 400
- 404
Request successful. For binary variables or files without any MIME type information, a byte stream is returned. File variables with MIME type information are returned as the saved type. Additionally, for file variables the Content-Disposition header will be set.
Variable with given id exists but is not a binary variable.See the Introduction for the error response format.
Variable with given id does not exist. See the Introduction for the error response format.