ServiceSelect


Definition

Enable and disable services for a domain. You can also use this command to retrieve the current settings for a service.

Usage

Use this command to enable or disable email (MX or MXE), DNS, Web Site Creator, Web hosting, ID Protect services for a domain.

Use this command to create a Web Site Creator account.

Use this command to get the current settings for a service.

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/domains/

ServiceSelection.asp?DomainNameID=152533676&service=emailset

On the email settings page, the save changes button calls the ServiceSelect 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.
  • One query can select only one service. You must repeat the query for each service you want to select.

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
Service Required; if Service is used without NewOptionID and Update, the response gives the current setting Service type. Permitted values are: WSB (Web Site Creator and Web hosting services) EmailSet (email services) WPPS (ID Protect Whois Privacy Protection) 15
NewOptionID Optional; if you use NewOptionID you must also use Update Setting for the service.

Permitted values are:
Service=DNSServer (which domain name servers):

  • 1006 use our name servers
  • 1012 use user-specified domain servers, including none


Service=WSB (Web site services):

  • 1060 no Web site services
  • 1063 Web Site Creator stand-alone (use this option to create or enable Web Site Creator stand-alone)
  • 1066 Web hosting account

Service=EmailSet (Email services):

  • 1048 no email
  • 1051 email forwarding (to a POP or WebMail address)
  • 1054 user (mail server name required)
  • 1105 user simplified (mail server’s IP address required)
  • 1114 POP3/WebMail plus email forwarding

Service=WPPS (ID Protect Whois Privacy Protection):

  • 1120 WhoIs information is masked
  • 1123 WhoIs information is viewable
4
Update Required if you use NewOptionID True updates the NewOptionID value for the service 5
SLD Required for Service=EmailSet WPPS Second-level domain name (for example, enom in enom.com) 63
TLD Required for Service=EmailSet WPPS Messaging Top-level domain name (extension) 15
HostAccount Required if Service=WSB and NewOptionID=1066 Name of the Web hosting account to enable or disable. 14
ResponseType Optional Format of response. Permitted values are Text (default), HTML, or XML. 4

 

Returned parameters and values

Parameter Description
current-svc Current service option setting
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