List variables for a process instance

GET {{baseUrl}}/process-instances/:processInstanceId/variables?scope=nisi laboris cupidatat mollit&type=true&offset=nisi laboris cupidatat mollit&count=nisi laboris cupidatat mollit

List the variables for a process instance.

Request Params

KeyDatatypeRequiredDescription
scopestringscope
typebooleanOnly return variables of given variable data type.
offsetstringStart position value in the list of items, used for pagination.
countstringNumber of items to be limited in the response, used for pagination. By default the count value is set to 10.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"content":[[{"encryption":false,"links":{"empty":true},"name":"SampleVariable","scope":"local","type":"string","value":{}},{"encryption":false,"links":{"empty":false},"name":"SampleVariable","scope":"local","type":"string","value":{}}],[{"encryption":false,"links":{"empty":true},"name":"SampleVariable","scope":"local","type":"string","value":{}},{"encryption":false,"links":{"empty":false},"name":"SampleVariable","scope":"local","type":"string","value":{}}]],"links":{"empty":false}}