RegisterDomain:

Este comando se usa para enviar un comando de registro de dominio .UY a nuestra empresa.

Request Parameters
NombreTipo¿Requerido?Descripcion
sld String NOMBRE DE DOMINIO SIN EL .UY
tld String UY
regperiod Number NUMERO DE AÑOS EJ. 1
nameserver1 String First nameserver
nameserver2 String Second nameserver
nameserver3 String No Third nameserver
nameserver4 String No Fourth nameserver
nameserver5 String No Fifth nameserver
firstname String Yes First name of the user
lastname String Yes Last name of the user
address1 String Yes First part of user address
address2 String No Second part of user address
city String City of the user
state String State/Province of the user
postcode String Postal/ZIP Code of the user
country String Country of the user
phonenumber String Phone number in the format +598.0000000
email String Email address of the user
adminfirstname String No First name of the admin user
adminlastname String No Last name of the admin user
adminaddress1 String No First part of admin user address
adminaddress2 String No Second part of admin user address
admincity String No City of the admin user
adminstate String No State/Province of the admin user
adminpostcode String No Postal/ZIP Code of the admin user
admincountry String No Country of the admin user
adminphonenumber String No Phone number in the format +598.0000000
adminemail String No Email address of the admin user
domainfields String No A base64 encoded serialized array of the TLD specific field values
Example Request:
curl 'https://www.hostingenlaweb.com/clientes/domainsResellerAPI/api.php' --data 'token=AaLc8eNZWsZtWlT9LtT7NUha&authemail=test@exampledomain.com&action=RegisterDomain&sld=exampledomain&tld=uy&regperiod=1&nameserver1=ns1.yourdomain.com&nameserver2=ns2.yourdomain.com&firstname=test&lastname=test&companyname=company&address1=addresss&city=city&state=region&country=US&postcode=12345&phonenumber=1234567890&email=admin@exampledomain.com' --compressed
Example Response:
{"result":"success","msg":"Domain has been registered"}

RenewDomain

This command is used to send a Renew command to the registrar.

Request Parameters
NombreTipo¿Requerido?Descripcion
sld String Yes Domain name
tld String Yes Suffix attached to domain name
regperiod Number Yes Registration period
Example Request:
curl 'https://www.hostingenlaweb.com/clientes/domainsResellerAPI/api.php' --data 'token=AaLc8eNZWsZtWlT9LtT7NUha&authemail=test@exampledomain.com&action=RenewDomain&sld=exampledomain&tld=uy&regperiod=1' --compressed
Example Response:
{"result":"success","msg":"The domain has been successfully."}

GetNameservers

This command is used to obtain the nameservers of a domain.

Request Parameters
NombreTipo¿Requerido?Descripcion
sld String Yes Domain name
tld String Yes Suffix attached to domain name
Example Request:
curl 'https://www.hostingenlaweb.com/clientes/domainsResellerAPI/api.php' --data 'token=AaLc8eNZWsZtWlT9LtT7NUha&authemail=test@exampledomain.com&action=GetNameservers&sld=exampledomain&tld=uy' --compressed
Example Response:
{"result":"success","ns1":"ns1.exampledomain.com","ns2":"ns2.exampledomain.com"}

SaveNameservers

This command is used to update the nameservers of a domain.

Request Parameters
NameTypeRequired?Description
sld String Yes Domain name
tld String Yes Suffix attached to domain name
nameserver1 String First nameserver
nameserver2 String Second nameserver
nameserver3 String No Third nameserver
nameserver4 String No Fourth nameserver
nameserver5 String No Fifth nameserver
Example Request:
curl 'https://www.hostingenlaweb.com/clientes/domainsResellerAPI/api.php' --data 'token=AaLc8eNZWsZtWlT9LtT7NUha&authemail=test@exampledomain.com&action=SaveNameservers&sld=exampledomain&tld=uy&ns1=ns1.exampledomain.com&ns2=ns2.exampledomain.com' --compressed
Example Response:
{"result":"success"}

RequestDelete

This function is called when a domain is requested to be deleted

