 |
|
| Our Main Services |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
| Member Services |
|
|
|
| |
|
|
|
|
API Documentations
Below you will find some documentations regarding HexaServ API which allows our valued customers to start their own domain system through their own web sites.
1 - Connecting to server:
Your system should connect to :
http://www.hexaserv.com/api.php
or securely to :
https://www.hexaserv.com/api.php
2 - Validating your account:
You should pass these variables to our system to check your account.
member_name is your HexaServ account username.
password is your HexaServ account password (encoded by MD5).
3 - Sending commands:
Pass the command through the variable command.
Below you will find a list of available commands.
checkdomain checks status of a domain name whether it is available or not.
variables should be passed: domain_name , domain_type , response_type.
whois Get the whois informations of a domain name.
variables should be passed: host, response_type.
registerdomain registers a domain name.
variables should be passed: domain_name , domain_type , password1 , registrant , r_org , r_address1 , r_address2 , r_address3 , r_city , r_province , r_country , r_postalcode , r_telephone , r_fax , r_email , administrator , a_org , a_address1 , a_address2 , a_address3 , a_city , a_province , a_country , a_postalcode , a_telephone , a_fax , a_email , technical , t_org , t_address1 , t_address2 , t_address3 , t_city , t_province , t_country , t_postalcode , t_telephone , t_fax , t_email , billing , b_org , b_address1 , b_address2 , b_address3 , b_city , b_province , b_country , b_postalcode , b_telephone , b_fax , b_email , response_type.
Note that country is sent as 2 letters only.
modifycontact used to modify the whois informations of a domain name.
variables should be passed: domain_name , domain_type ,registrant , r_org , r_address1 , r_address2 , r_address3 , r_city , r_province , r_country , r_postalcode , r_telephone , r_fax , r_email , administrator , a_org , a_address1 , a_address2 , a_address3 , a_city , a_province , a_country , a_postalcode , a_telephone , a_fax , a_email , technical , t_org , t_address1 , t_address2 , t_address3 , t_city , t_province , t_country , t_postalcode , t_telephone , t_fax , t_email , billing , b_org , b_address1 , b_address2 , b_address3 , b_city , b_province , b_country , b_postalcode , b_telephone , b_fax , b_email , response_type.
Note that country is sent as 2 letters only.
modifydns used to change the DNS of a domain name.
variables should be passed: domain_name , domain_type , dns1 , dns2 , response_type.
renewdomain extends a domain name.
variables should be passed: domain_name , domain_type , year , response_type.
lockdomain used to lock a domain name.
variables should be passed: domain_name , domain_type , response_type.
unlockdomain used to unlocked a domain name.
variables should be passed: domain_name , domain_type , response_type.
registernameserver registers a nameserver.
variables should be passed: domain_name , domain_type , dns , ipaddr.
modifynameserver changes the IP of a nameserver.
variables should be passed: domain_name , domain_type , dns , newip , response_type.
transferdomain to transfer a domain name registered at another registrar to your account with HexaServ.
variables should be passed: domain_name , domain_type , domain_password if transfering a non com / net domain name , you can get thie auth. code from current registrar.
lookup for resolve/reverse lookup.
variables should be passed: host.
dig for DNS records.
variables should be passed: host.
ipwhois to get informations about IP address.
variables should be passed: host.
checkport to check if a specific port is open or not.
variables should be passed: host and portnum.
ping to ping a certain host.
variables should be passed: host.
traceroute to traceroute a ceertain host.
variables should be passed: host.
getdns to get the DNS of a domain name.
variables should be passed: domain_name.
sendsms to send SMS.
variables should be passed: from, to, text, language(either english or arabic).
querysms to know the status of sent SMS.
variables should be passed: sms_id.
Domain_type:
This is one of the variables that should be passed to the API.
Its value depends on the domain name:
for com / net / org domain names it equals 0.
for biz domain names it equals 800.
for info domain names it equals 805.
for us domain names it equals 806.
Response_type:
It is the way you want to receive response from the API.Set it to normal.If ignored, it is ok too.
4 - API response:
1000 = Command completed successfully.
2000 = An error.
3000 = Invalid login.
4000 = Invalid level.
5000 = Insuffcient balance.
6000 = Invalid domain owner, the domain doesn`t belong to the user.
7000 = Invalid entered data.
8000 = Domain not found.
210 = Domain is available.
220 = Domain is unavailable.
310 = SMS delivered to the gateway.
320 = Waiting to deliver SMS to the gateway. |
|
|
|
|
|
|
|
 |
|
|