...
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 - Timeformat:yyyy-MM-dd'T'HH:mm:ssZ
- Systemdefaultscurrenttimeiftimeisnotuploaded.
|
23 | weightoperatingAccount | String | 8040 | O | operatoraccountineTower |
4 | weight | Double |
| M | weight:unitisKG | 3 | operatingAccount | String | 40 | O | operatoraccountineTower
4 | barcode | String | 64 | M | trackingNo |
|
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
...
代码块 |
---|
language | js |
---|
borderStyle | solid |
---|
firstline | 1 |
---|
title | Request |
---|
linenumbers | true |
---|
|
{
"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
代码块 |
---|
language | java |
---|
firstline | 1 |
---|
title | Response |
---|
linenumbers | true |
---|
|
{
"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"
}
|