Complete a task with taskId and optional variables. Returns the task.
PATCH {{tasklistApiBaseUrl}}/v1/tasks/:taskId/complete
Complete a task with taskId
and optional variables
Request Body
{"variables"=>[{"name"=>"some name", "value"=>"string value"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"\u003cstring\u003e","name":"\u003cstring\u003e","taskDefinitionId":"\u003cstring\u003e","processName":"\u003cstring\u003e","creationDate":"\u003cstring\u003e","completionDate":"\u003cstring\u003e","assignee":"\u003cstring\u003e","taskState":"COMPLETED","formKey":"\u003cstring\u003e","processDefinitionKey":"\u003cstring\u003e","processInstanceKey":"\u003cstring\u003e","dueDate":"\u003cdateTime\u003e","followUpDate":"\u003cdateTime\u003e","candidateGroups":["\u003cstring\u003e","\u003cstring\u003e"],"candidateUsers":["\u003cstring\u003e","\u003cstring\u003e"]}