Get operation types for an extension

				
					array queryOpeList(string idSession, string tld)
				
			

Return the status (opened or closed) for all types of operations for the requested extension.

REQUIRED


  • idSession string (32)
    Session ID.

  • tld string

    Extension (without the leading dot)

    For example: uk / co.uk


An associative Array where the key is the name of the operation and the value is a boolean indicating if the operation is active or not.

 

Example: [domainCreate => 1, domainTransferIn => 0]

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