Personal tools

From HEXONET Wiki

Jump to: navigation, search
Line 55: Line 55:
 
PROPERTY[RENEWALGROSSPRICE][0]=11.90
 
PROPERTY[RENEWALGROSSPRICE][0]=11.90
 
PROPERTY[VAT][0]=19.00
 
PROPERTY[VAT][0]=19.00
 +
...
 +
EOF
 +
 +
</pre>
 +
<br>
 +
 +
In order to '''explicitly renew''' a premium domain you have to query the premium class first.
 +
The premium class is returned as '''SUBCLASS''' from a '''StatusDomain''' command and it always
 +
commences with '''PREMIUM_''' for premium domains:
 +
<br>
 +
<span class="label label-important">REQUIRED</span>
 +
<pre>
 +
[COMMAND]
 +
command = StatusDomain
 +
domain = <PREMIUMDOMAIN>
 +
properties = PRICE
 +
EOF
 +
 +
[RESPONSE]
 +
...
 +
PROPERTY[SUBCLASS][0]=PREMIUM_REGISTRY_TIER
 +
PROPERTY[CURRENCY][0]=USD
 +
PROPERTY[RENEWALPRICE][0]=100.00
 +
PROPERTY[RENEWALGROSSPRICE][0]=119.00
 +
PROPERTY[VAT][0]=19.00
 +
...
 +
EOF
 +
 +
</pre>
 +
<br>
 +
The SUBCLASS of the premium domain has to be provided as '''CLASS''' parameter in an explicit
 +
renewal request in order to renew a premium domain:
 +
<br>
 +
<span class="label label-important">REQUIRED</span>
 +
<pre>
 +
[COMMAND]
 +
command = RenewDomain
 +
domain = <PREMIUMDOMAIN>
 +
period = 1
 +
class=PREMIUM_REGISTRY_TIER
 +
EOF
 +
 +
[RESPONSE]
 +
...
 +
CODE=200
 +
DESCRIPTION=Command completed successfully
 +
PROPERTY[DOMAIN][0]=<PREMIUMDOMAIN>
 +
PROPERTY[EXPIRATIONDATE][0]=2020-02-20 12:00:00
 
...
 
...
 
EOF
 
EOF

Revision as of 11:57, 20 February 2015

Premium Domain Names

Premium Domain Names Lists - SHOWING SOON



APIs

Below you will find an example "CheckDomains" command for a so called "Premium" domain:
REQUIRED

[COMMAND]
command = CheckDomains
domain0 = <TEXT>
premiumchannels = *
EOF

[RESPONSE]
PROPERTY[PREMIUMCHANNEL][0]=RIGHTSIDE
PROPERTY[PRICE][0]=xx.xx
PROPERTY[REASON][0]=Premium Domain Name
PROPERTY[DOMAINCHECKTIME][0]=0.032
PROPERTY[CLASS][0]=PREMIUM_RIGHTSIDE_P
PROPERTY[CURRENCY][0]=USD
PROPERTY[DOMAINCHECK][0]=211 Premium Domain name available [PREMIUM]
DESCRIPTION=Command completed successfully
CODE=200
QUEUETIME=0.001
RUNTIME=0.208


The "CLASS" parameter have to be used at the AddDomain command:

command = AddDomainApplication
class = PREMIUM_RIGHTSIDE_P
...


In order to query the renewal price of a dedicated domain of your portfolio you can extend the StatusDomain command as follows. This is also possible for premium domains:
REQUIRED

[COMMAND]
command = StatusDomain
domain = <DOMAIN>
properties = PRICE
EOF

[RESPONSE]
...
PROPERTY[CURRENCY][0]=EUR
PROPERTY[RENEWALPRICE][0]=10.00
PROPERTY[RENEWALGROSSPRICE][0]=11.90
PROPERTY[VAT][0]=19.00
...
EOF


In order to explicitly renew a premium domain you have to query the premium class first. The premium class is returned as SUBCLASS from a StatusDomain command and it always commences with PREMIUM_ for premium domains:
REQUIRED

[COMMAND]
command = StatusDomain
domain = <PREMIUMDOMAIN>
properties = PRICE
EOF

[RESPONSE]
...
PROPERTY[SUBCLASS][0]=PREMIUM_REGISTRY_TIER
PROPERTY[CURRENCY][0]=USD
PROPERTY[RENEWALPRICE][0]=100.00
PROPERTY[RENEWALGROSSPRICE][0]=119.00
PROPERTY[VAT][0]=19.00
...
EOF


The SUBCLASS of the premium domain has to be provided as CLASS parameter in an explicit renewal request in order to renew a premium domain:
REQUIRED

[COMMAND]
command = RenewDomain
domain = <PREMIUMDOMAIN>
period = 1
class=PREMIUM_REGISTRY_TIER
EOF

[RESPONSE]
...
CODE=200
DESCRIPTION=Command completed successfully
PROPERTY[DOMAIN][0]=<PREMIUMDOMAIN>
PROPERTY[EXPIRATIONDATE][0]=2020-02-20 12:00:00
...
EOF