<?php

$wsdlUrl = ''; //Die URL Ihrer Schnittstelle

// SoapClient erzeugen
$client = new SoapClient($wsdlUrl);

// Timezone setzen (für Aufrufe diverser Funktionen nötig)
date_default_timezone_set('Europe/Berlin');

// Request-Objekt deklarieren
$getDoiInformations = new StdClass();

/*
   * --------------
   * PFLICHTANGABEN
   * --------------
   */
// Mandanten-Id
$getDoiInformations->mandatorIds = 0;

// Api-Key
$getDoiInformations->apiKey = '';//Api-Key

// Start Datum
$getDoiInformations->startDate = 0;


/*
 * -----------------
 * OPTIONALE ANGABEN
 * -----------------
 */

// End Datum
//$getDoiInformations->endDate = 0;



//Ausführen der Abfrage
try {
    $result = $client->getDoiInformations($getDoiInformations);
    var_dump($result);
} catch (Exception $e) {
    //Hier ist ein Fehler aufgetreten und abgefangen worden, wir geben die Fehlermeldung aus.
    echo "Error: " . $e->getMessage() . "\n";
}
?>
