The monitorCountIssuesByPredefinedFilter Web API Method
Count the number of issues according to a particular filter or customized filter list.
The response is a list of issue elements with their general details and event-groups identifiers.
Version: 1.3
Required Permissions: Read-only
HTTP method: GET
Supported by Editions: Zend Server
Request Parameters:
Parameter |
Type |
Required |
Description |
filterId |
String |
Yes |
The predefined filter's name. This parameter is case-sensitive |
filters |
Array |
No |
Add filter parameters in an ad-hoc manner. These filters will be added to the predefined filter that was passed. This parameter is an array with a predefined set of parameters that accept strings or arrays to hold multiple values:
|
Expected Response Code: 200 OK. For more information see Response Format.
Response Format: Response successful message or error message
Possible Action Specific Error Codes:
HTTP Code |
Error Code |
Description |
404 |
noSuchFilterId |
The requested filter does not exist |
Example
|
RequestGET/ZendServer/Api/monitorCountIssuesByPredefinedFilter?filterId=All+Issues Response<?xml version="1.0" encoding="UTF-8"?><zendServerAPIResponse xmlns="http://www.zend.com/server/api/1.3"><requestData><apiKeyName><![CDATA[Admin]]></apiKeyName><method>monitorGetIssuesListPredefinedFilter</method></requestData><responseData><totalCount>2</totalCount></responseData></zendServerAPIResponse> |