Example:
Request:
GET /ZendServerManager/Api/getSystemInfo
Response:
<?xml version="1.0" encoding="UTF-8"?>
<zendServerAPIResponse xmlns="http://www.zend.com/server/api/1.0">
<requestData>
<apiKeyName>angel.eyes</apiKeyName>
<method>getSystemInfo</method>
</requestData>
<responseData>
<systemInfo>
<status>OK</status>
<edition>
ZendServerClusterManager
</edition>
<zendServerVersion>6.0.1</zendServerVersion>
<supportedApiVersions>
application/vnd.zend.serverapi+xml;version=1.0,
application/vnd.zend.serverapi+xml;version=1.1,
application/vnd.zend.serverapi+xml;version=2.0
</supportedApiVersions>
<phpVersion>5.4.1</phpVersion>
<operatingSystem>Linux</operatingSystem>
<serverLicenseInfo>
<status>OK</status>
<orderNumber>ZEND-ORDER-66</orderNumber>
<validUntil>Sat,
31 Mar 2012 00:00:00 GMT</validUntil>
<serverLimit>0</serverLimit>
</serverLicenseInfo>
<managerLicenseInfo>
<status>serverLimitExceeded</status>
<orderNumber>ZEND-ORDER-66</orderNumber>
<validUntil>Sat,
31 Mar 2012 00:00:00 GMT</validUntil>
<serverLimit>10</serverLimit>
</managerLicenseInfo>
<messageList />
</systemInfo>
</responseData>
</zendServerAPIResponse>
An example response for the same request sent
to a Zend Server
Community Edition Machine would be:
<?xml version="1.0" encoding="UTF-8"?>
<zendServerAPIResponse xmlns="http://www.zend.com/server/api/1.0">
<requestData>
<apiKeyName>angel.eyes</apiKeyName>
<method>getSystemInfo</method>
</requestData>
<responseData>
<systemInfo>
<status>OK</status>
<edition>
ZendServerCommunityEdition
</edition>
<zendServerVersion>6.0.1</zendServerVersion>
<supportedApiVersions>
application/vnd.zend.serverapi+xml;version=1.0,
application/vnd.zend.serverapi+xml;version=1.1,
application/vnd.zend.serverapi+xml;version=2.0
</supportedApiVersions>
<phpVersion>5.4.1</phpVersion>
<operatingSystem>Linux</operatingSystem>
<serverLicenseInfo>
<status>notRequired</status>
<orderNumber
/>
<validUntil
/>
<serverLimit>0</serverLimit>
</serverLicenseInfo>
<managerLicenseInfo>
<status>notRequired</status>
<orderNumber
/>
<validUntil
/>
<serverLimit>0</serverLimit>
</managerLicenseInfo>
<messageList />
</systemInfo>
</responseData>
</zendServerAPIResponse> |