タスク・コメントの追加

post

/tasks/{id}/comments

タスクにコメントを追加します。

リクエスト

サポートされているメディア・タイプ
  • application/json
本文パラメータ
本文パラメータはcommentStrです
ルート・スキーマ: /paths/~1tasks~1{id}~1comments/post/parameters/0/schema
application/jsonの例

{
    "commentStr":"This is a new comment"
}

レスポンス

サポートされているメディア・タイプ
  • application/json
  • application/xml
200 レスポンス
成功
本文
ルート・スキーマ: /paths/~1tasks~1{id}~1comments/post/responses/200/schema
application/jsonの例

{
    "levels":0,
    "links":[
        {
            "href":"http://example.com/bpm/api/3.0/tasks/200000",
            "length":0,
            "rel":"back"
        },
        {
            "href":"http://example.com/bpm/api/3.0/tasks/200000/comments",
            "length":0,
            "rel":"self"
        }
    ],
    "comment":[
        {
            "commentStr":"This is my first comment",
            "updatedBy":"John Steinbeck",
            "userId":"jstein",
            "updateddDate":"2015-03-24 00:55:28"
        }
    ]
}