页面树结构
转至元数据结尾
转至元数据起始

Description

The operation station is used to detain the package and update the package status

Path

HTTP Verb URL
Post/services/integration/carrier/hold

Request field

#Field (API)Data TypeLengthMandatoryDetails

1holdTimeString80M

time when parcel is detained

  • Time format:yyyy-MM-dd'T'HH:mm:ssZ
  • System defaults current time if time is not uploaded.
2holdTypeNumber20M

holdType

10, Overload Hold

11, Overlength Hold

12, PackingProblems Hold

23, Difference In Weight

25, Repeat Recipient

27, Over Size

3operatingAccountString40Moperator account in eTower
4barcodeString64MtrackingNo

Response content

a)   status:Succeeded/Failed

b)   code:

140001

Barcode doesnt exist

100011

Do not have permission to operate parcel (Incorrect account / Incorrect
detainment type)

100009

Shipment doesnt exist

c)  Time format:yyyy-MM-dd'T'HH:mm:ssZ




Request message

Request
{
    "barcode": "BJR2048503011420",
    "holdTime": "2016-05-10T19:22:47+0800",
    "holdType": 10,
    "operatingAccount": "test.li@buylogic.cc"
 } 

Response message

Response
{
    "status": "Succeeded",
    "code": 0
}



  • 无标签