页面树结构

版本比较

标识

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

接口说明

操作站用于收取货物。

路径

HTTP Verb URL
Post/services/integration/carrier/received-event

请求字段

#Field (API)Data TypeLengthMandatoryDetails

1receivedTimeString80O

receivedTime:timewhencarrierreceivesparcel

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

timewhencarrierscansparcel

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


3operatingAccountString40OoperatoraccountineTower
4barcodeString64MtrackingNo

响应内容

a)   status:Succeeded/Failed

b)   code:

140001

BarcodenotfoundineTower

100011

没有操作权限,无法操作订单

Donothavepermissiontooperateparcel

180035

没有打卡

Didntdoclockin

c)   eventId:TheuniqueidentifierofEvent

d)   lastScannedTime:Lastscannedtime

e)   nextAction:

NO_ACTION

无需进一步操作

Noneedtotakenextstep

NO_CHANNEL_STEP

账号没有操作权限

Accountdoesnthaveoperationpermission

UNMANIFESTED

订单没有预报

Didntdispatchmanifest

KYC_HOLD

Kyc hold

FINANCE_DETENTION

财务扣货

Detainedforfinanceproblem

SHIPPER_HOLD

卖家已扣留

Detainedbyshipper

BATTERY_HOLD

带电扣留

Detainedforcontainbattery

BULKY_CARGO_HOLD

集成商批量扣留

Detainedbyintegratorinbatches

CONTRABAND_HOLD

违禁品扣留

Detainedforcontaincontraband

OTHER_HOLD

其他扣留

Detainedforotherreasons

RETURN_HELD

退件扣留

Detainedforreturning

DESPATCHED

订单已出库

Shipmenthasbeendispatchedfromwarehouse

WEIGHING

称重

weighing

HOLD

订单已扣留

Parcelhasbeendetained

DUPLICATE_SCAN

重复扫描

Rescanning

PACKING_PROBLEMS

包装不符扣留

Packingthatareimproperhasbeendetained.

WEIGHING_EXCEED

重量差扣留

Parcelofpoorweighthasbeendetained

OVER_SIZE

超重超尺寸

Parcelisoverweightandoutofsize.

REPEAT_RECIPIENT

重复收件人

Recipientduplication.

NON_CONFORMANCE_DECLARATION

申报不符

Declarationisunmatched.

HS_CODE_HOLD

Hs

Code扣留

Codehasbeendetained

 f)    时间格式:yyyy timeformat:yyyy-MM-dd'T'HH:mm:ssZ

e)   serviceName:该包裹所属服务名称

...

serviceName:Servicenamethatparcelbelongsto

Request message

代码块
languagejs
borderStylesolid
firstline1
titleRequest
linenumberstrue
{
    "barcode": "BJR2048503011420",
    "receivedTime": "2016-05-10T16:37:47+0800",
    "scannedTime": "2016-05-10T18:37:47+0800",
    "operatingAccount": "test.li@buylogic.cc"
}

...


Response message

代码块
languagejava
firstline1
titleResponse
linenumberstrue
 {
    "status": "Succeeded",
    "code": 0,
    "eventId": "f946Glg9EbzrQ4FV4oZluQ",
    "barcode": "BJR2048503011420",
    "receivedTime": "2016-05-10T16:37:47+0800",
    "weighedTime": null,
    "dispatchedTime": null,
    "scannedTime": "2016-05-10T18:37:47+0800",
    "lastScannedTime": null,
    "trackingNo": "BJR2048503011420",
    "nextAction": "WEIGHING",
    "serviceName": "MiniPak EU Direct Injection"
}

...