...
Description
The operation station is used to update the actual weight of the package. |
...
Path
HTTP Verb | URL |
---|---|
Post | /services/integration/carrier/weighed-event |
...
Request field
# | Field (API) | Data Type | Length | Mandatory | Details | |
1 | barcode | String | 64 | M | trackingNo | |
2 | weighedTime | String | 80 | O |
称重时间
Weighing time
|
重量,单位公斤(KG)
...
| ||||||
3 | operatingAccount | String | 40 | O | operatoraccountineTower | |
4 | weight | Double | M | weight:unitisKG | ||
5 | length | Double | O | length:unitis CM | ||
6 | width | Double | O | width:unitis CM | ||
7 | height | Double | O | height:unitis CM |
Response content
a) status:Succeeded/Failed
b) code:
140001 |
Barcodedoesn’texist |
100011 |
Donothavepermissiontooperateparcel |
120053 |
Weightbeyondmaxlimitation40kg |
100009 |
订单不存在
...
Shipmentdoesn’texist | |
300050 | Bagged |
c) eventId:Event唯一标识deventId:theuniqueidentifierofEvent
e) nextAction:
NO_ACTION |
Noneedtotakenextstep |
NO_CHANNEL_STEP |
Accountdoesn’thaveoperationpermission |
UNMANIFESTED |
Didn’tdispatchmanifest | |
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 |
订单已扣留
OVER_LOAD_WARN
Parcelhasbeendetained | |
DUPLICATE_SCAN | Rescanning |
PACKING_PROBLEMS |
Packingthatareimproperhasbeendetained. |
WEIGHING_EXCEED |
Parcelofpoorweighthasbeendetained |
OVER_SIZE |
Parcelisoverweightandoutofsize. |
REPEAT_RECIPIENT |
Recipientduplication. |
NON_CONFORMANCE_DECLARATION |
申报不符
...
Declarationisunmatched. | |
HS_CODE_HOLD | HsCodehasbeendetained |
RELABEL | CHANGE LABEL |
DIMENSION_MISS | L/W/H is required |
f) timeformat:yyyy-MM-dd'T'HH:mm:ssZ
f) serviceName:该包裹所属服务名称
...
e) serviceName:Servicenamethatparcelbelongsto
Request message
代码块 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
{ "status": "Succeeded", "code": 0, "eventId": "Uexz-WGRbp-YRBS7vINvgQ", { "barcode": "BJR2048503011420", "receivedTime": "2016-05-10T16:37:47+0800", "weighedTime": "20162022-0511-10T1911T11:22:4748+0800", "dispatchedTimeoperatingAccount": null, "scannedTime": "2016-05-10T18:37:47+0800", "lastScannedTimeweight": null0.8, "trackingNolength": "BJR2048503011420"15, "weightwidth": 0.813, "nextActionheight": "NO_ACTION", "serviceName": "MiniPak EU Direct Injection" 12 } |
...
Response message
代码块 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "status": "Succeeded", "code": 0, "eventId": "f946Glg9EbzrQ4FV4oZluQ", "barcode": "BJR2048503011420", "receivedTime": "20162022-0511-10T1611T11:3719:47+0800", "weighedTime": null2022-11-11T11:22:48+0800, "dispatchedTime": null, "scannedTime": "20162022-0511-10T1811T11:3720:47+0800", "lastScannedTime": null, "trackingNo": "BJR2048503011420", "nextAction": "WEIGHINGNO_ACTION", "serviceName": "MiniPak EU Direct Injection" } |