intro

  1. Methods

    Following methods are available for the LoginServiceV21

    Method name Description
    getAuth Creates an authentication token for the committed user if user name and password are valid.

    The authentication token is needed for accessing other DPD Webservices.

     

    Action
    Live: https://wsshipper.dpd.be/soap/WSDL/LoginServiceV21.wsdl
    Stage: https://shipperadmintest.dpd.be/PublicApi/soap/WSDL/LoginServiceV21.wsdl

     

    Method name Description
    getAuth Creates an authentication token for the committed user if user name and password are valid.
    The authentication token is needed for accessing other DPD Webservices.

    Input

    The input for method getAuth is as follows:

    Name Element
    parameters types:getAuth
     

    Output

    The output for method getAuth is

     as follows:
    Name Element
    parameters types:getAuthResponse
     

    Faults

    The defined faults for method ge

    tAuth are as follows:
    Name Element
    parameters types_authentication:authenticationFault

     

    dit is een stukje code

     

  2. Examples

    getAuth (SOAP)

    <soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/ xmlns:ns=“http://dpd.com/common/service/types/LoginService/2.0”>

        <soapenv:Header/>

        <soapenv:Body>

            <ns:getAuth>

                <delisId>{your delisId}</delisId>

                <password>{your password}</password>

                <messageLanguage>fr_FR</messageLanguage>

            </ns:getAuth>

        </soapenv:Body>

    <soapenv:Envelope>

    SOAP Response without error:
    <soap:Envelope xmlns:soap=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=“http://www.w3.org/2001/XMLSchema”>

       <soap:Body>

          <getAuthResponse xmlns=“http://dpd.com/common/service/types/LoginService/2.1”>

             <return>

                <delisId>RIGATEST</delisId>

                <customerUid>RIGATEST</customerUid>

                <authToken>5gNLSdfxAMuKsrsZmCSkFCWDKY4Bxg7FQClHy4JRFdaDO6Z7u0zRe1dQuvF2</authToken>

                <depot>0530</depot>

                <authTokenExpires>2021-03-09T12:40:08.9333333</authTokenExpires>

             </return>

          </getAuthResponse>

       </soap:Body>

    </soap:Envelope>

     

  3. Complex Types

    Namespace: types

    URL: http://dpd.com/common/service/types/LoginService/2.0

     

    Complex Type: Login

    Namespace: types

    Description

    Is created when a user logs in and contains its login information

    Field name Data type /

    Occurrence /  Range /

    Description
    delisId xsd:string / 1 .. 1 / The user’s DELID-Id
    customerUid xsd:string / 1 .. 1 The user’s customer uid. This is needed for subaccounts, usually this is equal to DELIS-Id.
    authToken xsd:string / 1 .. 1 The Authtoken, needed for other webservice calls. Valid for 24 hours.
    depot xsd:string / 1 .. 1 The depot, to which the user is assigned
    authTokenExpires xsd:string / 1 .. 1 Timestamp for last Authentication Token validity

     

    Complex Type: getAuth

    Namespace: types

    Field name Data type /

    Occurrence /  Range /

    Description
    delisId xsd:string / 1 .. 1 / minlength: 6
    maxlength:10
    The DELIS-Id of the user.
    password xsd:string / 1 .. 1 /

    maxlength: 17

    The password of the user.
    messageLanguage xsd:string /

    1 .. 1 /

    minLength: 5
    maxLength: 5

    The language (Java format) for messages.

    “fr_FR” for french messages.

    “en_EN” for english messages.

    “de_DE ” for german messages.
    This can be set to the default value of en_EN

     

    Complex Type: getAuthResponse

    Namespace: types

    Field name Data type /

    Occurrence /  Range /

    Description
    return types:Login /

    1 .. 1 /

     

     

    Namespace: types_authentication

    URL: http://dpd.com/common/service/types/Authentication/2.0

     

    Anonymous Complex Type of Element: authenticationFault

    Namespace: types_authentication

    Description

    The data structure for authentication errors.

    Field name Data type /

    Occurrence /  Range /

    Description
    errorCode xsd:string / 1 .. 1 / The error code.
    errorMessage xsd:string /

    1 .. 1 /

    minLength: 1 maxLength: 255

    The error message text.

     

  4. Elements

    Namespace: types

    URL: http://dpd.com/common/service/types/LoginService/2.1

    Element: getAuth

    Namespace: types

    Field name Data type /

    Occurrence /  Range /

    Description
    getAuth types:getAuth /

    1 .. 1 /

    Input parameter of getAuth.

     

    Element: getAuthResponse

    Namespace: types

    Field name Data type /

    Occurrence /  Range /

    Description
    getAuthResponse types:getAuthResponse /

    1 .. 1 /

    Output parameter of getAuth.

     

    Namespace: types_authentication

    URL: http://dpd.com/common/service/types/Authentication/2.0

     

    Element: authenticationFault

    Namespace: types_authentication

    Anonymous Complex Type → types_authentication:authenticationFault

     

    Entry Points

    SOAP

     

    Stage

    The Stage LoginService can be reached under: https://shipperadmintest.dpd.be/PublicApi/soap/services/LoginService/V2_1

    https://shipperwsstage.dpd.ch/soap/wsdl/LoginServiceV21.wsdl

     

    Live

    The Live LoginService can be reached under: https://wsshipper.dpd.be/soap/services/LoginServiceV2_1

    https://wsshipper.dpd.be/soap/WSDL/LoginServiceV21.wsdl

     

  5. Support

     

    Further information and code examples

    Further information and code examples can be found on website https://www.dpd.com/be/en/support

     

    Technical Support

    Technical support is available via

    Phone:               +3215406086

    E-mail:               it.cs@dpd.be

     

    Support hours

    Monday until Friday from 9 a.m. – 12 p.m. and 1:30 p.m. – 5:30 p.m.

     

    DPD (Belgium) NV

    Customer & Application IT 

    Egide Walschaertsstraat 20, 2800 Mechelen, Belgium

    Internet www.dpd.be

Was this post helpful?(Required)