3.6 更新装运重量

描述

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

Url : https://apiv2.unixus.com.my/shipment/v2/UpdateWeight
Method : POST
Content-Type: application/json
Accept-Language: en
Authorization: Bearer {access_token}

请求

数据结构

UpdateShipmentWeight
领域 类型 强制性 备注
ShipmentsWeight UpdateShipmentsWeightDetails[] Refer to UpdateShipmentsWeightDetails
UpdateShipmentsWeightDetails
领域 类型 强制性 备注
HawbNo String
ActualWeight Numeric

样品:

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 © 2019 Unixus Solutions Sdn. Bhd. All rights reserved.