Get contact list

				
					StructContactList[] queryContactList(string idSession, string filter, string field)
				
			

Return contacts linked to the reseller account.

REQUIRED


  • idSession string (32)
    Session ID.
  • filter string
    The filter can use the character ‘*’ as a joker. It is equivalent to the character ‘%’ in SQL.
  • field string (50)
    Field on which the filter applies:

    “id”, “firstName”, “lastName”, “bodyForm”, “isOwner”.

An Array of StructContactList

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