GetPackageLabel Method
Generates a shipping label for the first package in the shipment.
Syntax
[VB.NET] Public Sub GetPackageLabel()
[C#] public void GetPackageLabel();
Remarks
When this method is called, the following properties must have been set:
- Server (required)
- AccountNumber (required for Endicia shipments)
- UserId (required)
- Password (required)
- LabelImageType (required)
- SenderAddress (required)
- SenderContact (optional)
- RecipientAddress (required)
- RecipientContact (optional)
- Packages (required)
- ServiceType (required)
- ShipDate (optional)
- MailingLocation (optional)
- CustomerId (optional)
This method fills in the following fields:
- TrackingNumber
- ShippingLabel
- NetCharge (only for Endicia and Express labels);
- ShipDate (only for Endicia)