Web API Reference Guide > Available API Methods > Monitor Methods > The monitorGetEventGroupDetails Method

The monitorGetEventGroupDetails Method

Retrieve an events list object identified by an events-group identifier. The events-group identifier is retrieved from an Issue element's data.

Version: 1.2

Required Permissions: Read-only

HTTP method: GET

Supported by Editions: Zend Server

Request Parameters:  

Parameter

 Type

Required

Description

eventsGroupId

Integer

Yes

Events group identifier, provided in the eventsGroup element. Note that for backwards compatibility you may also submit an “eventGroupId” parameter and it will be accepted on ZS6.x

issueId

Integer

Yes

This parameter was removed due to redundancy and is no longer used in either WebAPI 1.2 or 1.3 on ZS6.x

Expected Response Code: 200 OK. For more information see Response Format.

Response Format: Response successful message or error message

Possible Action Specific Error Codes: This action has no specific error codes

Example

Usage Example

Request

GET /ZendServer/Api/monitorGetEventGroupDetails?eventsGroupId=1

Content-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>monitorGetEventGroupDetails</method>

</requestData>

<responseData>

<eventsGroupDetails>

<issueId>1</issueId>

<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>

<event>

<eventsGroupId>134</eventsGroupId>

<type>PHP Error</type>

<description>.....</description>

<superGlobals>

<get>

<parameter>

<name>all</name>

<value>.....</value>

</parameter>

<parameter>

<name>php_warn</name>

<value>1</value>

</parameter>

.

.

.

</get>

<post></post>

<cookie>

<parameter>

<name>ZDEDebuggerPresent</name>

<value>.....</value>

</parameter>

.

.

</cookie>

<session></session>

<server>

<parameter>

<name>HTTP_USER_AGENT</name>

<value>Wget/1.12 (linux-gnu)</value>

</parameter>

<parameter>

<name>HTTP_ACCEPT</name>

<value>*/*</value>

</parameter>

.

.

.

.

<parameter>

<name>REQUEST_TIME</name>

<value>1315396868</value>

</parameter>

</server>

</superGlobals>

<severity>normal</severity>

<backtrace>

<step>

<number>0</number>

<object></object>

<class></class>

<function>bt_generator</function>

<file>/var/www/test.php</file> <line>293</line>

</step>

</backtrace>

</event>

<codeTracing><![CDATA[10.2.555]]></codeTracing>

</eventsGroupDetails>

</responseData>

</zendServerAPIResponse>

 

Read Also

  Available API Methods    
  Monitor Methods