Query Incidents Summary
example

Example HTTP request

Retrieve a summary report of Rest Application incidents.
Request method and path
POST /incidents/summary
Request body
{ "filter": { "filterType": "booleanLogic", "booleanOperator": "AND", "filters": [ { "filterType": "long", "operandOne": { "name": "messageTypeId" }, "operator": "IN", "operandTwoValues": [ 48, 49 ] }, { "filterType": "booleanLogic", "booleanOperator": "AND", "filters": [ { "filterType": "string", "operandOne": { "name": "restCommonDatatype" }, "operator": "EQ", "operandTwoValues": [ "DAR" ] } ] } ] }, "orderBy": [ { "field": { "name": "restCommonApplication" }, "order": "ASC" } ], "groupBy": { "outerSummary": "restCommonApplication", "innerSummary": "incidentStatusId" }, "page": { "type": "offset", "pageNumber": 1, "pageSize": 100 } }

Example HTTP response

Response 200
{ "summary":{ "outerSummary":[ { "summary":"restCommonApplication", "total":49, "high":49, "low":0, "innerSummary":[ { "summary":"incidentStatusId", "total":49, "high":49, "low":0, "med":0, "matches":67, "value":1, "info":0 } ], "value":"securlet.box", "med":0, "matches":67, "info":0 }, { "summary":"restCommonApplication", "total":2, "high":2, "low":0, "innerSummary":[ { "summary":"incidentStatusId", "total":2, "high":2, "low":0, "med":0, "matches":8, "value":1, "info":0 } ], "value":"securlet.googledrive", "med":0, "matches":8, "info":0 }, { "summary":"restCommonApplication", "total":68, "high":68, "low":0, "innerSummary":[ { "summary":"incidentStatusId", "total":68, "high":68, "low":0, "med":0, "matches":135, "value":1, "info":0 } ], "value":"securlet.office365onedrive", "med":0, "matches":135, "info":0 } ], "total":119, "high":119, "low":0, "med":0, "matches":210, "info":0 } }