WebHostSetCustomPackage


Definition

Upgrade an existing Web hosting account by increasing the bandwidth, Web storage, database storage, and/or POP mail boxes allotted to it.

Usage

Use this command to upgrade an existing Web hosting account.

Note: If you do your own billing, you should scan all Web hosting accounts on a monthly basis to confirm that your billing reflects any upgrades customers have chosen.

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/hostingdetail.asp?HostAccount=resellwebid

In the HOSTING ACCOUNT UPGRADES section, the menu boxes show the upgrades that are available. Once you get a quote for an upgrade, the upgrade me now button appears, which calls the WebHostSetCustomPackage command.

Constraints

The query must meet the following requirements:

  • The login ID and password must be valid.
  • The Web hosting 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
HostAccount Required Second-level domain name (for example, enom in enom.com) 14
BandwidthUnits Required Number of bandwidth units to include in this Web hosting package. Each unit contains 20GB; permitted values are 1 to 150 units (for a maximum of 3000GB). 2
WebStorageUnits Required Number of Web storage units to include in this Web hosting package. Each unit contains 1GB; permitted values are 1 to 400 units (for a maximum of 400GB). 2
DBType Required Type of database storage to offer with this Web hosting package. Permitted values are Access or MSSQL if the hosting account is Windows; Access if the hosting account is Linux. 6
DBStorageUnits Required if DBType= MSSQL Number of SQL database storage units to include in this Web hosting package. Each unit contains 250MB; permitted values are 1 to 30 units (for a maximum of 7500MB). 2
POPUnits Required Number of POP email units to include in this Web hosting package. Each unit contains 10 email boxes; permitted values are 1 to 10 units (for a maximum of 100 mailboxes). 2
POPStorageUnits Optional Extra POP storage, in MB, to be shared among all POP mailboxes in this account. Permitted values are 20, 40, 60, 80, 100, 200, 300, 400, and 500. 2
WSCOption Optional Which WebSiteCreator (WSC) package to select. Permitted values are:
90 WSC Basic
91 WSC Full
92 WSC ECommerce
2
BillingPeriod Optional Billing cycle, in months, for this Web hosting account. Permitted values are 1, 3, 6, and 12 2
ResponseType Optional Format of response. Options are Text (default), HTML, or XML. 4

 

Returned parameters and values

Parameter Description
AccountStatusID Status of this Web hosting account:
1 Host account is active
2 Account disabled for exceeding allowed monthly bandwidth
3 Account disabled for exceeding the 3000GB bandwidth limit
4, 5, 6, 7 Account disabled; contact customer service
IISSiteID Identification number of our IIS server
Version IIS version
BandwidthUnits Number of bandwidth units to include in this Web hosting package. Each unit contains 1GB; maximum permitted is 30 units (30GB).
WebStorageUnits Number of Web storage units to include in this Web hosting package. Each unit contains 50MB; maximum permitted is 10 units (500MB).
DBStorageUnits Number of SQL database storage units to include in this Web hosting package. Each unit contains 50MB; maximum permitted is 10 units (500MB).
POPUnits Number of POP email units to include in this Web hosting package. Each unit contains 10 email boxes; maximum permitted is 10 units (a total of 100 mailboxes).
POPStorageUnits Number of POP email storage units shared among all mailboxes attached to this Web hosting account
Price New monthly fee for this reconfigured package
Success Success status for this change
PackageUpdated True indicates that bandwidth, Web storage, POP units, POP storage, database type, or database storage for this Web hosting account was updated successfully. A return value False includes error messages stating the nature of any errors
UpdateBillingPeriod True indicates that the billing period for this Web hosting account was updated successfully
UpdateDatabase True indicates that the database for this Web hosting account was upgraded successfully.
UpdateWSC True indicates that the WSC subscription attached to this Web hosting account was updated successfully.
WSCOption New WSC package, if changed
WSCAccountID New WSC identification number, if changed
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
Command Name of command executed
Language Language of this API response
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
ResponseCount Number of errors in this response
MinPeriod For domain names, shortest period this TLD may be registered
MaxPeriod For domain names, longest period this TLD may be registered
Server API server that processed this query
Site Web site through which this query was submitted
IsLockable For domain names, is this a TLD that permits a Registrar Lock?
IsRealTimeTLD For domain names, is this a TLD that offers automated, near-instant registration?
TimeDifference Time difference between the source IP for this query and the API server that processed it
ExecTime Time required to execute this query
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 parameterErr(ErrCount) can be presented to the client. Otherwise process the returned parameters as defined above.

Example