Get contact information

				
					StructContactInfo contactInfo(string idSession, string idIdentifiant)
			

Return all information about a contact object.

REQUIRED


  • idSession string (32)
    Session ID.

  • idIdentifiant string (12)
    ID of the contact to be queried.

An Object of type StructContactInfo

$clientSOAP = new SoapClient('https://URL.wsdl');

try {
  $idSession = $clientSOAP->sessionOpen('XX000', 'xxxxxxxx');
  $structContactInfo = $clientSOAP->contactInfo($idSession, 'XX001');
  print_r($structContactInfo);

} catch (SoapFault $fault) {
  echo 'Exception : ' . $fault->getMessage() . "\n";

}
if (isset($idSession)) {
  $clientSOAP->sessionClose($idSession);
}