1.3 Action Type

An indicator to notify the API which action to perform.

No. Parameter Data Type Mandatory Description
1 ActionType Enum Yes Allow user to choose the action of API
1 2 3 4 5 6 7 8 9 10 11
// Values of ActionType
// If you are using SOAP, use enumeration as value. 
// If you are using JSON, use numeric number as value.
public enum ActionType {
  Add = 0, 
  Update = 1, 
  Delete = 2, 
  Confirm = 3,
  Internal = 4, 
  UpdateByHawb = 5
}


Remarks:

  • ActionType.Update - Update shipment with new HawbNo.
  • ActionType.UpdateByHawb - Update shipment without create new HawbNo. (Not all service fully supports this update function)

Example:

1
shipments.ActionType = ActionType.Add;
Copyright © 2018 Unixus Solutions Sdn. Bhd. All rights reserved.