License SOAP: Difference between revisions

(Created page with 'Zimbra Network edition requires a license per installation. Admin Console provides the UI to allow admin to install the license through com_zimbra_license admin extension. The fo…')
 
No edit summary
Line 4: Line 4:
  urn:zimbraAdmin
  urn:zimbraAdmin
-----------------------------
-----------------------------
 
<pre>
<InstallLicenseRequest>
<InstallLicenseRequest>
   <content aid="{attach-upload-id}"/>
   <content aid="{attach-upload-id}"/>
Line 11: Line 11:
<InstallLicenseResponse validFrom="date-in-ms" validUntil="date-in-ms"
<InstallLicenseResponse validFrom="date-in-ms" validUntil="date-in-ms"
serverTime="date-in-ms"/>
serverTime="date-in-ms"/>
 
</pre>
--------
--------
 
<pre>
<GetLicenseRequest/>
<GetLicenseRequest/>


Line 34: Line 34:
     counting can be initiated by creating an account, use of a Network feature,
     counting can be initiated by creating an account, use of a Network feature,
     or by sending CheckLicense Request.
     or by sending CheckLicense Request.
</pre>

Revision as of 06:26, 15 December 2010

Zimbra Network edition requires a license per installation. Admin Console provides the UI to allow admin to install the license through com_zimbra_license admin extension. The following soap commands are used in the license extension:


urn:zimbraAdmin

<InstallLicenseRequest>
  <content aid="{attach-upload-id}"/>
</InstallLicenseRequest>

<InstallLicenseResponse validFrom="date-in-ms" validUntil="date-in-ms"
serverTime="date-in-ms"/>

<GetLicenseRequest/>

<GetLicenseResponse>
   <license>
      <attr name="{item}">{value}</attr>
   </license>

   <info>
      <attr name="{item}">{value}</attr>
   </info>
</GetLicenseResponse>

  - info element block contains the current usage.  the current number of
    accounts is returned in n="TotalAccounts".  current server time is
    returned in n="ServerTime".

  - The value of TotalAccounts can be -1 which indicates the account counting
    still in progress and the server does not have the count.  The account
    counting can be initiated by creating an account, use of a Network feature,
    or by sending CheckLicense Request.
Jump to: navigation, search