4.2 Modify Pickup

Description

This section will show you how to modyfi the pickup.


Request

Data Structure

Modify Pickup
Field Type Mandatory Remarks
Pickup ModifyPickupDetails[] Yes Refer to ModifyPickupDetails
ModifyPickupDetails
Field Type Mandatory Remarks
Shipper PersonInfo Yes Refer to PersonInfo
PickupNo String Yes
Quantity Integer Yes
Weight Numeric Yes
PickupDateTime DateTime Yes
Remarks String No
PersonInfo
Field Type Mandatory Description
Name String No
ContactPerson String Yes
IdentityNo String No
Address1 String Yes
Address2 String No
Address3 String No
Postcode String Yes
City String Yes
State String Yes
CountryCode String Yes
StationCode String No
Phone1 String Yes
Phone2 String No
MobilePhone String No
Fax String No
Email String No
Url String No

Sample:

POST Pickup/{api_version}/Modify
Content-Type: application/json
Accept-Language: en
Authorization: Bearer {access_token}
{ "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" } ] }

Response

Sample

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