GetContacts


Definition

Get all contact data for a domain name.

Usage

Use this command to display contact information 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/domains/DomainDetail.asp?DomainNameID=152533676

In the utilities section, the Contact/WhoIs Information link calls the GetContacts 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
DomainName Domain name
SLD Second-level domain name (for example, enom in enom.com)
TLD Top-level domain name (extension)
DomainNameID Identification number for this domain name, in our system
Registrant None indicates no separate Registrant information has been entered for this domain name. Otherwise, Registrant information is returned
AuxBilling None indicates no separate Auxiliary Billing information has been entered for this domain name. Otherwise, Auxiliary Billing contact information is returned
Tech None indicates no separate Technical contact information has been entered for this domain name. Otherwise, Technical contact information is returned
Admin None indicates no separate Admin contact information has been entered for this domain name. Otherwise, Admin contact information is returned
Billing Billing information is returned for most TLDs, with some exceptions like .eu
ContactTypePartyID Party ID
ContactTypeAddress1 Address 1
ContactTypeAddress2 Address 2
ContactTypeCity City
ContactTypeCountry Country
ContactTypeEmailAddress Email Address
ContactTypeFax Fax
ContactTypeFirstName First Name
ContactTypeLastName Last Name
ContactTypeJobTitle Job Title
ContactTypeOrganizationName Organization Name
ContactTypePhone Phone number
ContactTypePhoneExt Phone extension
ContactTypePostalCode Postal Code
ContactTypeStateProvince State or Province
ContactTypeStateProvinceChoice State or Province? S indicates State; P indicates Province
UseBelowAuxInfo True indicates that AuxBilling appears on the Contacts page as an optional alternative for this ContactType
AuxID PartyID for Auxiliary Billing contact
RegID PartyID for Registrant contact
ExtendedAttributes Registry-specific data for some country-code TLDs. For each TLD, you can retrieve the expected extended attributes by running this command or the GetExtAttributes command.
WPPSAllowed Is ID Protect permitted for this TLD?
WPPSExists Is there a current ID Protect subscription for this domain name?
WPPSEnabled Is the ID Protect subscription currently being used to protect this domain name?
WPPSExpDate Expiration date for ID Protect subscription
WPPSAutoRenew Auto renew setting for ID Protect subscription
EscrowLiftDate If this domain name is currently in escrow, the lift date
EscrowHold Is this domain name currently in escrow?
ContactRestrictedTLD Does this TLD have restrictions on the freedom to update contact information without a trade (transfer).
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.
  • If there are additional contact entries, Billing in the above return parameter names is replaced with REGISTRANT, AUXBILLING, TECH, or ADMIN.

Example