DomainChangeContact

From NETIM
Jump to: navigation, search


Release Runtime
API >= 2.0 Synchronous


Description

Replaces the contacts of the domain (administrative, technical, billing)

StructOperationResponse domainChangeContact(string idSession, string domain, string idAdmin, string idTech, string idBilling)


Parameters

Format Variable Description Notes
string (32) idSession Session ID
string (255) domain Domain name
string (12) idAdmin ID of the administrative contact
string (12) idTech ID of the technical contact
string (12) idBilling ID of the billing contact


Return

A structure StructOperationResponse


Notes

The 3 contacts must exist and belong to the reseller
Semantic rules may apply at the administrative contact level. See Category:Tld


Examples

PHP

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


Release Runtime
API > 1.0 Asynchronous


Description

Replaces the contacts of the domain (administrative, technical, billing)

int domainChangeContact(string idSession, string domain, string idAdmin, string idTech, string idBilling)


Parameters

Format Variable Description Notes
string (32) idSession Session ID
string (255) domain Domain name
string (8) idAdmin ID of the administrative contact
string (8) idTech ID of the technical contact
string (8) idBilling ID of the billing contact


Return

A tracking ID


Notes

The 3 contacts must exist and belong to the reseller
Semantic rules may apply at the administrative contact level. See Category:Tld


Examples

PHP

<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
 
try 
{ 
      $idSession = $clientSOAP->login("XXXX", "XXXX", "EN"); 
      $trackingID = $clientSOAP->domainChangeContact($idSession, "netim.com", "IDADM", "IDTEC", "IDBIL"); 
 
      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.domainChangeContact(idSession, "netim.com", "ID01", "ID01", "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
Your account
Domain names
Contact Us
Web Hosting
SSL Certificate
Email Hosting
Website Builder
Resellers
Affiliates
Miscellaneous