4.2 修改提货请求

描述

本章节讲向您展示如何修改提货请求。

开发/测试环境   : https://sandbox-apiv2.unixus.com.my/shipment/Pickup/v1/Modify
生产/正式环境   : https://apiv2.unixus.com.my/shipment/Pickup/v1/Modify
Method         : POST
Content-Type   : application/json
Accept-Language: en
Authorization  : Bearer {access_token}

请求

数据结构

修改提货
领域 类型 强制性 备注
Pickup ModifyPickupDetails[] Yes Refer to ModifyPickupDetails
ModifyPickupDetails
领域 类型 强制性 备注
Shipper PersonInfo Refer to PersonInfo
PickupNo String
Quantity Integer
Weight Numeric
PickupDateTime DateTime
Remarks String 没有
PersonInfo
字段 类型 必填 备注
Name String
ContactPerson String
IdentityNo String
Address1 String
Address2 String
Address3 String
Postcode String
City String
State String
CountryCode String
StationCode String
Phone1 String
Phone2 String
MobilePhone String
Fax String
Email String
Url String

样品:

{ "Pickup": [ { "PickupNo": "PKR180627160643", "Shipper": { "Name": "Unixus SDN BHD", "ContactPerson": "Nicholas", "Address1": "BLOCK A, GROUND FLOOR, GL06", "Address2": "Kelana Square, No.17, Jalan SS7/26", "Postcode": "47301", "City": "Petaling Jaya", "State": "Selangor", "CountryCode": "MY", "Phone1": "+60378038830", "Phone2": "111", "Mobile": "" }, "Quantity" : 5, "Weight": 10.0, "PickupDateTime": "2018-06-25T00:00:00+08:00" } ] }

响应

样品

{ "Summary": { "Total": 1, "Success": 1, "Failed": 0 }, "Pickup": [ { "IsSuccess": true, "PickupDetails": { "Shipper": { "Name": "Unixus SDN BHD", "ContactPerson": "Nicholas", "Address1": "BLOCK A, GROUND FLOOR, GL06", "Address2": "Kelana Square, No.17, Jalan SS7/26", "Postcode": "47301", "City": "Petaling Jaya", "State": "Selangor", "CountryCode": "MY", "Phone1": "+60378038830", "Phone2": "111" }, "PickupNo": "PKR180627160643", "Quantity": 5, "Weight": 20.0, "Vehicle": "Van", "PickupDateTime": "2018-06-25T00:00:00+08:00", "Status": "" } } ] }
Copyright © 2019 Unixus Solutions Sdn. Bhd. All rights reserved.