Update a Task
put
/tasks/{id}
Updates the task with the specified ID.
Request
Supported Media Types
- application/json
- application/xml
Query Parameters
- action
-
Action performed - ESCALATE, ACQUIRE, RELEASE, WITHDRAW, SUSPEND, RESUME, DELETE, PURGE, RENEW, or a custom action
Body Parameter
Body parameter is taskid
Object:
Root Schema : /paths/~1tasks~1{id}/put/parameters/1/schema
Example application/json
{
"action":{
"id":"DELEGATE"
},
"identities":[
{
"id":"jlondon",
"type":"user"
},
{
"id":"jlondon",
"type":"user"
}
]
}
Response
Supported Media Types
- application/json
- application/xml
200 Response
Success
Body
Object:
Root Schema : /paths/~1tasks~1{id}/put/responses/200/schema
Example application/json
{
"updatedDate":"2015-06-01 03:21:39",
"priority":1,
"startDate":"2015-05-26 11:58:59",
"assignedDate":"2015-06-01 03:21:39",
"createdDate":"2015-05-27 00:41:41",
"ownerUser":"cdickens",
"creator":"jstein",
"actionList":[
{
"actionType":"System",
"rel":"self",
"title":"CREATE_TODO",
"href":"http://example.com/bpm/api/3.0/tasks/200021?action=CREATE_TODO"
},
{
"actionType":"System",
"rel":"self",
"title":"VIEW_TASK",
"href":"http://example.com/bpm/api/3.0/tasks/200021?action=VIEW_TASK"
},
{
"actionType":"System",
"rel":"self",
"title":"VIEW_TASK_HISTORY",
"href":"http://example.com/bpm/api/3.0/tasks/200021?action=VIEW_TASK_HISTORY"
}
],
"number":200021,
"links":[
{
"rel":"back",
"href":"http://example.com/bpm/api/3.0/tasks/"
},
{
"rel":"self",
"href":"http://example.com/bpm/api/3.0/tasks/200021"
}
],
"hasSubTasks":false,
"title":"myTodoTaskTestingV3",
"history":{
"rel":"self",
"href":"http://example.com/bpm/api/3.0/tasks/200021/history"
},
"type":"task",
"comments":{
"rel":"self",
"href":"http://example.com/bpm/api/3.0/tasks/200021/comments"
},
"dueDate":"2015-07-26 11:58:59",
"fromUserDisplayName":"Jack London",
"payload":{
"rel":"self",
"href":"http://example.com/bpm/api/3.0/tasks/200021/summaryField"
},
"attachments":{
"rel":"self",
"href":"http://example.com/bpm/api/3.0/tasks/200021/attachments"
}
}