Create an xml document that contains all monitor rules for an application. This document conforms to the structure required by the Deployment package to include rules in a zpk.
Note that this action returns an unusual xml format and does not conform to the rest of the API in terms of structural conformity. The XSD for validating the document is provided in the appendices at the end of the document
Also note that this action returns only an XML output - it is not allowed to return a JSON format and an 406 error will be returned for a JSON output request.
Version: 1.3
Required Permissions: Full
HTTP method: GET
Supported by Editions: Zend Server
Request Parameters:
Parameter |
Type |
Required |
Description |
applicationId |
Integer |
No |
Application to retrieve rules for. Default: Global rules |
retrieveGlobal |
Boolean |
No |
Indicates if to retrieve a combined list of application specific rules and global rules. Default: TRUE. |
Possible Action Specific Error Codes:
HTTP Code |
Error Code |
Description |
406 |
outputTypeLimited |
This action does not have a JSON formatted response. |
|
Request (headers removed for the purpose of clarity)
Response (not all headers are shown)
|