Change owner of domain

				
					StructOperationResponse domainTransferOwner(string idSession, string domain, string idOwner)
				
			

Request the transfer of the ownership to another party.

REQUIRED


  • idSession string (32)
    Session ID.
  • domain string (255)
    Domain name to be traded.
  • idOwner string (12)
    ID of the new owner (With “isOwner=1”).

An Object of type StructOperationResponse

  • According to the extension, allocation and semantic rules may apply. See relative information for the extension
  • idOwner must exist and belong the reseller.
  • idOwner must be a contact with isOwner=1
<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
 
try 
{ 
      $idSession = $clientSOAP->sessionOpen("XXXX", "XXXX", "EN"); 
      $StructOperationResponse = $clientSOAP->domainTransferOwner($idSession, "netim.com", "IDOWN"); 
 
      print_r($StructOperationResponse); 
} 
catch(SoapFault $fault) 
{ 
      echo "Exception : " .$fault->getMessage(). "\n"; 
} 
 
if(isset($idSession)) 
{ 
      $clientSOAP->sessionClose($idSession); 
} 
?>