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;