DomainTransferOwner

From FranceDNS
Jump to: navigation, search


Release Runtime
API >= 2.0 Synchronous


Description

Requests the transfer of the ownership to another party

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


Parameters

Format Variable Description Notes
string (32) idSession Session ID
string (255) domain Domain name to be traded
string (12) idOwner ID of the new owner with "isOwner=1"


Return

A structure StructOperationResponse


Notes

According to the extension, semantic rules may apply . See Category:Tld


Examples

PHP

<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
 
try 
{ 
      $idSession = $clientSOAP->sessionOpen("XXXX", "XXXX", "EN"); 
      $StructOperationResponse = $clientSOAP->domainTransferOwner($idSession, "francedns.com", "IDOWN"); 
 
      print_r($StructOperationResponse); 
} 
catch(SoapFault $fault) 
{ 
      echo "Exception : " .$fault->getMessage(). "\n"; 
} 
 
if(isset($idSession)) 
{ 
      $clientSOAP->sessionClose($idSession); 
} 
?>


Release Runtime
API > 1.0 Asynchronous


Description

Requests the transfer of the ownership to another party

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


Parameters

Format Variable Description Notes
string (32) idSession Session ID
string (255) domain Domain name to be traded
string (8) idOwner ID of the new owner with "isOwner=1"


Return

A tracking ID


Notes

According to the extension, semantic rules may apply . See Category:Tld


Examples

PHP

<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
 
try 
{ 
      $idSession = $clientSOAP->login("XXXX", "XXXX", "EN"); 
      $trackingID = $clientSOAP->domainTransferOwner($idSession, "francedns.com", "IDOWN"); 
 
      echo($trackingID); 
} 
catch(SoapFault $fault) 
{ 
      echo "Exception : " .$fault->getMessage(). "\n"; 
} 
 
if(isset($idSession)) 
{ 
      $clientSOAP->logout($idSession); 
} 
?>


JAVA

DRSServiceLocator service = new DRSServiceLocator(); 
String idSession; 
int trackingID; 
 
try 
{ 
      DRSPortType port = service.getDRSPort(); 
      idSession = port.login("XXXX", "XXXX", "EN"); 
 
      trackingID = port.domainTransferOwner(idSession, "francedns.com", "ID01"); 
      System.out.println(trackingID); 
 
      port.logout(idSession); 
} 
catch (RemoteException re) 
{ 
      System.out.println(re.getMessage()); 
} 
catch (ServiceException se) 
{ 
      se.printStackTrace(); 
}
Personal tools
Namespaces

Variants
Actions
Domain names
Your Account
Payments / Billing
Hosting service PLESK
Hosting service SPAMORA
Miscellaneous
Resellers
Affiliates
Contact Us