タスクの更新

put
/tasks/{id}
指定されたIDのタスクを更新します。

次の表に、クライアント・リクエストをまとめます。

サポートされているメディア・タイプ
  • application/json
  • application/xml
問合せパラメータ
名前 説明 形式
action 実行されたアクション - ESCALATE、ACQUIRE、RELEASE、WITHDRAW、SUSPEND、RESUME、DELETE、PURGE、RENEWまたはカスタム・アクション
本文パラメータ
本文パラメータはtaskidです
application/jsonの例

{
    "action":{
        "id":"DELEGATE"
    },
    "identities":[
        {
            "id":"jlondon",
            "type":"user"
        },
        {
            "id":"jlondon",
            "type":"user"
        }
    ]
}

次の表に、サーバー・レスポンスをまとめます。

サポートされているメディア・タイプ
  • application/json
  • application/xml

200 レスポンス

成功
本文
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"
    }
}