The monitorGetIssueDetails Web API Method
Retrieve an issue's details according to the issueId passed as a parameter. Additional information about event groups is also displayed.
Version: 1.2
Required Permissions: Read-only
HTTP method: GET
Supported by Editions: Zend Server
Request Parameters:
Parameter |
Type |
Required |
Description |
issueId |
String |
Yes |
The predefined filter's id. Can be the filter's “name” or the actual identifier randomly created by the system. This parameter is case-sensitive |
limit |
integer |
No |
Limits the number of eventsGroups returned with the issue details |
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 |
noSuchIssue |
The requested issue does not exist |
Example
|
RequestGET /ZendServer/Api/monitorGetIssueDetails?issueId=1&limit=3Content-type: application/x-www-form-urlencoded Response<?xml version="1.0" encoding="UTF-8"?><zendServerAPIResponse xmlns="http://www.zend.com/server/api/1.3"><requestData><apiKeyName><![CDATA[Admin]]></apiKeyName><method>monitorGetIssueDetails</method></requestData><responseData><issueDetails><issue><id>11</id><rule>PHP Error</rule><count>1</count><lastOccurance>123412341234</lastOccurance><severity>Warning</severity><status>Open</status><hasCodetracing>false</hasCodetracing><generalDetails><url>http://localhost/test.php</url><sourceFile>/var/www/test.php</sourceFile><sourceLine>302</sourceLine><function>fopen</function><aggregationHint>18-Nov-2012 22:23</aggregationHint><errorString>Permission Denied</errorString><errorType>E_WARNING</errorType></generalDetails><whatHappenedDetails><eventsGroupId>27</eventsGroupId><eventsCount>1</eventsCount><startTime>2013-05-09T14:07:57+03:00</startTime><startTimeTimestamp>1368097677</startTimeTimestamp><serverId>0</serverId><class></class><hasCodetracing>false</hasCodetracing><userData><![CDATA[]]></userData><javaBacktrace><![CDATA[]]></javaBacktrace><execTime>0</execTime><avgExecTime>0</avgExecTime><relExecTime>0</relExecTime><memUsage>0</memUsage><avgMemUsage>0</avgMemUsage><relMemUsage>0</relMemUsage><avgOutputSize>0</avgOutputSize><relOutputSize>0</relOutputSize><load>0</load></whatHappenedDetails><appName>Wordpress</appName><appId>12<appId><routeDetails><routeDetail><key>controller</key><value>test</value><routeDetail></routeDetails></issue><eventsGroups><eventsGroup><eventsGroupId>134</eventsGroupId><eventsCount>1</eventsCount><startTime>20-Sep-2011 18:45</startTime><serverId>0</serverId><class></class><userData><![CDATA[]]></class><javaBacktrace><![CDATA[]]><javaBacktrace><execTime>0</execTime><avgExecTime>0</avgExecTime><memUsage>0</memUsage><avgMemUsage>0</avgMemUsage><avgOutputSize>0</avgOutputSize><load>0</load></eventsGroup></eventsGroups><totalCount>1</totalCount></issueDetails></responseData></zendServerAPIResponse> |