Tracking API
Use the Tracking API to retrieve public shipment tracking details through the Standard Tracking SOAP service. Review access, endpoints, request fields, reference types, validation rules, response objects, and faults before implementation.
Purpose and security
Who this API is for and how access works.
Target audience
IT teams and developers integrating customer systems with shipment tracking. Basic understanding of SOAP web services is expected.
Purpose
The service exposes tracking and tracing functionality that is also available in the eSchenker frontend.
Security
Use HTTPS. Every request must include an access key obtained through Web Service usage registration and approved by a Schenker administrator.
Authentication placement
The access key is sent as <AccessKey> inside getPublicServiceShipmentDetails, not inside the Booking <applicationArea> pattern.
Endpoint hosts
Tracking uses different service URLs from Booking, Barcode, Freight List, and Waybill.
| Stage | Host | When to use |
|---|---|---|
| Test | https://eschenker-fat.dbschenker.com/webservice/trackingWebServiceV3 | Use for implementation and validation before production access. |
| Production | https://eschenker.dbschenker.com/webservice/trackingWebServiceV3 | Use after access has been approved and the integration is ready for production traffic. |
Service definition
SOAP service, operation, and fault contract.
| Item | Value | Notes |
|---|---|---|
| Port type | PublicShipmentService | Standard Tracking public shipment service. |
| Operation | getPublicShipmentDetails | Retrieves public shipment details. |
| Messages | getPublicShipmentDetailsRequest, getPublicShipmentDetailsResponse, getPublicShipmentDetailsFault | Request, response, and fault are defined separately. |
| SOAP action | http://www.schenker.com/CustomerServices/eBusiness/ShipmentService/v3/getPublicShipmentDetails | Use document/literal SOAP binding. |
Tracking sample XML request
Operation wrapper: getPublicServiceShipmentDetails
Use this sample as the base request. Replace the access key, request ID, creation timestamp, reference type, and reference number before testing.
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<ns3:getPublicServiceShipmentDetails
xmlns:ns2="http://www.schenker.com/SGI/v4_0"
xmlns:ns3="http://www.schenker.com/CustomerServices/eBusiness/ShipmentService/v3">
<AccessKey>30e85cb0-1e41-11e5-befd-005056ad7714</AccessKey>
<in>
<ns2:ApplicationArea>
<ns2:requestId>NGES-TRACKING-1442553867 </ns2:requestId>
<ns2:CreationDateTime>
2015-02-19T11:42:33.867+01:00
</ns2:CreationDateTime>
</ns2:ApplicationArea>
<ns2:referenceType>ff</ns2:referenceType>
<ns2:referenceNumber>01234567891011</ns2:referenceNumber>
</in>
</ns3:getPublicServiceShipmentDetails>
</env:Body>
</env:Envelope>
Tracking sample XML response
Operation response: getPublicShipmentDetailsResponse
Use this sample response to understand the returned shipment details, status events, measurements, references, containers, and linked job outline structure.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"/>
<soap-env:Body xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<tns:getPublicShipmentDetailsResponse xmlns:tns="http://www.schenker.com/CustomerServices/eBusiness/ShipmentService/v2">
<out>
<v4:RequestID xmlns:v4="http://www.schenker.com/SGI/v4_0">
NGES-TRACKING-1438267810315-xRFPbc4hgmAdmbJ2JjhNPt7UqvtZ1HNrdCpwnwRuSY1Qwaocyamkqh3Ny1dXKtgaNjXyqIis8QMgsvpqj2N21dh2TM72jucsdqry
</v4:RequestID>
<v4:TimeOfRequest xmlns:v4="http://www.schenker.com/SGI/v4_0">2015-07-30T16:50:10.358+02:00</v4:TimeOfRequest>
<v4:Shipment TransportMode="1" Index="0" DataSourceID="cis" xmlns:v4="http://www.schenker.com/SGI/v4_0">
<v4:ShipmentInfo>
<v4:ShipmentBasicInfo>
<ns2:UniqueID xmlns:ns2="http://www.schenker.com/SGI/v4_0" xmlns:ns3="http://www.schenker.com/CustomerServices/eBusiness/ShipmentServicePublic/v1">84090011195736</ns2:UniqueID>
<ns2:ShipmentNumberExport xmlns:ns2="http://www.schenker.com/SGI/v4_0" xmlns:ns3="http://www.schenker.com/CustomerServices/eBusiness/ShipmentServicePublic/v1">MKEOE150002609</ns2:ShipmentNumberExport>
<ns2:ShipmentNumberImport xmlns:ns2="http://www.schenker.com/SGI/v4_0" xmlns:ns3="http://www.schenker.com/CustomerServices/eBusiness/ShipmentServicePublic/v1">6560500979</ns2:ShipmentNumberImport>
<ns2:Location type="DEP" xmlns:ns2="http://www.schenker.com/SGI/v4_0" xmlns:ns3="http://www.schenker.com/CustomerServices/eBusiness/ShipmentServicePublic/v1">
<ns2:LocationID isoCountry="US" codeType="UNLOCODE">USLAX</ns2:LocationID>
<ns2:LocationName>Los Angeles</ns2:LocationName>
</ns2:Location>
<ns2:Location type="DES" xmlns:ns2="http://www.schenker.com/SGI/v4_0" xmlns:ns3="http://www.schenker.com/CustomerServices/eBusiness/ShipmentServicePublic/v1">
<ns2:LocationID isoCountry="AU" codeType="UNLOCODE">SGSIN</ns2:LocationID>
<ns2:LocationName>Singapore</ns2:LocationName>
</ns2:Location>
<ns2:Location type="FDEL" xmlns:ns2="http://www.schenker.com/SGI/v4_0" xmlns:ns3="http://www.schenker.com/CustomerServices/eBusiness/ShipmentServicePublic/v1">
<ns2:LocationID codeType="UNLOCODE">SGSIN</ns2:LocationID>
<ns2:LocationName>SGSIN</ns2:LocationName>
</ns2:Location>
<ns2:DateAndTimes type="84" xmlns:ns2="http://www.schenker.com/SGI/v4_0" xmlns:ns3="http://www.schenker.com/CustomerServices/eBusiness/ShipmentServicePublic/v1">
<ns2:Date>2015-07-01Z</ns2:Date>
</ns2:DateAndTimes>
<ns2:DateAndTimes type="132" xmlns:ns2="http://www.schenker.com/SGI/v4_0" xmlns:ns3="http://www.schenker.com/CustomerServices/eBusiness/ShipmentServicePublic/v1">
<ns2:Date>2015-08-21Z</ns2:Date>
<ns2:Time>00:00:00Z</ns2:Time>
</ns2:DateAndTimes>
<ns2:DateAndTimes type="133" xmlns:ns2="http://www.schenker.com/SGI/v4_0" xmlns:ns3="http://www.schenker.com/CustomerServices/eBusiness/ShipmentServicePublic/v1">
<ns2:Date>2015-07-19Z</ns2:Date>
<ns2:Time>00:00:00Z</ns2:Time>
</ns2:DateAndTimes>
<ns2:CarrierName xmlns:ns2="http://www.schenker.com/SGI/v4_0" xmlns:ns3="http://www.schenker.com/CustomerServices/eBusiness/ShipmentServicePublic/v1">
<ns2:Name>SCHENKEROCEAN LTD,WANG KWONG ROAD,3</ns2:Name>
</ns2:CarrierName>
<ns2:ConsignmentMeasurements type="Piece" xmlns:ns2="http://www.schenker.com/SGI/v4_0" xmlns:ns3="http://www.schenker.com/CustomerServices/eBusiness/ShipmentServicePublic/v1">
<ns2:MeasureValue unit="">1</ns2:MeasureValue>
</ns2:ConsignmentMeasurements>
<ns2:ConsignmentMeasurements type="ABJ" xmlns:ns2="http://www.schenker.com/SGI/v4_0" xmlns:ns3="http://www.schenker.com/CustomerServices/eBusiness/ShipmentServicePublic/v1">
<ns2:MeasureValue unit="CBM">0.333</ns2:MeasureValue>
</ns2:ConsignmentMeasurements>
<ns2:ConsignmentMeasurements type="G" xmlns:ns2="http://www.schenker.com/SGI/v4_0" xmlns:ns3="http://www.schenker.com/CustomerServices/eBusiness/ShipmentServicePublic/v1">
<ns2:MeasureValue unit="KGS">20.575</ns2:MeasureValue>
</ns2:ConsignmentMeasurements>
<ns2:StatusEventList xmlns:ns2="http://www.schenker.com/SGI/v4_0" xmlns:ns3="http://www.schenker.com/CustomerServices/eBusiness/ShipmentServicePublic/v1">
<ns2:StatusEvent Index="0">
<ns2:Status>ETF</ns2:Status>
<ns2:Date>2015-08-22-06:00</ns2:Date>
<ns2:Time>11:29:51-06:00</ns2:Time>
<ns2:OccurredAt>
<ns2:LocationID isoCountry="US" codeType="UNLOCODE">CHICAGO, IL</ns2:LocationID>
<ns2:LocationName>CHICAGO, IL</ns2:LocationName>
</ns2:OccurredAt>
<ns2:Created>
<ns2:Datetime>2015-07-24T11:29:49.000-05:00</ns2:Datetime>
</ns2:Created>
<ns2:StatusInfo type="StatusEventText">ETA AT FINAL CY/CFS</ns2:StatusInfo>
<ns2:Remark/>
<ns2:Milestone>false</ns2:Milestone>
<ns2:Valid>true</ns2:Valid>
</ns2:StatusEvent>
<ns2:StatusEvent Index="1">
<ns2:Status>DEP</ns2:Status>
<ns2:Date>2015-07-19-06:00</ns2:Date>
<ns2:Time>00:00:00-06:00</ns2:Time>
<ns2:OccurredAt>
<ns2:LocationID isoCountry="US" codeType="UNLOCODE">LOS ANGELES, CA</ns2:LocationID>
<ns2:LocationName>LOS ANGELES, CA</ns2:LocationName>
</ns2:OccurredAt>
<ns2:Created>
<ns2:Datetime>2015-07-27T21:49:19.000-06:00</ns2:Datetime>
</ns2:Created>
<ns2:StatusInfo type="StatusEventText">DEPARTURE/CONFIRMED ON BOARD</ns2:StatusInfo>
<ns2:Remark/>
<ns2:Milestone>true</ns2:Milestone>
<ns2:Valid>true</ns2:Valid>
</ns2:StatusEvent>
</ns2:StatusEventList>
<ns2:LastEvent xmlns:ns2="http://www.schenker.com/SGI/v4_0" xmlns:ns3="http://www.schenker.com/CustomerServices/eBusiness/ShipmentServicePublic/v1">DEP</ns2:LastEvent>
<ns2:EventDateTime xmlns:ns2="http://www.schenker.com/SGI/v4_0" xmlns:ns3="http://www.schenker.com/CustomerServices/eBusiness/ShipmentServicePublic/v1">2015-07-19T00:00:00.000+02:00</ns2:EventDateTime>
</v4:ShipmentBasicInfo>
<v4:MailAddressExport>SERVICE-TT-SEA.MILWAUKEE@SCHENKER.COM</v4:MailAddressExport>
<v4:M_Number>CHGOE150001391</v4:M_Number>
<v4:H_Number>USMKE0000001401</v4:H_Number>
<v4:TermOfDelivery>ex works</v4:TermOfDelivery>
<v4:MeansOfTransport>NYK ARTEMIS</v4:MeansOfTransport>
<v4:MeansOfTransport>V83</v4:MeansOfTransport>
<v4:noOfContainers>1</v4:noOfContainers>
<v4:Container Index="1">
<v4:ContainerNumber>APZU 3301162</v4:ContainerNumber>
<v4:Type>20DC</v4:Type>
<v4:Volume>27.588 CBM</v4:Volume>
<v4:Weight>18800.000 KGS</v4:Weight>
</v4:Container>
<v4:AdditionalReference index="0">
<ns2:qualifier xmlns:ns2="http://www.schenker.com/SGI/v4_0" xmlns:ns3="http://www.schenker.com/CustomerServices/eBusiness/ShipmentServicePublic/v1">RMB</ns2:qualifier>
<ns2:value xmlns:ns2="http://www.schenker.com/SGI/v4_0" xmlns:ns3="http://www.schenker.com/CustomerServices/eBusiness/ShipmentServicePublic/v1">NYKS6066746990</ns2:value>
</v4:AdditionalReference>
<v4:AdditionalReference index="1">
<ns2:qualifier xmlns:ns2="http://www.schenker.com/SGI/v4_0" xmlns:ns3="http://www.schenker.com/CustomerServices/eBusiness/ShipmentServicePublic/v1">BID</ns2:qualifier>
<ns2:value xmlns:ns2="http://www.schenker.com/SGI/v4_0" xmlns:ns3="http://www.schenker.com/CustomerServices/eBusiness/ShipmentServicePublic/v1">CHI/FRE/C81732</ns2:value>
</v4:AdditionalReference>
<v4:ExportBranchName>SI MILWAUKEE</v4:ExportBranchName>
<v4:MailAddressImport/>
<v4:TypeOfService>SS</v4:TypeOfService>
<v4:PlaceOfLoading>Chicago</v4:PlaceOfLoading>
<v4:LcPlaceOfLoading>USCHI</v4:LcPlaceOfLoading>
<v4:LinkedJobOutline>
<v4:DataSourceID>au</v4:DataSourceID>
<v4:TransportMode>3</v4:TransportMode>
<v4:JobQualifier>Domestic_AU_NZ</v4:JobQualifier>
<v4:JobID>15049452</v4:JobID>
<v4:SttNo>84090011195736</v4:SttNo>
<v4:ConsignmentID Type="CN">
<v4:value>6540501074</v4:value>
</v4:ConsignmentID>
<v4:Departure>EAGLE FARM</v4:Departure>
<v4:Destination>WETHERILL PARK</v4:Destination>
<v4:CreationDate>2015-07-29+10:00</v4:CreationDate>
<v4:PiecesCount>1</v4:PiecesCount>
<v4:Weight>20.580</v4:Weight>
<v4:WeightUnit>kgm</v4:WeightUnit>
<v4:Volume>0.333</v4:Volume>
<v4:VolumeUnit>cbm</v4:VolumeUnit>
<v4:HawblNo>USMKE0000001401</v4:HawblNo>
<v4:MawblNo>TBA</v4:MawblNo>
</v4:LinkedJobOutline>
</v4:ShipmentInfo>
</v4:Shipment>
</out>
</tns:getPublicShipmentDetailsResponse>
</soap-env:Body>
</soapenv:Envelope>
Tracking request schema
Core request fields for regular tracking requests.
| Field Name | Data Type | Mandatory | Cardinality | Description |
|---|---|---|---|---|
<getPublicServiceShipmentDetails> | element | yes | 1..1 | Root operation wrapper used to retrieve public shipment details. |
<AccessKey> | xsd:string | yes | 1..1 | Access key from Web Service usage registration. |
<in> | ShipmentDetailsPublicRequestType | yes | 1..1 | Detailed tracking request payload. |
<ApplicationArea> | ApplicationAreaType | no | 0..1 | Technical request information. |
<requestId> | xs:string | no | 0..1 | Request identification. Should be unique for every request. |
<CreationDateTime> | DateTimeType | yes | 1..1 | Creation timestamp in ISO 8601 format, for example YYYY-MM-DDThh:mm:ss[Z|(+|-)hh:mm]. |
<userId> | xs:string | deprecated | 0..1 | Deprecated for Tracking requests and expected to be removed in a future version. |
<techUserId> | xs:string | deprecated | 0..1 | Deprecated for Tracking requests and expected to be removed in a future version. |
<password> | xs:string | deprecated | 0..1 | Deprecated for Tracking requests and expected to be removed in a future version. |
<referenceType> | xs:string | yes | 1..1 | Reference type. See the reference type table below. |
<referenceNumber> | xs:string | yes | 1..1 | Alphanumeric reference number. Meaning depends on referenceType. |
<transportNature> | xs:string | conditional | 0..1 | Int for Air and Ocean freight. Exp for Land freight. Mandatory for selected reference types. |
<shipmentDateFrom> | xs:date | conditional | 0..1 | Date in YYYY-MM-DD format. Mandatory for selected customer references. |
<shipmentDateTo> | xs:date | conditional | 0..1 | Date in YYYY-MM-DD format. Mandatory for selected customer references. |
Reference types and validation rules
Use this table to choose the correct lookup key.
| Reference group | Values | Validation rule |
|---|---|---|
| Schenker references | aam Waybill number, ff Schenker Track & Trace number, bm Bill of Lading number, aw Airwaybill number, akb Container number | referenceType and referenceNumber are mandatory. transportNature is an error for ff, aw, bm, and akb. It is mandatory for aam. |
| Customer references | BID, cu, SRS, cg, SRC, CIN, CBR, CRR, DON, EQC, LPN, MRN, PLN, PON, SAP, SHN, SHIPNO, SON, SSCC, VIN | referenceType and referenceNumber are mandatory. For customer references except cu and cg, transportNature, shipmentDateFrom, and shipmentDateTo are mandatory. |
| Shipper and consignee references | cu shipper reference, cg consignee reference | transportNature is mandatory and must be Int or Exp. Date range fields must not be sent. |
M means mandatory, M* means transportNature is mandatory and must be Int or Exp, and E means an error occurs if the field is filled.Tracking response overview
High-value response objects and fields returned by the Tracking service.
| Field Name | Data Type | Mandatory | Cardinality | Description |
|---|---|---|---|---|
<out> | ShipmentDetailsPublicViewType | yes | 1..1 | Detailed tracking response payload. |
<RequestID> | xs:string | yes | 1..1 | Request identification returned in the response. |
<TimeOfRequest> | xs:dateTime | yes | 1..1 | Time of request in ISO 8601 format. |
<Shipment> | ShipmentType | no | 0..n | Shipment record. Includes attributes such as TransportMode, JobQualifier, Index, and DataSourceID. |
<BackendTimeMillis> | xs:int | no | 0..1 | Back end processing time in milliseconds. |
<message> | LogMessageType | no | 0..n | Log message with severity, code, text, optional date time, and optional domain. |
<ShipmentInfo> | ShipmentExtendedType | yes | 1..1 | Detailed shipment information. |
<ShipmentBasicInfo> | ShipmentBasicType | no | 0..1 | Core shipment data such as STT or consignment number, locations, partners, dates, measurements, references, status events, last event, and package events for Land shipments. |
<Location> | LocationType | no | 0..n | Location details. Common types include PICK, DEP, DES, and FDEL. |
<DateAndTimes> | DateTimeSGIType | no | 0..n | Shipment date, estimated departure, estimated arrival, and related date or time values. |
<StatusEvent> | StatusEventType | no | 0..n | Tracking event list. Each event includes an index and event-specific status information. |
<Container> | ContainerType | no | 0..n | Ocean shipment container information such as container number, size, type, seal, equipment, volume, and weight. |
<LinkedJobOutline> | ShipmentOutline | no | 0..n | Additional domestic information for AU/NZ or US scenarios when available. |
Fault response
SOAP fault payload returned by Tracking.
| Field | Type | Description |
|---|---|---|
getPublicShipmentDetailsFault | tns:ShipmentExceptionType | Fault element for the Tracking operation. |
BDID | xsd:string | Optional business document ID. |
faultCode | xsd:QName | Qualified fault code. |
faultString | xsd:string | Fault message text. |
details | xsd:string | Optional details for the fault. |