API Commands
[All Commands]

Order: Preregister_Domain



order type Preregister_Domain


This is special order type ! This order type is for new TLDs or liberation rules of existing TLDs domain pre-registration

Input Parameters ($params):

int period Period for domain registration (required)
contact registrant Owner contact of new domain (required)
array contacts
contact admin Administrative contact
contact tech Technical contact
contact billing Billing contact
array ns
host hosts Hostnames of nameservers
string nsset Nameserver Set (only for FRED registries (.CZ,.EE,...))
array params Any others params - please see below

Sample:


<?
$client 
= new SoapClient(
        
null
        array(
            
"location" => "https://PRODUCTION/robot.php",
            
"uri" => "http://PRODUCTION/soap"
            
)
        );

$params = array ( 
    
"data" => array (
        
"login" => "demo",
        
"password" => "password",
    )
);

$response $client->__call("Login",$params);

$token $response["data"]["ssid"];

unset(
$params);

$params = array (
    
"data" => array (
            
"ssid" => $token,
            
"order" => ´┐Żarray (
                
"domain" => "domain.or.af",
                
"type" => "Preregister_Domain",
                
"params" => array (
                        
"registrant" => ´┐Żarray (
                                
"id" => "G-000008"
                        
)
                        
"period" => 1
                
)
            )
    )
);

$response $client->__call("Make_Order",$params);

?>
INPUT: [data] => Array ( [ssid] => 51aca4e95c12821b56a9045babc943e7 [order] => Array ( [type] => Preregister_Domain [domain] => domain.or.af [params] => Array ( [registrant] => Array ( [id] => G-000008 ) [period] => 1 ) ) ) OUTPUT: [status] => ok [data] => Array ( [orderid] => 24 )

API Manual - version from 2017-09-15 12:54:14