Personal tools

From HEXONET Wiki

Jump to: navigation, search
Line 3: Line 3:
  
 
__TOC__
 
__TOC__
 
[HEADER]
 
USER=test.user
 
  
 
[COMMAND]
 
[COMMAND]
COMMAND=TradeDomain
+
<pre>
DOMAIN=btc.info
+
COMMAND = TradeDomain
OWNERCONTACT0=P-JUW40
+
DOMAIN = <DOMAIN>
X-CONFIRM-DA-OLD-REGISTRANT=1
+
OWNERCONTACT0 = <CONTACT>
X-CONFIRM-DA-NEW-REGISTRANT=1
+
X-CONFIRM-DA-OLD-REGISTRANT = 1
 +
X-CONFIRM-DA-NEW-REGISTRANT = 1
 
EOF
 
EOF
 
+
</pre>
 +
<br>
 
[RESPONSE]
 
[RESPONSE]
DESCRIPTION=Command completed successfully; realtime domain trade succeeded
+
<pre>
 +
DESCRIPTION = Command completed successfully; realtime domain trade succeeded
 
CODE=200
 
CODE=200
QUEUETIME=0
 
RUNTIME=0.96
 
 
EOF
 
EOF
 
+
</pre>
  
  

Revision as of 14:20, 11 November 2016

Domain API


[COMMAND]

COMMAND = TradeDomain
DOMAIN = <DOMAIN>
OWNERCONTACT0 = <CONTACT>
X-CONFIRM-DA-OLD-REGISTRANT = 1
X-CONFIRM-DA-NEW-REGISTRANT = 1
EOF


[RESPONSE]

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


[HEADER] USER=test.user

[COMMAND] COMMAND = StatusDomain DOMAIN = btc.info EOF

[RESPONSE] CODE=200 DESCRIPTION=Command completed successfully PROPERTY[STATUS][0]=ACTIVE PROPERTY[STATUS][1]=clientTransferProhibited ... PROPERTY[CURRENT-REGISTRANT-NAME][0]=Jens Wagner PROPERTY[CURRENT-REGISTRANT-ORGANIZATION][0]=HEXONET GmbH PROPERTY[CURRENT-REGISTRANT-EMAIL][0][email protected] ... PROPERTY[TRANSFERLOCK][0]=1 PROPERTY[TRANSFERLOCK-EXPIRATIONDATE][0]=2017-01-09 09:53:24 PROPERTY[TRADE-TRANSFERLOCK-EXPIRATIONDATE][0]=2017-01-09 09:53:24 ... EOF


[HEADER] USER=test.user

[COMMAND] COMMAND = ModifyDomain DOMAIN = btc.info TRANSFERLOCK = 0 EOF

[RESPONSE] CODE=552 DESCRIPTION=Object status does not allow for operation; Change of Registrant TRANSFERLOCK in place until 2017-01-09 09:53:24 EOF


With opt-out from transferlock:


[COMMAND] COMMAND=TradeDomain DOMAIN=btc.info OWNERCONTACT0=P-JUW40 X-CONFIRM-DA-NEW-REGISTRANT=1 X-REQUEST-OPT-OUT-TRANSFERLOCK=1 EOF


[RESPONSE] DESCRIPTION=Command completed successfully; trade pending - non-real-time CODE=200 PENDING=1 QUEUETIME=0 RUNTIME=0.96 EOF