REST API - Comment - Case Reference - GET
This table summarizes the REST API - comment - case reference - GET.
Request
Format |
GET <baseurl>/audit/comment/case/<caseReference> |
Path Parameters | caseReference. The reference to the case object. Whenever a case object is created, a unique case reference is also created. Providing the case reference provides access to the case data object. You can obtain case references using findAllCases. |
Query Parameters |
|
Response
JSON | Returns a JSON representation of the content of the getCommentAuditResponse element. |
XML | Returns the content of the getCommentAuditResponse element (from the EventCollectorReportService schema). |
Example
Request |
GET <baseurl>/audit/comment/case/BDS-1-com.example.sample.EmployeeInfo-1-0 |
Response |
{ "xml-fragment": { "endPosition": 1, "startPosition": 0, "totalItems": 1, "reference": { "caseRef": { "reference": "BDS-1-com.example.sample.EmployeeInfo-1-0" } }, "comment": { "id": 6522, "creationTime": "2016-04-11T10:59:46.077Z", "componentId": "EC", "messageId": "EC_COMMENT_CASE", "severity": "AUDIT", "message": "Case Comment", "priority": "MEDIUM", "correlationId": "f407ffb6-1679-4fda-8126-c3c36a59b02f", "contextId": "f407ffb6-1679-4fda-8126-c3c36a59b02f", "messageCategory": "GLOBAL_DATA", "principalId": "tibco-admin", "principalName": "tibco-admin", "managedObjectId": "BDS-1-com.example.sample.EmployeeInfo-1-0", "managedObjectType": "AUDIT_COMMENT", "managedObjectVersion": -1, "extendedMessage": "This is a case." } } } |
Copyright © Cloud Software Group, Inc. All rights reserved.