GetAllHostAccounts


Definition

Retrieve a list of all Web hosting accounts in a domain name account, with attributes.

Usage

Use this command to list the Web hosting accounts in your eNom account, and some attributes of each.

Availability

All resellers have access to this command.

Implementation on eNom.com

Log on to resellertest.enom.com with Login ID resellid, password resellpw.

https://resellertest.enom.com/wsg/

In the left-hand menu, the manage link calls the GetAllHostAccounts command.

Constraints

The query must meet the following requirements:

  • The login ID and password must be valid.
  • The domain name must belong to this account.

Input parameters

Build the query string using this syntax:

https://resellertest.enom.com/interface.asp?
command=nameofcommand&uid=yourloginid
&pw=yourpassword&paramname=paramvalue
&nextparamname=nextparamvalue

 

Parameter Status Description Max Size
UID Required Account login ID 20
PW Required Account password 20
ResponseType Optional Format of response. Options are Text (default), HTML, or XML. 4

 

Returned parameters and values

Parameter Description
WebHostID Web hosting package ID from our internal records
HostAccount Web hosting account name assigned by the account holder
WebStorage Web storage setting, in MB
BandWidth Current traffic capacity, in GB
SQLSize Current database storage, in MB
DatabaseType Type of database that currently supports this account
POPMailBoxes Number of POP mailboxes allotted to this account
Overage Current setting for accommodating bandwidth overage
BillingDate Next billing date for this Web hosting account
Status Status of this Web hosting account
OSType Operating system of the Web server
Terminate Terminate flag. If True, this Web hosting account will be deleted at the end of this billing period.
TerminateDate Date on which this Web hosting account will be deleted, if one has been set
HasWSC Does this account subscribe to WebSite Creator?
WSCEnabled Is WebSite Creator enabled?
WSCLaunchURL URL to launch WebSite Creator, specific to this account
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.

 

Notes

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

Example