Get operation list

				
					StructOperationResponse[] opeList(string idSession, array filters)
				
			

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

REQUIRED

  • idSession string (32)
    Session ID

 

OPTIONAL

  • filters array
    Search filters
  • Available filter keys:

    • ID (Operation ID)
    • IDSESSION (Session ID)
    • TYPE (Operation name)
    • DATA (Operation target)
    • DATE (Operation creation date)
    • PROD (Operation product ID)
    • STATUS (Operation processing status)
    • ERROR (Operation error message)

    For more information on filters for list functions, please consult the corresponding page.

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

$filters = array(
      'TYPE' => ['LIKE' => 'domain%'],
      'DATE' => ['>' => '2023-10-02'],
      'PROD' => ['IN' => ['FR', 'BE', 'ES']]
);

try {
      $idSession = $clientSOAP->sessionOpen('XX000', 'xxxxxxxx');
      $arrayOperationResponse  = $clientSOAP->opeList($idSession, $filters);
      print_r($arrayOperationResponse);

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

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