Personal tools

From HEXONET Wiki

Jump to: navigation, search
Line 4: Line 4:
 
__TOC__
 
__TOC__
  
= API =
+
== TRADEDOMAIN ==
 
+
=== TRADEDOMAIN ===
+
 
[COMMAND]
 
[COMMAND]
 
<pre>
 
<pre>
Line 29: Line 27:
 
<br>
 
<br>
  
=== STATUSDOMAIN ===
+
== STATUSDOMAIN ==
 
[COMMAND]
 
[COMMAND]
 
<pre>
 
<pre>
Line 54: Line 52:
 
<br>
 
<br>
  
=== MODIFYDOMAIN ===
+
== MODIFYDOMAIN ==
 
[COMMAND]
 
[COMMAND]
 
<pre>
 
<pre>
Line 73: Line 71:
 
<br>
 
<br>
  
=== TRADEDOMAIN with OPT-OUT from transferlock===  
+
== TRADEDOMAIN with OPT-OUT from transferlock ==  
 
[COMMAND]
 
[COMMAND]
 
<pre>
 
<pre>

Revision as of 15:37, 11 November 2016

Domain API

Contents


TRADEDOMAIN

[COMMAND]

COMMAND = TradeDomain
DOMAIN = <DOMAIN>

REQUIRED

OWNERCONTACT0 = <CONTACT>
X-CONFIRM-DA-NEW-REGISTRANT = 1

OPTIONAL

X-CONFIRM-DA-OLD-REGISTRANT = 1


[RESPONSE]

DESCRIPTION = Command completed successfully; realtime domain trade succeeded
CODE = 200


STATUSDOMAIN

[COMMAND]

COMMAND = StatusDomain
DOMAIN = <DOMAIN>


[RESPONSE]

CODE = 200
DESCRIPTION = Command completed successfully
PROPERTY[STATUS][0] = ACTIVE
PROPERTY[STATUS][1] = clientTransferProhibited
...
PROPERTY[CURRENT-REGISTRANT-NAME][0] = ...
PROPERTY[CURRENT-REGISTRANT-ORGANIZATION][0] = ...
PROPERTY[CURRENT-REGISTRANT-EMAIL][0] = ...
...
PROPERTY[TRANSFERLOCK][0] = 1
PROPERTY[TRANSFERLOCK-EXPIRATIONDATE][0] = YYYY-MM-DD HH:MM:SS
PROPERTY[TRADE-TRANSFERLOCK-EXPIRATIONDATE][0] = YYYY-MM-DD HH:MM:SS
...


MODIFYDOMAIN

[COMMAND]

COMMAND = ModifyDomain
DOMAIN = <DOMAIN>
...

OPTIONAL

TRANSFERLOCK = 0


[RESPONSE]

CODE =5 52
DESCRIPTION=Object status does not allow for operation; Change of Registrant TRANSFERLOCK in place until YYYY-MM-DD HH:MM:SS


TRADEDOMAIN with OPT-OUT from transferlock

[COMMAND]

COMMAND = TradeDomain
DOMAIN = <DOMAIN>

REQUIRED

OWNERCONTACT0 = P-ABC123
X-CONFIRM-DA-NEW-REGISTRANT = 1
X-REQUEST-OPT-OUT-TRANSFERLOCK = 1


[RESPONSE]

DESCRIPTION = Command completed successfully; trade pending - non-real-time
CODE = 200
PENDING = 1