Register new domain during launch period

				
					StructOperationResponse domainCreateLP(string idSession, string domain, string idOwner, string idAdmin, string idTech, string idBilling, array nameservers, int duration, string launchPhase)
			

Request the registration of a domain during a launch period.

REQUIRED


  • idSession string (32)
    Session ID.
  • domain string (255)
    Domain name to be registered.
  • idOwner string (12)
    ID of the owner contact (With “isOwner=1”).
  • idAdmin string (12)
    ID of the administrative contact (With “isOwner=0”).
  • idTech string (12)
    ID of the technical contact (With “isOwner=0”).
  • idBilling string (12)
    ID of the billing contact (With “isOwner=0”).
  • nameservers array (0-13)
    Nameserver list
  • duration integer
    Duration (In years).
  • launchPhase string (255)
    Code of the launch period.

An Object of type StructOperationResponse

All important information relative to the domain registration applies. See register new domain

 

Find out more information concerning openings/launches for the requested extension on the product pages

Once requested, you will get an operation in pending status. Netim will try to register the domain name during the corresponding phase.

 

launchPhase codes:

SR : Sunrise Period
LR1: Landrush Period 1
LR2: Landrush Period 2
LR3: Landrush Period 3
GA : General availability

<?php

$clientSOAP = new SoapClient('https://URL.wsdl');

$nameservers = array(
    1 => ['name' => 'ns1.netim.net'],
    2 => ['name' => 'ns2.netim.net']
);

try {
    $idSession = $clientSOAP->sessionOpen('XX000', 'xxxxxxxx');
    $structOperationResponse = $clientSOAP->domainCreateLP($idSession, 'netim.com', 'IDOWN', 'IDADM', 'IDTEC', 'IDBIL', $nameservers, 1, 'LR');
    print_r($structOperationResponse);

} catch (SoapFault $fault) {
    echo 'Exception : ' . $fault->getMessage() . "\n";
}

if (isset($idSession)) {
    $clientSOAP->sessionClose($idSession);
}