REST API - Comment - Case Class - GET
This table summarizes the REST API - comment - case class - GET.
Request
| Format |
GET <baseurl>/audit/comment/case/<classname>/<majorversion>/<managedobjectid> |
| Path Parameters |
|
| 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/com.example.sample.EmployeeInfo/1/1 |
| Response |
{
"xml-fragment": {
"endPosition": 1,
"startPosition": 0,
"totalItems": 1,
"reference": {
"caseRef": {
"caseDetails": {
"className": "com.example.sample.EmployeeInfo",
"majorVersion": 1,
"managedObjectId": 1
}
}
},
"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 © 2022. TIBCO Software Inc. All Rights Reserved.
