Alert!

This is the latest version of the API! It is subject to change and may contain bugs! Use only for testing new features or at your own risk.
Invocation URL: /latest/tracktrace/detail

Descripton:

Do a Track/Trace lookup on the specified LabelNumber.

Parameters:

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

Returns:

A data structure like the following:

{
    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: 'http://link/to/signature.jpg'
    DistributedTo: 'Whangarei',
    DistributedDate:'29 / 04 / 2017',
    Reference:'',
    OriginalLabelNumber:'MS0000172438',
    IsOnforward:'0',
    CallingCard:'',
    CountryCode:'1',
    CallingCardLabelNumbers:[],
    AddressOnParcel:{  
         dataSource:'aramexConnect',
         company:'',
         name:'Sarah Smith',
         address1:'2020 Burwood St',
         address2:'',
         address3:'Hawthorn East,
         address4:'3123',
         phone:'1234567890',
         emailAddress:'email@fastway.org',
         isPopulated:true
      }

}

Example:

https://ie.api.fastway.org/latest/tracktrace/detail/3a0000253492/6?api_key=YOUR_API_KEY

Back to Track and Trace