Change owner of domain

				
					StructOperationResponse domainTransferOwner(string idSession, string domain, string idOwner, [array options])
			

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”).

 

OPTIONAL

  • options array
    Registration options
  • options.trustee integer (0/1)
    Use the domain trustee service
  • options.intendedUse string
    Domain intended use for trustee service

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
  • In order to use the domain trustee service, you must specify its intended use
<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
 
try 
{ 
      $idSession = $clientSOAP->sessionOpen("XX000", "xxxxxxxx"); 
      $StructOperationResponse = $clientSOAP->domainTransferOwner($idSession, "netim.com", "IDOWN"); 
 
      print_r($StructOperationResponse); 
} 
catch(SoapFault $fault) 
{ 
      echo "Exception : " .$fault->getMessage(). "\n"; 
} 
 
if(isset($idSession)) 
{ 
      $clientSOAP->sessionClose($idSession); 
} 
?>