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

TrackEvents Property

The tracking events returned for a given TrackingNumber .

Syntax

[VB.NET]
Public ReadOnlyProperty TrackEvents As TrackDetailList

[C#]
public TrackDetailList TrackEvents {get;}

Remarks

This property contains the tracking events returned from the USPS Server after a call to TrackShipment.

For example, when RequestType has been set to rtDetail:


component.TrackShipment("EJ958083578US")

For i = 0 To component.TrackEvents.Count() - 1
  debug.print component.TrackEvents(i).Time
  debug.print component.TrackEvents(i).Date
  debug.print component.TrackEvents(i).Status
  debug.print component.TrackEvents(i).City
  debug.print component.TrackEvents(i).State
  debug.print component.TrackEvents(i).ZipCode
  debug.print VbCrLf;
Next

The output will look similar to the following:

8:10 am
June 1, 2001
DELIVERED
WILMINGTON
DE
19801

11:07 am
May 30, 2001
NOTICE LEFT
WILMINGTON
DE
19801

10:08 am
May 30, 2001
ARRIVAL AT UNIT
WILMINGTON
DE
19850

9:55 pm
May 29, 2001
ACCEPTANCE
EDGEWATER
NJ
07020
However, when RequestType has been set to rtSummary, only the Status field will be populated with the summary of the event.

If there is a problem with a specific TrackingNumber within the request, the response will raise an error which will be returned in the TrackEvents property that pertains to the specific TrackingNumber. For more details on errors codes and descriptions, please refer to the Error Messages section.

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