Cancels an individual package, as specified by its tracking number. This procedure also has the side effect of deleting the corresponding record from the LabelHistory table.
Procedure Specific Information
The stored procedure will remove a record from the following table:
In order to execute this procedure, one must specify TrackingNumber. See the example below:
EXECUTE CancelPackage TrackingNumber = '1Z12345E0390105056'
|TrackingNumber||String||Tracking number of shipment to be canceled.|
|TrackingIdType||String|| Type of identifier used to track shipment.
|ShipDate||Date||Date the shipment was to be shipped. This value should be in the format (yyyy-MM-dd).|
|ShipTime||Time||Time the shipment was to be shipped. This value should be in the format (hh:mm:ss).|
Result Set Columns
|Success||String||Success or failure.|