タスクの更新
put
/tasks/{id}
指定されたIDのタスクを更新します。
リクエスト
サポートされているメディア・タイプ
- application/json
- application/xml
問合せパラメータ
- action(オプション):
実行されたアクション - ESCALATE、ACQUIRE、RELEASE、WITHDRAW、SUSPEND、RESUME、DELETE、PURGE、RENEWまたはカスタム・アクション
本文パラメータはtaskidです
ルート・スキーマ: schema
リクエストの例(application/json)
{
"action":{
"id":"DELEGATE"
},
"identities":[
{
"id":"jlondon",
"type":"user"
},
{
"id":"jlondon",
"type":"user"
}
]
}
レスポンス
サポートされているメディア・タイプ
- application/json
- application/xml
200レスポンス
成功
ルート・スキーマ: schema
レスポンスの例(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"
}
}