management functions

setlock

Description

Set domain name locking

Input Parameters

Name Allowed Values
userid Your Domain Register Reseller ID
privatekey Your Reseller Private Key
command setlock
domain Domain name
lock TRUE or FALSE

Output Parameters

Name Allowed Values
command setlock
domain Domain name
errcode Successful if 0
errdesc

Description of error returned or command completed successfully if no errors detected

Example URL

api.domainregister.it/interface.php?command=setlock&domain=abc123.com&userid=resellerID&privatekey=myprivatekey&lock=TRUE

 

getauthcode

Description

Get the authorization code for a given EPP based domain name

Input Parameters

Name Allowed Values
userid Your Domain Register Reseller ID
privatekey Your Reseller Private Key
command

getauthcode

domain Domain name

Output Parameters

Name Allowed Values
command getauthcode
domain Domain name
authinfo Authorization code (if available)
errcode Successful if 0
errdesc

Description of error returned or command completed successfully if no errors detected

Example URL

api.domainregister.it/interface.php?command=getauthcode&domain=abc123.com&userid=resellerID&privatekey=myprivatekey

 

changedns

Description

Modify the name servers of a domain name

Input Parameters

Name Allowed Values
userid Your Domain Register Reseller ID
privatekey Your Reseller Private Key
command

changedns

domain Domain name
dns1 name server name (e.g. ns1.drnameservice.com)
dns2 name server name (e.g. ns2.drnameservice.com)

Output Parameters

Name Allowed Values
command changedns
domain Domain name
errcode Successful if 0
errdesc

Description of error returned or command completed successfully if no errors detected

Example URL

api.domainregister.it/interface.php?command=changedns&domain=abc123.com&userid=resellerID&privatekey=myprivatekey&PARAMETERS_SEE_ABOVE

 

createprofile

Description

Create a profile

Input Parameters

Name Allowed Values
userid Your Domain Register Reseller ID
privatekey Your Reseller Private Key
command

createprofile

FirstName First name
LastName Last name
OrganizationName Organization name
Address1 Address
Address2 Address line 2
City City

StateProvince

State or Province (for Italy address is a 2 char code)
BillingCode VAT Code or Fiscal Code
Country Country (code international ISO)
PostalCode Postal code
Phone_CC International prefix
Phone Phone number
Fax_CC International prefix
Fax Fax number
EmailAddress E-mail address
Type
  • person -> Persona Fisica Italiana/Straniera
  • society -> Societa’/Imprese individuali
  • liber -> Liberi Professionisti/Ordini Professionali
  • noprofit -> Enti no-profit
  • public -> Enti Pubblici
  • other -> Altri Soggetti
  • extra -> Soggetti stranieri

Output Parameters

Name Allowed Values
command createprofile
contactId Id new contact
errcode Successful if 0
errdesc

Description of error returned or command completed successfully if no errors detected

Example URL

api.domainregister.it/interface.php?command=createprofile&SEE_ABOVE_PARAMS&userid=resellerID&privatekey=myprivatekey

 

 

 

changecontacts

 

Description

Change the contacts of a domain name

Input Parameters

Name Allowed Values
userid Your Domain Register Reseller ID
privatekey Your Reseller Private Key
command

changecontacts

domain Domain name
idRegistrant id Profile for Registrant
idAdmin id Profile for Admin
idBilling id Profile for billing
idTech id Profile for technical contact

Output Parameters

Name Allowed Values
command changecontacts
domain Domain name
errcode Successful if 0
errdesc

Description of error returned or command completed successfully if no errors detected

Example URL

api.domainregister.it/interface.php?command=changecontacts&domain=abc123.com&SEE_ABOVE_PARAMS&userid=resellerID&privatekey=myprivatekey

 

 

 

listdomains

Description

Returns domain name list for a reseller account

Input Parameters

Name Allowed Values
userid Your Domain Register Reseller ID
privatekey Your Reseller Private Key
command

listdomains

filter A domain name or keyword. Optional and can be blank for obtain a complete list of domain. No TLD must be present.
tld Tld field.
searchtype The type can be ‘exact’ or ‘nexact’. In the exact type the domain will search for exact match for the string send into filter var.

Output Parameters

Name Allowed Values
command listdomains
domain(n) Domain name
regstatus(n) Status of domain name
regdate(n) Date the domain name was registered
expiredate(n) Date the domain name expired
errcode Successful if 0
errdesc

Description of error returned or command completed successfully if no errors detected

Example URL

api.domainregister.it/interface.php?command=listdomains&filter=&userid=resellerID&privatekey=myprivatekey