页面树结构

版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

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

timewhenparcelisdetained

  • Timeformat:yyyy-MM-dd'T'HH:mm:ssZ
  • Systemdefaultscurrenttimeiftimeisnotuploaded.
2holdTypeNumber20M

holdType

23 Heldforweightdifference

3operatingAccountString40MoperatoraccountineTower
4barcodeString64MtrackingNo

Response content

a)   status:Succeeded/Failed

b)   code:

140001

Barcodedoesntexist

100011

Donothavepermissiontooperateparcel(Incorrectaccount/Incorrect
detainmenttype)

100009

Shipmentdoesntexist

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

代码块




Request message

代码块
languagejs
borderStylesolid
firstline1
titleRequest
linenumberstrue
{
    "barcode": "BJR2048503011420",
    "holdTime": "2016-05-10T19:22:47+0800",
    "holdType": 10,
    "operatingAccount": "test.li@buylogic.cc"
 } 


Response message

代码块
languagejava
firstline1
titleResponse
linenumberstrue
{
    "status": "Succeeded",
    "code": 0
}