Zum Hauptinhalt springen

ParcelLifeCycleService

Version: 2.0 · December 2025

The ParcelLifeCycleService retrieves full parcel tracking data including scan events, status, and delivery information.

hinweis

You must first call LoginService to obtain an authToken, then pass it in the authentication header of every request.


Before You Send a Request

Obtain an auth token from LoginService and map it to your tracking request.

SOAP login:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://dpd.com/common/service/types/LoginService/2.1">
<soapenv:Header/>
<soapenv:Body>
<ns:getAuth>
<delisId>String</delisId>
<password>String</password>
<messageLanguage>en_EN</messageLanguage>
</ns:getAuth>
</soapenv:Body>
</soapenv:Envelope>

REST login:

{
"delisId": "String",
"password": "String",
"messageLanguage": "en_CH"
}

Methods

MethodDescription
getTrackingDataReturns parcel tracking data for a given parcel label number

getTrackingData

Action: http://dpd.com/common/service/ParcelLifeCycleService/2.0/getTrackingData

Input:

NameElement
authentication (header)types_authentication:authentication
parameterstypes:getTrackingData

Output:

NameElement
parameterstypes:getTrackingDataResponse

Faults:

NameElement
authenticationFaulttypes_authentication:authenticationFault

Examples

getTrackingData — SOAP

<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>{your delisId}</delisId>
<authToken>{your authToken}</authToken>
<messageLanguage>de_CH</messageLanguage>
</ns:authentication>
</soapenv:Header>
<soapenv:Body>
<ns1:getTrackingData>
<parcelLabelNumber>06081234567890</parcelLabelNumber>
</ns1:getTrackingData>
</soapenv:Body>
</soapenv:Envelope>

getTrackingData — REST

POST {baseUrl}/rest/services/ParcelLifeCycle

{
"authentication": {
"delisId": "{your delisId}",
"authToken": "{your authToken}",
"messageLanguage": "en_CH"
},
"getTrackingData": {
"parcelLabelNumber": "06081234567890"
}
}

Response (success):

{
"getTrackingDataResponse": {
"trackingResult": {
"shipmentInfo": {
"serviceDescription": {
"content": [{ "content": "DPD CLASSIC (option Predict)", "bold": false }]
},
"status": "SHIPMENT"
},
"statusInfo": [
{
"status": "ACCEPTED",
"label": { "content": "Parcel handed to DPD", "bold": true },
"statusHasBeenReached": true,
"isCurrentStatus": false,
"location": null,
"date": null
},
{
"status": "AT_SENDING_DEPOT",
"label": { "content": "In transit", "bold": true },
"statusHasBeenReached": true,
"location": { "content": "Buchs (CH)", "bold": true },
"date": { "content": "22/04/2020, 03:08 Uhr", "bold": true }
},
{
"status": "AT_DELIVERY_DEPOT",
"label": { "content": "Parcel out for delivery", "bold": true },
"statusHasBeenReached": true,
"location": { "content": "Buchs (CH)", "bold": true },
"date": { "content": "24/04/2020, 09:23 Uhr", "bold": true }
},
{
"status": "DELIVERED",
"label": { "content": "Parcel delivered", "bold": true },
"statusHasBeenReached": true,
"isCurrentStatus": true,
"location": { "content": "Buchs (CH)", "bold": true },
"date": { "content": "24/04/2020, 13:49 Uhr", "bold": true }
}
]
}
},
"status": { "type": "OK", "code": "200", "message": "valid" }
}

Complex Types

Namespace: types

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

ShipmentInfo

Contains general shipment information.

FieldType / OccurrenceDescription
receivertypes:ContentItem / 0..1Receiver of parcel
predictInformationtypes:ContentItem / 0..1Estimated delivery time (DPD Predict)
serviceDescriptiontypes:ContentItem / 0..1DPD product name (e.g. DPD Classic)
additionalServiceElementstypes:ContentItem / 0..1Additional services
trackingPropertytypes:TrackingProperty / 0..*Properties
statusxsd:string / 1..1One of: SHIPMENT, ACCEPTED, AT_SENDING_DEPOT, ON_THE_ROAD, AT_DELIVERY_DEPOT, DELIVERED
labeltypes:ContentLine / 1..1Status name
descriptiontypes:ContentItem / 1..1Status description
statusHasBeenReachedxsd:boolean / 1..1Whether this status has been reached
isCurrentStatusxsd:boolean / 1..1Whether this is the current status
showContactInfoxsd:boolean / 1..1Whether to display contact info
locationtypes:ContentLine / 0..1Location of last scan
datetypes:ContentLine / 0..1Date and time of last scan
normalItemstypes:ContentItem / 0..*Events classified as NORMAL
importantItemstypes:ContentItem / 0..*Events classified as IMPORTANT
errorItemstypes:ContentItem / 0..*Events classified as ERROR

StatusInfo

Contains all scan data for a status.

FieldType / OccurrenceDescription
statusxsd:string / 1..1Status code
labeltypes:ContentLine / 1..1Status name
descriptiontypes:ContentItem / 1..1Status description
statusHasBeenReachedxsd:boolean / 1..1Whether status has been reached
isCurrentStatusxsd:boolean / 1..1Whether this is the current status
showContactInfosxsd:boolean / 1..1Whether to display contact info
locationtypes:ContentLine / 0..1Location of last scan
datetypes:ContentLine / 0..1Date and time
normalItemstypes:ContentItem / 0..*NORMAL events
importantItemstypes:ContentItem / 0..*IMPORTANT events
errorItemstypes:ContentItem / 0..*ERROR events

TrackingResult

FieldType / OccurrenceDescription
shipmentInfotypes:ShipmentInfo / 0..1General shipment information
statusInfotypes:StatusInfo / 0..*Status history
contactInfotypes:ContentItem / 0..3Contact information

getTrackingData

FieldType / OccurrenceDescription
parcelLabelNumberxsd:string / 1..1 · length 14Parcel label number

ContentItem

FieldType / OccurrenceDescription
labeltypes:ContentLine / 0..1Identifier for content item
contenttypes:ContentLine / 1..*Content lines
linkTargetxsd:string / 0..1If set, a link is created from the content item

ContentLine

FieldType / OccurrenceDescription
contentxsd:string / 1..1Text content
boldxsd:boolean / 1..1Whether to display in bold
paragraphxsd:boolean / 1..1Whether to render as a paragraph

Namespace: types_authentication

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

authentication

FieldType / OccurrenceDescription
delisIdxsd:string / 1..1 · 8–10 charsDELIS user ID
authTokenxsd:string / 1..1 · 0–64 charsToken from LoginService.getAuth
messageLanguagexsd:string / 1..1 · length 5de_CH, fr_CH, it_CH, or en_CH

Parcel Status Codes

StatusDescription
SHIPMENTShipment created
ACCEPTEDParcel handed to DPD
AT_SENDING_DEPOTIn transit at sending depot
ON_THE_ROADOn the way to delivery depot
AT_DELIVERY_DEPOTOut for delivery
DELIVEREDParcel delivered

Entry Points

EnvironmentProtocolURL
StageSOAPhttps://shivah-st.dpd.ch/external/soap/services/ParcelLifeCycle
LiveSOAPhttps://shivah.dpd.ch/external/soap/services/ParcelLifeCycle
StageRESThttps://shivah-st.dpd.ch/external/rest/services/ParcelLifeCycle
LiveRESThttps://shivah.dpd.ch/external/rest/services/ParcelLifeCycle