Do a Track/Trace lookup on the specified LabelNumber.
LabelNo - The label number to look up
CountryCode - The code of the country in which the label resides. Optional: If omitted, will be automatically determined.
See here for a list of valid country codes.
SortByType - If set to 'true', ignores the scan date and sorts the returned scans by Pickup scans first, then Transit scans, then Delivery scans.
AllowEndOfDayMessage - add message iff last scan of the day is an ONB
A data structure like the following:
{ PickupFranchise: null, PickupFranchiseCode: null, PickupFranchiseCurrentDate: null, PickupFranchiseCurrentTime: null, DeliveryFranchise: 'Whangarei', DeliveryFranchiseCode: 'WRE', DeliveryFranchiseCurrentDate: '09/04/2021', DeliveryFranchiseCurrentTime: '12:46:52', DeliveryETADate: null, TSSDeliveryDays: null, LabelNumber: '3a0000253492', Scans: [{ Type: 'P' (or 'D' or 'T'. P is Pickup, D is Delivery and T is Transit) Courier: '110' Description: 'Pickup' Date: '12/10/2010 4:02:16 p.m.' UploadDate: '13/10/2010 4:03:12 p.m.' Name: 'Whangarei' Status: 'PPP' Franchise: 'WRE' StatusDescription: 'Your parcel was picked up.' CompanyInfo: { ContactName: '', Company: 'ELEPHANT HILL ESTATE & WINERY', Address1: '', Address2: '86 CIFTON RD', Address3: 'TE AWANGA', Address4: 'HAWKES BAY', Address5: '', Address6: '', Address7: '06 8726060', Address8: '', Comment: '' } }, { ...etc }], Signature: '', DistributedTo: 'Rotorua ', DistributedDate: '16/05/2010', Reference: '', OriginalLabelNumber: '3a0000253492', IsOnforward: '0', IsNZPostOnforward: false, OnforwardLabelNumber: '', CallingCard: '', CountryCode: '6', CallingCardLabelNumbers: [ ], HasDScan: false, LastScanDate: '2018-04-24 13:09:04', WasScannedLast24Hours: false, AddressOnParcel: null AddressOnParcel:{ dataSource:'My Fastway', company:'', name:'Sarah Smith', address1:'2020 Burwood St', address2:'', address3:'Hawthorn East, address4:'3123', phone:'1234567890', emailAddress:'email@fastway.org', isPopulated:true }, DeliveryServiceType: { ServiceCode: 'PIN', Description: 'A PIN is required for receipt of goods' } }
https://au.api.fastway.org/latest/tracktrace/detail/3a0000253492/6?api_key=YOUR_API_KEY