REST API - getChart
The table summarizes the REST API - getChart.
Request
Format |
POST <baseurl>/audit/chart/get |
Body | ChartQuery element (required): This element (from the EventCollectorReportService schema defines the chart query. |
Response
JSON | Returns a JSON representation of the content of the getChartResponse element. |
XML | Returns the content of the getChartResponse element (from the EventCollectorReportService schema). |
Example
Request |
POST <baseurl>/audit/chart/get |
Request Body |
{
"ChartQuery": {
"filter": "processTemplateName=\"InitiateClaim'",
"area": "PROCESS_INSTANCES",
"group": "userID",
"category": {
"attribute": "status",
"type": "COUNT"
}
}
}
|
Response |
{ "xml-fragment": { "categories": { "category": [ "Offered", "Allocated", "Completed" ] }, "data": [ { "group": "None", "dataset": { "value": [ 10, 0, 0 ] } }, { "group": "User1", "dataset": { "value": [ 0, 6, 4 ] } }, { "group": "User2", "dataset": { "value": [ 0, 6, 5 ] } }, { "group": "User3", "dataset": { "value": [ 0, 2, 7 ] } } ] } } |
Copyright © Cloud Software Group, Inc. All rights reserved.