3.6 更新装运重量

描述

用户可以通过提供单个或多个HawbNo和总重量来更新装运重量.


请求

数据结构

UpdateShipmentWeight
Field Type Mandatory Remarks
ShipmentsWeight UpdateShipmentsWeightDetails[] Yes Refer to UpdateShipmentsWeightDetails
UpdateShipmentsWeightDetails
Field Type Mandatory Remarks
HawbNo String Yes
ActualWeight Numeric Yes

样品:

POST /{api_version}/UpdateWeight
Content-Type: application/json
Accept-Language: en
Authorization: Bearer {access_token}
{ "ShipmentsWeight" : [ { "HawbNo" : "458040010395273", "ActualWeight" : 3.0 }, { "HawbNo" : "458040010400335", "ActualWeight" : 7.0 } ] }

响应

样品

{ "Summary": { "Total": 2, "Success": 2, "Failed": 0 }, "ShipmentsResponse": [ { "IsSuccess": true, "ShipmentWeightDetails": { "HawbNo": "458040010395273", "ActualWeight": 3.0 } }, { "IsSuccess": true, "ShipmentWeightDetails": { "HawbNo": "458040010400335", "ActualWeight": 7.0 } } ] }
Copyright © 2018 Unixus Solutions Sdn. Bhd. All rights reserved.