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

GetPackageLabel Method

Generates a shipping label for the specified package.

Syntax

[VB.NET]
Public Sub GetPackageLabel(ByVal PackageIndex As Integer)
[C#]
public void GetPackageLabel(int packageIndex);

Remarks

When this method is called, the following properties must have been set:

To print out the ShippingLabel, you can save it to the ShippingLabelFile file in LabelImageType format.

In order to print a label and manifest to be tendered to a Canada Post driver, you must:

  1. Assign each shipment a GroupId and then call GetPackageLabel for each package in the shipment.
  2. Call TransmitShipments with the GroupId for the shipment.
  3. Call GetManifest for each manifest in ManifestDetails.

Note that this only applies when submitting a contract shipment (ie. ContractId is set).

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