Not logged in - Login
View History

Login Service PHP Example

It is NOT recommended to use this minimal example before each other service call.

Please check the DIS library for an extended example

// This example connects to the stage server.
$client = new SoapClient('https://public-dis-stage.dpd.nl/Services/LoginService.svc?wsdl');
$result = $client->getAuth(array(
  'delisId' => '<your delisID>'
  ,'password' => '<your password>'
  ,'messageLanguage' =>'en_US'
));
print_r($result);

This example should return something like:

stdClass Object
(
    [return] => stdClass Object
        (
            [delisId] => <your delisID>
            [customerUid] => <your delisID>
            [authToken] => <your token>
            [depot] => <your responsible dpd depot>
        )

)