Add a Task Comment
post
/tasks/{id}/comments
Adds a comment to a task.
The following tables summarize the client request.
Supported Media Types
- application/json
Body Parameter
Body parameter is commentStr
Example application/json
{
"commentStr":"This is a new comment"
}
The following tables summarize the server response.
Supported Media Types
- application/json
- application/xml
200 Response
Success
Body
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"
}
]
}