PackageIndex Property
The package index in a shipment returned for a given shipment id or reference number .
Syntax
[VB.NET] Public Property PackageIndex As Integer
[C#] public int PackageIndex {get; set;}
Remarks
This property contains the index of a package returned from the UPS Server after calling TrackShipment method where the idType is set to either 1 (Shipment Id) or 2 (Reference Number).
The PackageCount will contain the number of packages included in a shipment and the PackageIndex will contain the package index in the list of packages.
To retrieve all attributes corresponding to a package, the PackageIndex should be set from 0 to PackageCount - 1.
Default Value
0