Updating the Information of a Reseller

Syntax:

Arguments:

The parameters to be passed in the XML file for updating the information of a reseller are given below.

<?xml version="1.0" encoding="utf-8" ?>

<reseller>

<generalinfo>

<property name="DisplayName">res1 name</property>

<property name="ContactName">res1</property>

<property name="ShortName">res1sn</property>

<property name="ContactPhone">12345678</property>

<property name="ContactEmail">abc@example.org</property>

</generalinfo>

<service add="0">

<!-- If you want to increase the quota, set the value of the add flag to "1". If you want to set the value of a quota as unlimited, then the value of that quota should be set to "-1". If value is specified as other than "-1", the quota is increased by the value specified -->

<!-- If you want to decrease the quota, set the value of the add flag to "0". If you want to remove the quota, then the value of that quota should be set to "-1". If the value is specified as other than "-1", the quota is decreased by the value specified -->

<!-- If you want to set the quota, set the value of the add flag to "2". If you want to set the value of a quota as unlimited, then the value of that quota should be set to "-1". If you want to remove the quota, then the value of that quota should be set to "0". If the value is specified as other than "-1" and "0", the quota is set to the value specified -->

<property quota="Number of Installations of mysql">1</property>

<property quota="# of MySQL Databases">5</property>

<property quota="Number of Installations of w3svc">2</property>

<property quota="Number of Installations of webalizer">3</property>

<property quota="Bandwidth">0</property>

<property quota="Disk Space">100</property>

<property quota="Number of Installations of Power Tools">4</property>

<property quota="Number of Installations of frontpage">0</property>

<property quota="# of Access DSNs">5</property>

<property quota="# of MyODBC DSNs">5</property>

<property quota="Number of Installations of msftpsvc">0</property>

<property quota="Number of Installations of php">4</property>

<property quota="# of SubDomains">3</property>

<property quota="# of DNS Zones">2</property>

<property quota="Number of Installations of perl">1</property>

<property quota="# of SQL DSNs">0</property>

<property quota="Number of Users">0</property>

<property quota="Number of Installations of odbc">0</property>

<property quota="Number of Installations of Coldfusion">0</property>

<property quota="Number of Installations of filemanager">0</property>

<property quota="Number of Installations of urchin">5</property>

<property quota="Number of Installations of mail">5</property>

<property quota="Instances of DNS">5</property>

<property quota="# of Microsoft SQL Server 2005 Databases">0</property>

<property quota="Number of Installations of Microsoft SQL Server

2005">0</property>

<property quota="Total Database size of Microsoft SQL Server 2005

Databases">0</property>

</service>

</reseller>