Shipping Integrator V5 - Online Help
Shipping Integrator V5
Questions / Feedback?

TrackEvents Property

Collection of tracking details for all scanning events that occur during the shipping process (corresponding to the PackageIndex ).

Syntax

[VB.NET]
Public ReadOnlyProperty TrackEvents As TrackDetailList

[C#]
public TrackDetailList TrackEvents {get;}

Remarks

This should be inspected after a call to the TrackShipment method (for each idx = 0 to TrackCount - 1). Upon successful response, it will be populated with the details for all tracking activities returned by the UPS Server for a given shipment identifier (Package Tracking Number, Master Tracking Number or Reference Number).

If the idType is set to 0 (Package Tracking Number) when the TrackShipment method is called, then this collection will represent the tracking events for that package.

If the idType is set to either 1 (Master Tracking Number) or 2 (Reference Number) when the TrackShipment method is called, this collection will be populated for each package included in the shipment (from 1 to PackageCount).

Each tracking event has a Date, Time, Location, Address1, Address2, City, State, CountryCode, and Status tied to it.

For instance, if the response contains only one tracking event:


m_date = component.TrackEvents[0].Date;
m_time = component.TrackEvents[0].Time; 
m_status = component.TrackEvents[0].Status;
m_city = component.TrackEvents[0].City;
m_state = component.TrackEvents[0].State;
m_country = component.TrackEvents[0].CountryCode;

This property is read-only and not available at design time.

Default Value

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 5.0.6240.0