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

TrackEvents Property

The tracking events returned for a given TrackingNumber .

Syntax

public TrackDetailList getTrackEvents();

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:


bean.TrackShipment("EJ958083578US")

For i = 0 To bean.TrackEvents.Count() - 1
  debug.print bean.TrackEvents(i).Time
  debug.print bean.TrackEvents(i).Date
  debug.print bean.TrackEvents(i).Status
  debug.print bean.TrackEvents(i).City
  debug.print bean.TrackEvents(i).State
  debug.print bean.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