Not logged in - Login
View History

Parcel LifeCycle Service SOAP Example

LifeCycle request

The LifeCycle service is a soap service.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://dpd.com/common/service/types/Authentication/2.0" xmlns:ns1="http://dpd.com/common/service/types/ParcelLifeCycleService/2.0">
   <soapenv:Header>
      <ns:authentication>
         <delisId>my Delis ID</delisId>
         <authToken>Authentication Token</authToken>
         <messageLanguage>en_US</messageLanguage>
      </ns:authentication>
   </soapenv:Header>
   <soapenv:Body>
      <ns1:getTrackingData>
         <parcelLabelNumber>your parcelnumber</parcelLabelNumber>
               </ns1:getTrackingData>
   </soapenv:Body>
</soapenv:Envelope>

LifeCycle response

If a request is send with a valid delisId, authentication token and parcelnumber this can be a response:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <getTrackingDataResponse xmlns="http://dpd.com/common/service/ParcelLifeCycleService/2.0">
         <TrackingResult xmlns="">
            <shipmentInfo>
               <status>SHIPMENT</status>
               <label>
                  <content>Shipment information</content>
                  <bold>true</bold>
                  <paragraph>false</paragraph>
               </label>
               <description>
                  <content>
                     <content>Details of your shipment</content>
                     <bold>false</bold>
                     <paragraph>false</paragraph>
                  </content>
                  <linkTarget/>
               </description>
               <statusHasBeenReached>false</statusHasBeenReached>
               <isCurrentStatus>false</isCurrentStatus>
               <showContactInfo>false</showContactInfo>
               <serviceDescription>
                  <label>
                     <content>Your DPD service:</content>
                     <bold>false</bold>
                     <paragraph>false</paragraph>
                  </label>
                  <content>
                     <content>DPD CLASSIC</content>
                     <bold>false</bold>
                     <paragraph>false</paragraph>
                  </content>
                  <linkTarget/>
               </serviceDescription>
            </shipmentInfo>
            <statusInfo>
               <status>ACCEPTED</status>
               <label>
                  <content>Parcel handed to DPD</content>
                  <bold>true</bold>
                  <paragraph>false</paragraph>
               </label>
               <description>
                  <content>
                     <content>DPD has received your parcel.</content>
                     <bold>false</bold>
                     <paragraph>false</paragraph>
                  </content>
                  <linkTarget/>
               </description>
               <statusHasBeenReached>false</statusHasBeenReached>
               <isCurrentStatus>true</isCurrentStatus>
               <showContactInfo>false</showContactInfo>
            </statusInfo>
            <statusInfo>
               <status>AT_SENDING_DEPOT</status>
               <label>
                  <content>In transit</content>
                  <bold>true</bold>
                  <paragraph>false</paragraph>
               </label>
               <description>
                  <content>
                     <content>The parcel is at the parcel dispatch centre.</content>
                     <bold>false</bold>
                     <paragraph>false</paragraph>
                  </content>
                  <linkTarget/>
               </description>
               <statusHasBeenReached>false</statusHasBeenReached>
               <isCurrentStatus>false</isCurrentStatus>
               <showContactInfo>false</showContactInfo>
            </statusInfo>
            <statusInfo>
               <status>ON_THE_ROAD</status>
               <label>
                  <content>At parcel delivery centre</content>
                  <bold>true</bold>
                  <paragraph>false</paragraph>
               </label>
               <description>
                  <content>
                     <content>Your parcel is on its way to the parcel delivery centre.</content>
                     <bold>false</bold>
                     <paragraph>false</paragraph>
                  </content>
                  <linkTarget/>
               </description>
               <statusHasBeenReached>false</statusHasBeenReached>
               <isCurrentStatus>false</isCurrentStatus>
               <showContactInfo>false</showContactInfo>
            </statusInfo>
            <statusInfo>
               <status>AT_DELIVERY_DEPOT</status>
               <label>
                  <content>Parcel out for delivery</content>
                  <bold>true</bold>
                  <paragraph>false</paragraph>
               </label>
               <description>
                  <content>
                     <content>At parcel delivery centre.</content>
                     <bold>false</bold>
                     <paragraph>false</paragraph>
                  </content>
                  <linkTarget/>
               </description>
               <statusHasBeenReached>false</statusHasBeenReached>
               <isCurrentStatus>false</isCurrentStatus>
               <showContactInfo>false</showContactInfo>
            </statusInfo>
            <statusInfo>
               <status>DELIVERED</status>
               <label>
                  <content>Parcel delivered</content>
                  <bold>true</bold>
                  <paragraph>false</paragraph>
               </label>
               <description>
                  <content>
                     <content>Your parcel has been delivered successfully.</content>
                     <bold>false</bold>
                     <paragraph>false</paragraph>
                  </content>
                  <linkTarget/>
               </description>
               <statusHasBeenReached>false</statusHasBeenReached>
               <isCurrentStatus>false</isCurrentStatus>
               <showContactInfo>false</showContactInfo>
            </statusInfo>
            <contactInfo>
               <content>
                  <content>info@dpd.com</content>
                  <bold>false</bold>
                  <paragraph>false</paragraph>
               </content>
               <linkTarget>info@dpd.com</linkTarget>
            </contactInfo>
            <contactInfo>
               <content>
                  <content>Tel.: 01806 373 200 (0,20 u20ac/call german landline, max. 0,60 u20ac/call german mobile network)</content>
                  <bold>false</bold>
                  <paragraph>false</paragraph>
               </content>
               <linkTarget>Tel.: 01806 373 200 (0,20 u20ac/call german landline, max. 0,60 u20ac/call german mobile network)</linkTarget>
            </contactInfo>
         </TrackingResult>
      </getTrackingDataResponse>
   </s:Body>
</s:Envelope>

LifeCycle no data response

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <getTrackingDataResponse xmlns="http://dpd.com/common/service/ParcelLifeCycleService/2.0">
         <TrackingResult xmlns=""/>
      </getTrackingDataResponse>
   </s:Body>
</s:Envelope>