Process Flow

  1. Chapter 2.1 (Create Shipment) describes how you can construct the Shipment object (in JSON or Web Service Shipment object) to be sent to the ProcessShipment Web Service method / endpoint (Chapter 1.1). You use "ActionType" : "0" in the ShipmentParameter to indicate that it's a new shipment (0=Add, 1=Update, 2=Delete, 3=Confirm, 5=UpdateByHawb). Note that you will get a new and different HAWB_NO if you perform and Update, and therefore need to call PrintLabel again. To update a shipment without changing the HAWB_NO, use "ActionType":"5" in the ShipmentParameter.

  2. Chapter 2.4 Print Label describes the configuration to be used to call the GenerateReport Web Service method / endpoint (see Chatper 3.4 for sample code).

  3. Chapter 2.3 Confirm Shipment is to notify the courier agent(s) to start processing your shipment.

In essence, you need would need to call ProcessShipment with "ActionType":"0" to create a shipment and GenerateReport to print the label with the given HAWB_NO from the ProcessShipment step. Finally, you would need to call ProcessShipment again with "ActionType":"3" to confirm a shipment.

Copyright © 2018 Unixus Solutions Sdn. Bhd. All rights reserved.