Get domains list

				
					StructDomainList[] queryDomainList(string idSession, string filter)
				
			

Return domains linked to the reseller account.

REQUIRED

  • idSession string (32)
    Session ID.
OPTIONAL

  • filter string
    The filter can use the character ‘*’ as a joker. It is equivalent to the character ‘%’ in SQL.
    Example to return the list of all domains starting with the term “netim”, use “netim*” as filter 

An Array of Object of type StructDomainList

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