GetDomainInfo


Definition

Get information about a single domain name.

Usage

Use this command to display current information about a single domain name. This command also retrieves the DomainNameID value, which is required by some other commands in our API.

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

On the my domains page, clicking a link in the Domain Name column calls the GetDomainInfo 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.

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
SLD Required Second-level domain name (for example, enom in enom.com) 63
TLD Required Top-level domain name (extension) 15
ResponseType Optional Format of response. Permitted values are Text (default), HTML, or XML. 4

 

Returned parameters and values

Parameter Description
SLD Second-level domain name (for example, enom in enom.com)
TLD Top-level domain name (extension)
DomainNameID ID number of this individual domain
Multy-LangSLD Is this a multi-language SLD?
Expiration Expiration date of this domain registration
Registrar Registrar of this domain
RegistrationStatus Registration status of this domain
Purchase-Status Purchase status of this domain
Party-ID Party ID of the account in which this domain is registered
Belongs-To Login ID of the account in which this domain is registered
EntryName Name of the product or service described in this node
Changable Can this service be changed?
Service Setting for the service. Permitted values are:
DNSServer (which domain name servers):
1006 use our name servers
1012 use user-specified domain servers, including none
DNSSettings (host records):
1021 host records WSB (Web site services):
1060 no Web site building or hosting services
1063 Web Site Builder
1066 Web site hosting accounts
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
WPPS (ID Protect Whois Privacy Protection):
1120 WhoIs information is masked
1123 WhoIs information is viewable
WBL (Business Listing):
1130 Business Listing settings
ServiceChangable Can this service be toggled on or off, or switched?
ConfigurationChangable Is this a configurable product or service?
WBLID Business Listing identification number
StatusID Status number of this Business Listing
StatusDescr Status ID of this Business Listing
ExpDate Expiration date of this Business Listing
Enabled Visibility status of this Business Listing in the WhoisBusinessListings.com directory. 1 indicates Business Listing is visible; 0 indicates Business Listing is hidden.
Renew Automatic renewal setting of this Business Listing
CompanyName Company name for this Business Listing
CompanyDescription Description of company
DomainName Domain name to which this Business Listing is attached
Street Street address of this Business Listing
City City of this Business Listing
PostalCode Postal code of this Business Listing
Country Country of this Business Listing
CategoryIDX Category identification number(s) of this Business Listing
FieldName Name of descriptive field
Value Descriptive content associated with this field name
Name Name of this host record
Type Type of product, service, or host record
Address Host record address
MXPref Priority value of this host record
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