Description
The operation station is used to collect goods. |
Path
HTTP Verb | URL |
---|---|
Post | /services/integration/carrier/received-event |
Request field
# | Field (API) | Data Type | Length | Mandatory | Details | |
1 | receivedTime | String | 80 | O | receivedTime: time when carrier receives parcel
| |
2 | scannedTime | String | 80 | O | time when carrier scans parcel
| |
3 | operatingAccount | String | 40 | O | operator account in eTower | |
4 | barcode | String | 64 | M | trackingNo |
Response content
a) status:Succeeded/Failed
b) code:
140001 | Barcode not found in eTower |
100011 | Do not have permission to operate parcel |
180035 | Didn’t do clock in |
c) eventId:The unique identifier of Event
d) lastScannedTime:Last scanned time
e) nextAction:
NO_ACTION | No need to take next step |
NO_CHANNEL_STEP | Account doesn’t have operation permission |
UNMANIFESTED | Didn’t dispatch manifest |
KYC_HOLD | Kyc hold |
FINANCE_DETENTION | Detained for finance problem |
SHIPPER_HOLD | Detained by shipper |
BATTERY_HOLD | Detained for contain battery |
BULKY_CARGO_HOLD | Detained by integrator in batches |
CONTRABAND_HOLD | Detained for contain contraband |
OTHER_HOLD | Detained for other reasons |
RETURN_HELD | Detained for returning |
DESPATCHED | Shipment has been dispatched from warehouse |
WEIGHING | weighing |
HOLD | Parcel has been detained |
DUPLICATE_SCAN | Rescanning |
PACKING_PROBLEMS | Packing that are improper has been detained. |
WEIGHING_EXCEED | Parcel of poor weight has been detained |
OVER_SIZE | Parcel is overweight and out of size. |
REPEAT_RECIPIENT | Recipient duplication. |
NON_CONFORMANCE_DECLARATION | Declaration is unmatched. |
HS_CODE_HOLD | Hs Code has been detained |
f) time format:yyyy-MM-dd'T'HH:mm:ssZ
e) serviceName:Service name that parcel belongs to
Request message
{ "barcode": "BJR2048503011420", "receivedTime": "2016-05-10T16:37:47+0800", "scannedTime": "2016-05-10T18:37:47+0800", "operatingAccount": "test.li@buylogic.cc" }
Response message
{ "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" }