Add a Case Comment
post
/cases/{id}/comments
Adds a comment to a case.
Request
There are no request parameters for this operation.
Supported Media Types
- application/xml
- application/json
Root Schema : schema
Type:
objectRoot Schema : schema
Type:
objectResponse
Supported Media Types
- application/xml
- application/json
200 Response
Success
Root Schema : schema
Type:
objectExamples
The following example shows a response body when adding a comment to a case.
{
"type": "comments",
"levels": 0,
"links": [{
"rel": "back",
"href": "http://example.com/bpm/api/3.0/cases/5e4fa87f-d698-4c06-912c-79d162f4e03c"
},
{
"rel": "self",
"href": "http://example.com/bpm/api/3.0/cases/5e4fa87f-d698-4c06-912c-79d162f4e03c/comments"
}],
"comment": {
"comment": [{
"commentStr": "Testing Comments Post REST API",
"updatedBy": "jstein",
"updatedDate": "2015-06-08 14:43:08"
},
{
"commentStr": "Creating a case link",
"updatedBy": "wfaulk",
"updatedDate": "2015-06-05 17:42:51"
}]
}
}
For more information about cURL, see Use cURL