Add a Task Comment

post

/tasks/{id}/comments

Adds a comment to a task.

Request

Supported Media Types
  • application/json
Body Parameter
Body parameter is commentStr
Root Schema : /paths/~1tasks~1{id}~1comments/post/parameters/0/schema
Example application/json

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

Response

Supported Media Types
  • application/json
  • application/xml
200 Response
Success
Body
Root Schema : /paths/~1tasks~1{id}~1comments/post/responses/200/schema
Example 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"
        }
    ]
}