2.6 更新货物重量
使用者可提供单个或多个 Hawb 号码及总重量来更新货物重量。
参数
序号 | 参数 | 资料形态 | 长度 | 必填项 | 说明 |
---|---|---|---|---|---|
1 | ShipmentsCredentials | ShipmentsCredentials | 是 | 参考1.2章节 | |
2 | HawbNo | String | 50 | 是 | Hawb 号码 |
3 | Weight | Numeric | 7,2 | 是 | 总重量。两位小数点 |
范例:
ShipmentWeightListRequest _par = new ShipmentWeightListRequest();
_par.ShipmentsCredentials = credential;
ShipmentWeight weight1 = new ShipmentWeight();
weight1.HawbNo = "344010500000151";
weight1.Weight = 52.50;
_par.ShipmentWeightList = new ShipmentWeight[1];
_par.ShipmentWeightList[0] = weight1;