REST API - Comment - Work Item Id - GET
This table summarizes the REST API - comment - work item Id - GET.
Request
| Format |
GET <baseurl>/audit/comment/workitem/<workitemid> |
| Path Parameters | workitemid. identify the work item whose events you want to audit. Can be obtained from getWorkListItems. |
| 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/workitem/4 |
| Response |
{
"xml-fragment": {
"endPosition": 1,
"startPosition": 0,
"totalItems": 1,
"reference": {
"workItemRef": {
"idReference": {
"workItemId": 4
}
}
},
"comment": {
"id": 75,
"creationTime": "2016-03-22T13:36:30.993Z",
"componentId": "EC",
"messageId": "EC_COMMENT_WI",
"severity": "AUDIT",
"message": "WorkItem Comment",
"priority": "MEDIUM",
"correlationId": "787da535-c654-4774-96dd-8a952efa5c7b",
"contextId": "787da535-c654-4774-96dd-8a952efa5c7b",
"messageCategory": "WORK_ITEM",
"principalId": "tibco-admin",
"principalName": "tibco-admin",
"managedObjectId": 4,
"managedObjectType": "AUDIT_COMMENT",
"managedObjectVersion": -1,
"parentObjectId": "pvm:0a123",
"applicationActivityInstanceId": "pvm:001ij",
"extendedMessage": "This is a work item"
}
}
}
|
Copyright © 2022. TIBCO Software Inc. All Rights Reserved.
