Add a Task Comment
post
/tasks/{id}/comments
Adds a comment to a task.
Request
Supported Media Types
- application/json
Body parameter is commentStr
Root Schema : schema
Example Request (application/json)
{
"commentStr":"This is a new comment"
}
Response
Supported Media Types
- application/json
- application/xml
200 Response
Success
Root Schema : schema
Example Response (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"
}
]
}