GetCusPreferences

Retrieve global preferences for an account

Usage

Retrieve global preferences for an account.

Availability

All resellers have access to this command.

Constraints

The login ID and API Token must be valid.

Input Parameters

https://resellertest.enom.com/interface.asp?command=GetCusPreferences&uid=YourAccountID&pw=YourApiToken&responsetype=xml
Input ParameterTypeDescription
CommandstringGetCusPreferences
UIDstringYour Account ID
PWstringYour API Token
ResellerKeystringReseller EC key for this Instant Reseller or Registry Rocket site, if different from this UID

Returned Parameters and Values

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, the process returns parameters as defined below.

Output ParameterTypeDescription
DefPeriodintegerDefault period for registrations, renewals, and transfers, in years.
AllowDNSbooleanTrue allows name servers other than eNom’s.
ShowPopupsbooleanTrue shows pop-up menus.
AutoRenewbooleanTrue automatically renews the domain 30 days before it expires.
RegLockbooleanTrue requires the account holder’s permission to transfer the domain to another registrar.
AutoPakRenewbooleanTrue automatically renews POP paks 30 days before they expire.
UseDNSbooleanTrue uses eNom’s name servers.
ResellerStatusbooleanIs this a reseller account.
RenewalSettingintegerPossible values:
0 indicates no email
1 indicates send notice
* 2 indicates contact and charge customer
RenewalBCCintegerPossible values:
0 indicates no copy to reseller
1 indicates send copy of email to reseller
RenewalURLForwardbooleanTrue automatically renews URL forwarding 30 days before the URL forwarding subscription expires.
RenewalEmailForwardbooleanTrue automatically renews email forwarding 30 days before the email forwarding subscription expires.
MailNumLimitintegerMaximum email records allowed for EmailForward.
IDProtectbooleanAuto add IDProtect to domain registration added to the cart.
DefIDProtectRenewintegerDefault renewals for IDProtect in years.
NameJetSalesbooleanIs this account part of the NameJet sales?
IRTPOptOutbooleanIRTPOptOut=True auto-approve any changes made in the Registrant contact for any ICANN Compliant domains.
IRTPEmailLanguageCodestringIRTP email language option.
Permitted values are:
EN – English
IT – Italian
FR – French
PT – Portuguese
ES – Spanish
DE – German
objectDefault host record setting for new domain registration.

Items:
hostname
address
recordtype

Example:
<hostrecord hostname="
" address="69.25.142.5" recordtype="A" />
DefaultHostRecordOwnbooleanIs this account using its own set of default host records?
UseOurDNSbooleanDoes this account use eNom’s DNS servers by default?
objectDefault nameserver setting for new domain registration if UseOurDSN=false

Example:
dns1.name-services.com
AcceptTermsbooleanTrue indicates this account has signed a credit-card processing agreement with us.
URLstringURL for reseller site listed in email notices.
ParentAccountstringThis account’s parent.
ParentLoginstringThis account’s parent login ID.
NoServicebooleanService status.
BulkRegLimitintegerMaximum number of names this account can register in a single query.
AccountstringThis account ID.

Response Params

<?xml version="1.0" encoding="UTF-8"?>
<interface-response>
   <CustomerPrefs>
      <DefPeriod>2</DefPeriod>
      <AllowDNS>False</AllowDNS>
      <ShowPopups>False</ShowPopups>
      <AutoRenew>False</AutoRenew>
      <RegLock>True</RegLock>
      <AutoPakRenew>True</AutoPakRenew>
      <UseDNS>True</UseDNS>
      <ResellerStatus />
      <RenewalSetting>2</RenewalSetting>
      <RenewalBCC>0</RenewalBCC>
      <RenewalURLForward>False</RenewalURLForward>
      <RenewalEmailForward>False</RenewalEmailForward>
      <MailNumLimit>99</MailNumLimit>
      <IDProtect>True</IDProtect>
      <DefIDProtectRenew>False</DefIDProtectRenew>
      <DefWBLRenew>False</DefWBLRenew>
      <NameJetSales>False</NameJetSales>
      <IRTPOptOut>True</IRTPOptOut>
      <IRTPEmailLanguageCode>EN</IRTPEmailLanguageCode>
      <defaulthostrecords>
         <hostrecord hostname="*" address="69.25.142.5" recordtype="A" />
         <hostrecord hostname="WWW" address="" recordtype="A" />
         <hostrecord hostname="@" address="" recordtype="A" />
         <hostrecord hostname="" address="" recordtype="A" />
         <hostrecord hostname="" address="" recordtype="A" />
      </defaulthostrecords>
      <defaulthostrecordown>False</defaulthostrecordown>
      <UseOurDNS>True</UseOurDNS>
      <NameServers>
         <DNS1>dns1.name-services.com</DNS1>
         <DNS2>dns2.name-services.com</DNS2>
         <DNS3>dns3.name-services.com</DNS3>
         <DNS4>dns4.name-services.com</DNS4>
         <DNS5>dns5.name-services.com</DNS5>
      </NameServers>
   </CustomerPrefs>
   <CustomerInformation>
      <AcceptTerms>True</AcceptTerms>
      <URL />
      <ParentAccount>000-00-0000</ParentAccount>
      <ParentLogin>Main-eNom</ParentLogin>
      <NoService>False</NoService>
      <BulkRegLimit>3000</BulkRegLimit>
      <Account>662-jo-2898</Account>
   </CustomerInformation>
   <Command>GETCUSPREFERENCES</Command>
   <APIType>API</APIType>
   <Language>eng</Language>
   <ErrCount>0</ErrCount>
   <ResponseCount>0</ResponseCount>
   <MinPeriod />
   <MaxPeriod>10</MaxPeriod>
   <Server>RESELLERTEST</Server>
   <Site>eNom</Site>
   <IsLockable />
   <IsRealTimeTLD />
   <TimeDifference>+0.00</TimeDifference>
   <ExecTime>0.000</ExecTime>
   <Done>true</Done>
   <TrackingKey>4d0eda04-74f6-4268-ab2a-9052769ce408</TrackingKey>
   <RequestDateTime>10/19/2016 11:23:35 AM</RequestDateTime>
   <debug />
</interface-response>

Related Commands

GetConfirmationSettings
UpdateCusPreferences
UpdateRenewalSettings