Restore domain

				
					StructOperationResponse domainRestore(string idSession, string domain)
			

Restore a domain name in quarantine / redemption status.

REQUIRED


  • idSession string (32)
    Session ID.
  • domain string (255)
    Domain name to be restored.

An Object of type StructOperationResponse

  • The domain name must have the QUARANTINE status
  • The request must take place before DateMaxRestore.
    (See structdomaininfo.dateMaxRestore)
<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
 
try 
{ 
      $idSession = $clientSOAP->sessionOpen("XX000", "xxxxxxxx"); 
      $StructOperationResponse = $clientSOAP->domainRestore($idSession, "netim.com"); 
 
      print_r($StructOperationResponse); 
} 
catch(SoapFault $fault) 
{ 
      echo "Exception : " .$fault->getMessage(). "\n"; 
} 
 
if(isset($idSession)) 
{ 
      $clientSOAP->sessionClose($idSession); 
} 
?>