Saltar al contenido principal

Tracking API (XML) Documentation

Get Tracking Record (Postcode)

Request

GET: https://api.shift.online/soap/getTrackingRecordPostcode?AccountCode=0000000&Reference=34E76836&Postcode=BS1%203EH

Example Response Content

<?xml version="1.0"?>
<ArrayOfTrackingRecord>
<TrackingRecord>
<Authorised>Authorised(127.0.0.1)</Authorised>
<DeliveryAddress>
<CompanyName></CompanyName>
<Address1>A Customer Ltd</Address1>
<Address2>Chester Road</Address2>
<Address3></Address3>
<Town>Wrexham</Town>
<Postcode>LL1 7LP</Postcode>
<ContactName>A Customer Ltd</ContactName>
<ContactTelephone></ContactTelephone>
</DeliveryAddress>
<CollectionAddress>
<CompanyName></CompanyName>
<Address1>Address</Address1>
<Address2>1 Street</Address2>
<Address3></Address3>
<Town>City</Town>
<Postcode>M1 2NT</Postcode>
<ContactName></ContactName>
<ContactTelephone></ContactTelephone>
</CollectionAddress>
<ConsignmentInformation>
<Pieces>1</Pieces>
<Pallets>0</Pallets>
<Weight>20</Weight>
<Service>Priority 1</Service>
<DeliveryDate>2023-09-08T17:00:00</DeliveryDate>
<ItemsDelivered>0</ItemsDelivered>
<ConsignmentRef>ED3G1A</ConsignmentRef>
<SpecialInstructions></SpecialInstructions>
<AdditionalReferencesInformation></AdditionalReferencesInformation>
<URN>DQnklmntnYpW9IAL</URN>
</ConsignmentInformation>
<MovementInformation>
<status>on_route_to_pickup</status>
<location>
<type>Feature</type>
<geometry>
<type>Point</type>
<coordinates>37.4219983</coordinates>
<coordinates>0</coordinates>
</geometry>
<properties/>
</location>
<time>1689927394099</time>
<driverNo>9271</driverNo>
<distance>0</distance>
<destination></destination>
<compliant>1</compliant>
<requirements/>
</MovementInformation>
<MovementInformation>
<status>arrived_pickup</status>
<location>
<type>Feature</type>
<geometry>
<type>Point</type>
<coordinates>37.4219983</coordinates>
<coordinates>-122.084</coordinates>
</geometry>
<properties/>
</location>
<time>1689927401970</time>
<driverNo>9271</driverNo>
<distance>8538301.2008334</distance>
<destination>
<label>Ticket pickup</label>
<lat>50.324077606201</lat>
<lng>-3.7994034290314</lng>
</destination>
<compliant></compliant>
<requirements/>
</MovementInformation>
<MovementInformation>
<status>collected_pickup</status>
<location>
<type>Feature</type>
<geometry>
<type>Point</type>
<coordinates>37.4219983</coordinates>
<coordinates>-122.084</coordinates>
</geometry>
<properties/>
</location>
<time>1689927511289</time>
<driverNo>9271</driverNo>
<distance>0</distance>
<destination></destination>
<compliant>1</compliant>
<requirements>
<duration>100</duration>
</requirements>
</MovementInformation>
<MovementInformation>
<status>on_route_to_dropoff</status>
<location>
<type>Feature</type>
<geometry>
<type>Point</type>
<coordinates>37.4219983</coordinates>
<coordinates>-122.084</coordinates>
</geometry>
<properties/>
</location>
<time>1689927517319</time>
<driverNo>9271</driverNo>
<distance>8538301.2008334</distance>
<destination>
<label>Ticket pickup</label>
<lat>50.324077606201</lat>
<lng>-3.7994034290314</lng>
</destination>
<compliant></compliant>
<requirements/>
</MovementInformation>
<MovementInformation>
<status>arrived_dropoff</status>
<location>
<type>Feature</type>
<geometry>
<type>Point</type>
<coordinates>37.4219983</coordinates>
<coordinates>-122.084</coordinates>
</geometry>
<properties/>
</location>
<time>1689927547247</time>
<driverNo>9271</driverNo>
<distance>8110800.2112849</distance>
<destination>
<label>Ticket drop off</label>
<lat>55.885025</lat>
<lng>-3.7791441</lng>
</destination>
<compliant></compliant>
<requirements>
<distance>100</distance>
<duration>100</duration>
</requirements>
</MovementInformation>
<MovementInformation>
<status>Completed</status>
<location>
<type>Feature</type>
<geometry>
<type>Point</type>
<coordinates>37.4219983</coordinates>
<coordinates>-122.084</coordinates>
</geometry>
<properties/>
</location>
<time>1689927561229</time>
<driverNo>9271</driverNo>
<distance>8110800.2112849</distance>
<destination>
<label>Ticket drop off</label>
<lat>55.885025</lat>
<lng>-3.7791441</lng>
</destination>
<compliant></compliant>
<requirements>
<duration>100</duration>
<customer_signature>string</customer_signature>
<printed_signature>Yyyy</printed_signature>
</requirements>
</MovementInformation>
<TimedInformation>Not implemented yet</TimedInformation>
<ScanInformation>
<_id>YT6MErXoHNIja7aW</_id>
<ScanEventId>6578002e24fb0d232f00b66a</ScanEventId>
<AddressNumber>00001</AddressNumber>
<ConsignmentNumber>T00474289</ConsignmentNumber>
<FastBakFast4ward></FastBakFast4ward>
<CustomerOurReference>YT6MErXoHNIja7aW</CustomerOurReference>
<CustomerYourReference>T00474289</CustomerYourReference>
<CustomerThirdPartyReference></CustomerThirdPartyReference>
<TPEConsignmentID>149067612082936</TPEConsignmentID>
<TPEPackageID>149067612082936002</TPEPackageID>
<EventDate>20231212</EventDate>
<EventDateTime>2023-12-12T06:39:42.477Z</EventDateTime>
<EventTime>063942</EventTime>
<EventGeoLat>51.6974814</EventGeoLat>
<EventGeoLng>-4.0920284</EventGeoLng>
<EventDepotNumber></EventDepotNumber>
<EventDepotCode>SWW</EventDepotCode>
<Status>completed</Status>
<Sid>RB760W</Sid>
<id>YT6MErXoHNIja7aW</id>
</ScanInformation>
<ImageInformation>
<PODImage>
<URL>Not implemented yet</URL>
</PODImage>
</ImageInformation>
</TrackingRecord>
</ArrayOfTrackingRecord>

GetURN

Request

GET: /getURN?AccountCode=0000000&Reference=34E76836&Postcode=BS1%203EH

Example Response Content

<?xml version="1.0"?>
<URNRecord>
<Authorised>Authorised(127.0.0.1)</Authorised>
<URN>DQnklmntnYpW9IAL</URN>
</URNRecord>