domain_create

Used to register domain names.

Inputs Description Type Regular expression Mandatory
contact type=’registrant’ Domain name owner contact identifier String (max 10) Yes
contact type=’admin’ Domain name admin contact identifier String (max 10) Yes
contact type=’tech’ Domain name technical contact identifier String (max 10) Yes
contact type=’billing’ Domain name billing contact identifier String (max 10) [A-Za-z0-9-\.]{5,68} Yes
name Domain name String Yes
period Registration period (Years) Int (min 1, max 10) Yes
ns Domain name server host String [A-Za-z0-9-\.]{5,150}(min 2, max 6) Yes
public Used to set contact information public String (min 0, max 1) Possible values: 0 or 1 Yes. Only for .fr if the owner is not a company
TrusteeService Used to set a use of local presence Boolean No

 

Outputs Description Possible values
name Domain name
status Domain status “REGISTERED” – “PENDING”
creDate Domain creation date
expDate Domain expiration date

 

Command

<api>
[…]
<command>
<domain_create>
<contact type=’registrant’>…</contact>
<contact type=’admin’>…</contact>
<contact type=’tech’>…</contact>
<contact type=’billing’>…</contact>
<name>…</name>
<period>…</period>
<ns>…</ns>
<ns>…</ns>
</domain_create>
</command>
</api>

 

Response

<?xml version=”1.0″ encoding=”utf-8″?>
<api>
<response>
<trID>…</trID>
<result code=”…”>
<msg>…</msg>
</result>
</response>
<resData>
<domain_creData>
<name>…</name>
<status>…</status>
<creDate>…</creDate>
<expDate>…</expDate>
</domain_creData>
</resData>
</api>