Request Parameters
NameTypeRequired?Description
sld String Yes Domain name
tld String Yes Suffix attached to domain name
Example Request:
curl 'https://www.hostingenlaweb.com/clientes/domainsResellerAPI/api.php' --data 'token=AaLc8eNZWsZtWlT9LtT7NUha&authemail=test@exampledomain.com&action=RequestDelete&sld=exampledomain&tld=uy' --compressed
Example Response:
{"result":"success"}

GetContactDetails

This command is used to perform a whois lookup on a specified domain.

Request Parameters
NameTypeRequired?Description
sld String Yes Domain name
tld String Yes Suffix attached to domain name
Example Request:
curl 'https://www.hostingenlaweb.com/clientes/domainsResellerAPI/api.php' --data 'token=AaLc8eNZWsZtWlT9LtT7NUha&authemail=test@exampledomain.com&action=GetContactDetails&sld=exampledomain&tld=uy' --compressed
Example Response:
{"result":"success","Registrant":{"Name":"John Doe","Company":"Company name","Address":"P.O.","City":"Amsterdam","Country":"NL","Zip_Code":"1001 GT","Email":"john@exampledomain.com","Telephone":"N\/A"}}

SaveContactDetails

his command is used to update the contact information on a domain.

Request Parameters
NameTypeRequired?Description
sld String Yes Domain name
tld String Yes Suffix attached to domain name
contactdetails Array Yes  
Example Request:
curl 'https://www.hostingenlaweb.com/clientes/domainsResellerAPI/api.php' --data 'token=AaLc8eNZWsZtWlT9LtT7NUha&authemail=test@exampledomain.com&action=SaveContactDetails&sld=exampledomain&tld=uy&contactdetails[Registrant][Name]=John%20Doe&contactdetails[Registrant][Company]=Company%20name&contactdetails[Registrant][Address]=Address&contactdetails[Registrant][City]=Amsterdam&contactdetails[Registrant][Country]=NL&contactdetails[Registrant][Zip_Code]=1001 GT&contactdetails[Registrant][Email]=test@exampledomain.com&contactdetails[Registrant][Telephone]=N/A' --compressed
Example Response:
{"result":"success","Registrant":{"Name":"John Doe","Company":"Company name","Address":"P.O.","City":"Amsterdam","Country":"NL","Zip_Code":"1001 GT","Email":"john@exampledomain.com","Telephone":"N\/A"}}


RegisterNameserver

This function is called when a child nameserver is requested to be registered Request Parameters
NameTypeRequired?Description
sld String Yes Domain name
tld String Yes Suffix attached to domain name
nameserver String Yes  
ipaddress String Yes  
Example Request:
curl 'https://www.hostingenlaweb.com/clientes/domainsResellerAPI/api.php' --data 'token=AaLc8eNZWsZtWlT9LtT7NUha&authemail=test@exampledomain.com&action=RegisterNameserver&sld=exampledomain&tld=uy&nameserver=test.exampledomain.uy&ipaddress=1.1.1.1' --compressed
Example Response:
{"result":"success"}

ModifyNameserver

This function is called when a child nameserver is requested to be edited Request Parameters
NameTypeRequired?Description
sld String Yes Domain name
tld String Yes Suffix attached to domain name
nameserver   String Yes  
currentipaddress String Yes  
newipaddress String Yes  
Example Request:
curl 'https://www.hostingenlaweb.com/clientes/domainsResellerAPI/api.php' --data 'token=AaLc8eNZWsZtWlT9LtT7NUha&authemail=test@exampledomain.com&action=ModifyNameserver&sld=exampledomain&tld=uy&nameserver=test.exampledomain.uy&currentipaddress=1.1.1.1&newipaddress=2.2.2.2' --compressed
Example Response:
{"result":"success"}

DeleteNameserver

This function is called when a child nameserver is requested to be deleted Request Parameters
NameTypeRequired?Description
sld String Yes Domain name
tld String Yes Suffix attached to domain name
nameserver String Yes  
Example Request:
curl 'https://www.hostingenlaweb.com/clientes/domainsResellerAPI/api.php' --data 'token=AaLc8eNZWsZtWlT9LtT7NUha&authemail=test@exampledomain.com&action=DeleteNameserver&sld=exampledomain&tld=uy&nameserver=test.exampledomain.uy' --compressed
Example Response:
{"result":"success"}
¿Fue útil la respuesta? 0 Los Usuarios han Encontrado Esto Útil (0 Votos)