Retrieve contents, and calculate cost and selling price, of all Web hosting packages configured for an account.


Use this command to generate a complete list of Web hosting packages defined for an account.


All resellers have access to this command.

Implementation on

Log on to with Login ID resellid, password resellpw.

The Set Packages table, with the re-calculate and save packages buttons, calls and displays results of the CalculateAllHostPackagePricing command.


The query must meet the following requirements:

  • The login ID and password must be valid.

Input parameters

Build the query string using this syntax:


Parameter Status Description Max Size
UID Required Account login ID 20
PW Required Account password 20
OSType Optional; default is Windows Operating system of Web server. Permitted values are Windows or Linux. 7
FilterByOS Optional; default is False Do you want to return results for only the Web server operating system specified by OSType? Permitted values are True or False. 5
ResponseType Optional Format of response. Options are Text (default), HTML, or XML. 4


Returned parameters and values

Parameter Description
PackageID ID number (generated by us) for this Web hosting package
PackageName Name of this Web hosting package
StorageUnits Number of Web site content storage units in this Web hosting package. Each storage unit is 1GB.
BandwidthUnits Number of bandwidth units in this Web hosting package. Each bandwidth unit is 20GB.
PopUnits Number of POP mail units in this Web hosting package. Each POP unit is 10 mailboxes, with 100MB storage per mailbox.
SQLUnits Number of units of SQL database storage in this Web hosting package. Each SQL unit is 250MB.
OSTypeID Our ID for the operating system of this package’s Web hosting server. 1 indicates Windows; 2 indicates Linux.
OSType Operating system of this package’s Web hosting server.
PackageCost The cost to this account for this Web hosting package
SellPrice The price this account charges customers for this Web hosting package
PackageCount Number of different Web hosting packages listed in this response
Command Name of command executed
ErrCount The number of errors if any occurred. If greater than 0 check the Err(1 to ErrCount) values.
Err(x) Error messages explaining the failure. These can be presented as is back to the client.
Done True indicates this entire response has reached you successfully.



  • The default response format is plain text. To receive the response in HTML or XML format, send ResponseType=HTML or ResponseType=XML in your request.
  • Check the return parameter ErrCount. If greater than 0 the transaction failed. The parameter Err(ErrCount) can be presented to the client. Otherwise process the returned parameters as defined above.