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);