API Commands
[All Commands]

Order: Restore_Domain



order type Restore_Domain


Restore a deleted domain from your account

Sample:


<?php
$client 
= new SoapClient(
        
null
        array(
            
"location" => "https://PRODUCTION/soap/cmd.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" => "Restore_Domain",
            )
    )
);

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

?>
INPUT: [data] => Array ( [ssid] => 51aca4e95c12821b56a9045babc943e7 [order] => Array ( [type] => Restore_Domain [domain] => domain.or.af ) ) OUTPUT: [status] => ok [data] => Array ( [orderid] => 24 )

API Manual - version from 2023-05-12 12:15:50