3.2.1 刪除貨物 (C#)
刪除貨物範例程式
ShipmentsCredentials cred = new ShipmentsCredentials();
cred.UserName = "username";
cred.Password = "password";
cred.CultureType = CultureType.English;
ShipmentsParameter ship = new ShipmentsParameter();
ship.ShipmentsCredentials = cred;
ship.ActionType = ActionType.Delete;
ship.CustomerCode = "300001";
ship.ProfitCentreCode = string.Empty;
ship.HawbNo = "344010500000151";
ShipmentsClient client = new ShipmentsClient();
ShipmentsResponse response = client.ProcessShipments(ship);