4D Shipping SDK 2020 .NET Edition

Questions / Feedback?

PackageIndex Property

The package index in a shipment returned for a given shipment id or reference number .

Syntax

public int PackageIndex { get; set; }
Public Property PackageIndex As Integer

Default Value

0

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.

Copyright (c) 2023 4D Payments Inc. - All rights reserved.
4D Shipping SDK 2020 .NET Edition - Version 20.1 [Build 8435]