4.2 修改提货
描述
This section will show you how to modyfi the pickup.
Url : https://apiv2.unixus.com.my/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 | 没有 | |
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": ""
}
}
]
}