WSC_GetAccountInfo


Definition

Retrieve the information for a Web Site Creator (WSC) account, including the URL for this account to link to the WSC wizard.

Usage

Use this command to retrieve information about a Web hosting account that includes WSC, or a stand-alone WSC account.

This command retrieves the URL to the Web site creation wizard for this WSC account.

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/websitecreator/websitecreator_manage.asp?

In the pane for each account, the account-specific information is provided by the WSC_GetAccountInfo command.

Constraints

The query must meet the following requirements:

  • The login ID and password must be valid.
  • The Web hosting or WSC stand-alone account must belong to this domain name 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
Account Required Name of Web hosting or WSC stand-alone accounts. Use the WSC_GetAllPackages command to retrieve a list of Web hosting accounts with WSC, and WSC stand-alone accounts. 14
Language Optional;
default is Eng
Language in which to launch the WSC wizard. Permitted values are:
Eng English
Spa Spanish
Ger German
Por Portuguese
Fre French
Ita Italian
1
ResponseType Optional Format of response. Permitted values are Text (default), HTML, or XML. 4

 

Returned parameters and values

Parameter Description
WebHostID Individual identification number for this Web hosting or WSC stand-alone account
HostAccount The individual account name of this Web hosting or WSC stand-alone account
WebStorage Storage space available to this account
BandWidth Monthly bandwidth available to this account
SQLSize Database space available to this account
DatabaseType Type of database configured for this account
POPMailboxes POP mailboxes for this account
Overage Overage option for this account
BillingDate Billing date of this account
Status Active status of this account
OSType Operating system of our server on which your WSC account resides
Terminate Is this account flagged for termination?
TerminateDate If flagged for termination, on what date?
HasWSC Does this account have WSC?
WSCEnabled Is WSC enabled for this account?
WSCLaunchURL The URL for the WSC wizard for this account
WSCCountry The country for the WSC wizard for this account
WSCLanguage The language for the WSC wizard for this account
CurrentPlanPrice Monthly price for WSC
CanUpgrade Is this account eligible for upgrade?
WSCFullPrice Price for WSC Full
WSCECommercePrice Price for WSC eCommerce
WSCVersion WSC version
HostHeaderDomains Host header domains
HasHostHeaders Do these domains have host headers?
WSCPath Return value WSC indicates that this is a Web hosting account that subscribes to WSC
SiteURL URL of the WSC-built Web Site for this account
IsLWSC Is this a WSC Lite free account?
WSCSiteID Our identification number for this WSC site
PointedTo Is the WSC-built Web site pointing to SiteURL?
WSCSiteID Our identification number for this WSC site
EmailAddress Email address of WSC account subscriber
HTTPURL Domain name tied to WSC
NextBillPeriod Next billing period
Month For multi-month discounts, the number of months customer pays for to receive this discount
PromoID For multi-month discounts, the promo code for this discount
DiscountPercent For multi-month discounts, the discount percentage
DiscountPlanCnt Number of discount plans listed here
CanUpdate Can this billing period be changed?
DeleteDate Scheduled delete date for this WSC Web site
AvailableHeaderDomains Scheduled delete date for this WSC Web site
AvailableDomainList Scheduled delete date for this WSC Web site
AvailableDomainCount Scheduled delete date for this WSC Web site
Command Name of command executed
Language Language of the WebSite Creator wizard
ErrCount The number of errors if any occurred. If greater than 0 check the Err(1 to ErrCount) values.
ErrX 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