Change contact

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

Replace the contacts of the domain (administrative, technical, billing).

REQUIRED


  • idSession string (32)
    Session ID.
  • domain string (255)
    Domain name.
  • idAdmin string (12)
    ID of the administrative contact.
  • idTech string (12)
    ID of the technical contact.
  • idBilling string (12)
    ID of the billing contact.

An Object of type StructOperationResponse

  • idAdmin, idTech, idBilling must be contacts with isOwner=0 or be defined with the reseller ID
  • According to the extension, allocation and semantic rules may apply at the administrative contact level See relative information for the extension
<?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); 
} 
?>