3.3.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.Confirm;
ship.CustomerCode = "300001";
ship.ProfitCentreCode = string.Empty;
ship.HawbNo = "344010500000151";
ShipmentsClient client = new ShipmentsClient();
ShipmentsResponse response = client.ProcessShipments(ship);