REST API - getProcessInstanceReport
The table summarizes the REST API - getProcessInstanceReport.
Request
Format |
GET <baseurl>/audit/report/proc_inst/<reference> |
Path Parameters | reference: identifies the instance ID whose events you want to audit. Can be obtained from listProcessInstances, queryProcessInstances or queryProcessInstancesAlt. |
Query Parameters |
|
Response
JSON | Returns a JSON representation of the content of the getProcessInstanceAuditResponse element. |
XML | Returns the content of the getProcessInstanceAuditResponse element (from the EventCollectorReportService schema). |
Example
Request |
GET <baseurl>/audit/report/proc_inst/pvm:0a122 |
Response |
{
"xml-fragment":
{
"endPosition": 7,
"startPosition": 0,
"totalItems": 7,
"entry":
[
{
"creationTime": "2014-02-11T11:00:21.837Z",
"componentId": "BX",
"messageId": "BX_INSTANCE_PROCESS_STARTED",
"severity": "AUDIT",
"message": "Process Instance started.",
"priority": "MEDIUM",
"correlationId": "",
"messageCategory": "PROCESS_INSTANCE",
"principalId": "tibco-admin",
"principalName": "tibco-admin",
"managedObjectId": "pvm:0a122",
"managedObjectName": "WelcomeUsers",
"managedObjectVersion": "1.0.0.201402111100",
"parentObjectId": "pvm:0a112",
"additionalAttributes":
{
"attribute":
[
{
"@type": "base:StringEntryAttribute",
"attributeId": 271,
"attributeName": "parentProcessInstanceId",
"type": "STRING",
"value": " "
},
.
.
.
}
}
],
"processInstanceRef":
{
"instanceId": "pvm:0a122"
}
}
}
|
Copyright © Cloud Software Group, Inc. All rights reserved.