REST API - Comment - Case Reference

This table summarizes the REST API - comment - case reference.

Request

Format
POST <baseurl>/audit/comment/case/<caseReference>
Path Parameters caseReference: The reference to the case object. You can obtain case references using findAllCases.
Query Parameters parentid: (Optional): The audit ID returned in the CommentResponse element in response to a previous request.
Body comment element (required): This element (from the EventCollectorUpdateService schema defines the chart query.

Response

JSON Returns a JSON representation of the content of the CommentResponse element.
XML Returns the content of the CommentResponse element (from the EventCollectorUpdateService schema).

Example

Request
POST <baseurl>/audit/comment/case/BDS-1-com.example.ordermodel.Order-1-0
Request Body
{
  "Comment": { "message": "This is a case reference" }
}
Response
1686