Not logged in - Login
View History

Depot Data Service PHP Example

It is NOT recommended to use this minimal example.

Please check the DIS library for an extended example and best practices.

//The header is filled with the data you got from the authentication service
$soapHeaderBody = array(
  'delisId' => <your delisID> 
  ,'authToken' => <your token>
  ,'messageLanguage' => 'en_US'

$header = new SOAPHeader('', 'authentication', $soapHeaderBody, false);
$client = new SoapClient('');
$soapHeader = $header;

$result = $client->getDepotData(array(
  'country' => 'BE'
  ,'zipCode' => '1000'


This example should return something like: