CreateHostAccount


Definition

Create a Web hosting account.

Usage

Use this command to establish an account for Web hosting.

This command automatically deducts the cost of this Web hosting account from the domain name account balance, and the monthly fees for Web hosting are also deducted from the account balance. This command does not accommodate our credit card processing services.

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/hostingconfig.asp

On the configure a package page, the add to cart button behaves similarly to the CreateHostAccount command.

Constraints

The query must meet the following requirements:

  • The domain account login ID and password must be valid.
  • The domain account must be a reseller account.
  • The name for the Web hosting account must contain 6 to 14 characters. The first character must be alphabetic; the remaining characters must be alphanumeric.
  • The password for the Web hosting account must contain 6 to 14 alphanumeric characters.
  • When you associate a domain name with this account, it must either be registered with us or the host records must point to our servers (web1.ehost-services.com).

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 Name for this Web hosting account. Permitted values are 6 to 14 characters in length, begin with a letter, and the remaining characters are alphanumeric. 14
HostPassword Required Password for this Web hosting account; must be alphanumeric and 6 to 14 characters in length. 14
FullName Required First and last name of the contact person for this Web hosting account, for example, John Doe 44
HostAccountEmail Required Email address for communications from us regarding this Web hosting account, for example, john.doe@resellerdocs.com 78
Package Required Package name. To retrieve currently defined packages, use WebHostGetPackages 11
OverageOption Required Your instructions for how we should handle bandwidth overages, measured on a per-month basis. Permitted values are: 1 Upgrade to the next bandwidth package 2 Charge on a per-GB basis on my next monthly bill 3 Disable the account until the beginning of the next monthly billing cycle 1
EndUserIP Optional, but to reduce the possibility of fraud we recommend that you require this information from customers IP address of the computer from which the order is being placed, for tracking purposes 15
EmailNotify Optional Send a confirmation email to me when a customer successfully places and order using this command. Permitted values are: 1 Send email confirmation when processed 0 Do not send email confirmation when processed Default is 0 4
SLD Optional Second-level domain name (for example, enom in enom.com) to associate this Web hosting account with. Include SLD and TLD if you know which domain you want to associate with this Web hosting account. You can specify this association later using the AddDomainHeader command. 63
TLD Optional Top-level domain name (extension) to associate this Web hosting account with. Include SLD and TLD if you know which domain you want to associate with this Web hosting account. You can specify this association later using the AddDomainHeader command. 15
ResponseType Optional Format of response. Options are Text (default), HTML, or XML. 4

 

Returned parameters and values

Parameter Description
OrderID Order ID number for this transaction, for our internal records
PackageID Web hosting package ID number, for our internal records
Successful Success status for creating this Web hosting 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