- Home
- API reference
- API documentation (JSON/XML)
- Tasks
- Domain prereg tasks
Domain prereg info
Function
The DomainPreregInfo task inquires the data of a preregistration including the status.
Description
Route GET /domainPrereg/{reference}
There is no need to send a body.
The query parameter "fullContact" can be used to display more information about the domain contacts. You can specify "?fullContact=all" to display more info for all domain contacts.
Or you can pass a list of domain contact types which should contain more info, like "?fullContact=ownerc" or "?fullContact=ownerc&fullContact=adminc".
{
"stid": "20150812-app-120022",
"status": {
"code": "S0110004",
"text": "Domain preregistration data was inquired successfully.",
"type": "SUCCESS"
},
"object": {
"type": "DomainPrereg",
"value": "example.author",
"data": {
"name": "example.author",
"orderReference": "48ff5985-fabf"
}
},
"data": [
{
"created": "2015-08-12T17:08:24.000+0200",
"updated": "2015-08-12T09:44:47.000+0200",
"owner": {
"context": 4,
"user": "customer"
},
"updater": {
"context": 4,
"user": "customer2"
},
"ownerc": {
"id": 11344248
},
"techc": {
"id": 13302751
},
"zonec": {
"id": 13302751
},
"adminc": {
"id": 11344248
},
"name": "example.author",
"nameServers": [
{
"name": "ns1.example.com"
},
{
"name": "ns2.example.com"
}
],
"status": "OPEN",
"phase": "live"
"orderReference": "48ff5985-fabf",
"trustee": false,
"recommended": false
}
]
}
Task code: 0110004
Uses Domain_Prereg object
<request>
<auth>
<user>user</user>
<password>password</password>
<context>4</context>
</auth>
<task>
<code>0110004</code>
<domain_prereg>
<name>example.web</name>
<phase>live</phase>
</domain_prereg>
<reply_to>user@example.com</reply_to>
</task>
</request><response>
<result>
<data>
<domain_prereg>
<name>example.author</name>
<ownerc>11344248</ownerc>
<adminc>11344248</adminc>
<techc>13302751</techc>
<zonec>13302751</zonec>
<nserver>
<name>ns1.example.com</name>
</nserver>
<nserver>
<name>ns1.example.com</name>
</nserver>
<ns_action>NONE</ns_action>
<period>0</period>
<status>OPEN</status>
<phase>live</phase>
<extension/>
<order_reference>48ff5985-fabf</order_reference>
<use_trustee>0</use_trustee>
<owner>
<user>customer</user>
<context>4</context>
</owner>
<updater>
<user>customer2</user>
<context>4</context>
</updater>
<created>2015-08-12 13:47:14</created>
<updated>2015-08-12 13:47:14</updated>
</domain_prereg>
</data>
<status>
<code>S0110004</code>
<text>Domain preregistration data was inquired successfully,</text>
<type>success</type>
<object>
<type>domain_prereg</type>
<value>example.author</value>
</object>
</status>
</result>
<stid>20150812-app-5807</stid>
</response>