TransmitShipments Method
Submits the shipment information and retrieve the manifest for the specified GroupId.
Syntax
public void transmitShipments();
Remarks
This will transmit the shipment information for the specified GroupId and print the manifest for that shipment.
If you wish to get the manifest for more than one group, you can specify more than one group ID in a comma separated list in the GroupId property.
The following properties must be set before making a call to TransmitShipments:
- ExcludedShipments (Optional)
- GroupId (Required)
- ManifestFile (Required)
- SenderAddress (Required)
In order to print a label and manifest to be tendered to a Canada Post driver, you must:
- Assign each shipment a GroupId and then call GetPackageLabel for each package in the shipment.
- Call TransmitShipments with the GroupId for the shipment.
- Call GetManifest for each manifest in ManifestDetails.
Note that this only applies when submitting a contract shipment (ie. ContractId is set).