4.1 创建皮卡

描述

本节将向您展示如何创建拾取.

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

请求

数据结构

创建皮卡
领域 类型 强制性 备注
Pickup CreatePickupDetails[] 参考 CreatePickupDetails
CreatePickupDetails
领域 类型 强制性 备注
Shipper PersonInfo 参考 PersonInfo
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": [ { "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": "PKR180629141901", "Quantity": 5, "Weight": 10.0, "PickupDateTime": "0001-01-01T00:00:00+00:00" } } ] }
Copyright © 2019 Unixus Solutions Sdn. Bhd. All rights reserved.