WSC_GetAllPackages


Definition

Retrieve a list of all Web hosting packages that include WSC, and all WSC stand-alone accounts.

Usage

Use this command to list all Web hosting packages that include WSC, and all WSC stand-alone accounts, in a domain name account. The response includes a variety of information about each WSC account, including the URL to launch the WSC site-building wizard for this 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?

The account information on this page is provided by the WSC_GetAllPackages command.

Constraints

The query must meet the following requirements:

  • The login ID and password must be valid.

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
GetLaunchURL Optional; default is pan> Include URL to launch WSC wizard in response. Permitted values are 1 to include URL, 0 to omit. 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 Web hosting 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
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
Domain Name of domain associated with this account
DomainNameID Our identification number for this domain name
WSCOnlyHeaders Is this domain associated with the WSC Web site?
HasPOP Does this domain have POP email associated with it?
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?
EmailAddress Email address of WSC subscriber
HTTPURL Domain name associated with this WSC account
CurrentBillPeriod Current billing period
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
Command Name of command executed
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