Table of Contents

Function

The DomainCreate task registers a domain. In contrast to DomainCreate, DomainCreatePlus allows to enter the data of a domain contact (handle). The domain contact is then created automatically. If a contact already exists with this data, no new one is created, but the existing one is used.

The DomainCreatePlus task is currently not supported for JSON.

Description

The keywords for the domain element are described on the Domain object page.
The keywords for the domain contact elements (ownerc, adminc, techc, zonec) for the DomainCreatePlus task are described on the Contact page.

Task code: 0101
Uses Domain object

Example for Domain Create Plus

Request
<request>
	<auth>
		<user>customer</user>
		<context>4</context>
		<password>password</password>
	</auth>
	<task>
		<code>0101</code>
		<domain>
			<name>example.com</name>
			<ctid>my-ctid</ctid>
			<ownerc>
				<type>PERSON</type>
				<fname>john</fname>
				<lname>doe</lname>
				<organization></organization>
				<address>example street</address>
				<pcode>54321</pcode>
				<city>example city</city>
				<country>de</country>
				<phone>+1-123-123</phone>
				<fax>+1-123-123</fax>
				<email>customer@example.com</email>
				<protection>B</protection>
				<remarks>A comment</remarks>
			</ownerc>
			<adminc>
				<alias>petermustermann</alias>
				<type>PERSON</type>
				<fname>john</fname>
				<lname>doe</lname>
				<title>Dr.</title>
				<organization></organization>
				<address>example street</address>
				<pcode>54321</pcode>
				<city>eample city</city>
				<state></state>
				<country>us</country>
				<phone>+1-123-123</phone>
				<fax>+1-123-123</fax>
				<email>customer2@example.com</email>
				<protection>B</protection>
			</adminc>
			<techc>
				<type>PERSON</type>
				<fname>john</fname>
				<lname>doe</lname>
				<title></title>
				<organization></organization>
				<address>example street</address>
				<pcode>54312</pcode>
				<city>example city</city>
				<state></state>
				<country>uu</country>
				<phone>+1-123-123</phone>
				<fax>+1-123-123</fax>
				<email>customer3@example.com</email>
				<protection>B</protection>
			</techc>
			<zonec>
				<type>PERSON</type>
				<fname>john</fname>
				<lname>doe</lname>
				<title></title>
				<organization></organization>
				<address>example street</address>
				<pcode>54321</pcode>
				<city>example city</city>
				<state></state>
				<country>us</country>
				<phone>+1-123-123</phone>
				<fax>+1-123-123</fax>
				<email>user4@example.com</email>
				<protection>B</protection>
			</zonec>
			<nserver>
				<name>ns1.example.com</name>
			</nserver>
			<nserver>
				<name>ns2.example.com</name>
			</nserver>
		</domain>
		<confirm_order>1</confirm_order>
		<use_trustee>0</use_trustee>
		<reply_to>customer@example.com</reply_to>
	</task>
</request>
Response
<response>
	<result>
		<data>
			<domain_job>
				<job>
					<id>4295211577</id>
					<status>RUNNING</status>
				</job>
			</domain_job>
		</data>
		<msg>
			<text>Domain contact has been successfully created.</text>
			<code>S0301</code>
			<type>success</type>
			<object>
				<type>handle</type>
				<value>23063363</value>
			</object>
		</msg>
		<msg>
			<text>Domain contact has been successfully created.</text>
			<code>S0301</code>
			<type>success</type>
			<object>
				<type>handle</type>
				<value>23063364</value>
			</object>
		</msg>
		<msg>
			<text>Domain contact has been successfully created.</text>
			<code>S0301</code>
			<type>success</type>
			<object>
				<type>handle</type>
				<value>23063365</value>
			</object>
		</msg>
		<msg>
			<text>Domain contact has been successfully created.</text>
			<code>S0301</code>
			<type>success</type>
			<msg>
				<text>This domain contact already exists and is used. A new contact was	not
				created.</text>
				<code>MSG03003</code>
				<type>notice</type>
			</msg>
			<object>
				<type>handle</type>
				<value>23063365</value>
			</object>
		</msg>
		<status>
			<code>N0101</code>
			<text>Domain contact has been successfully created.</text>
			<type>notify</type>
			<object>
				<type>domain</type>
				<value>example.com.com</value>
			</object>
			<object>
				<type>owner-c</type>
				<value>23063363</value>
			</object>
			<object>
				<type>admin-c</type>
				<value>23063364</value>
			</object>
			<object>
				<type>tech-c</type>
				<value>23063365</value>
			</object>
			<object>
				<type>zone-c</type>
				<value>23063365</value>
			</object>
		</status>
	</result>
	<stid>20180214-app3-5976</stid>
</response>