Last Updated on : 2022-03-02 03:46:43download
Name | Version | Description |
---|---|---|
v2.0/pms/production/big/package/report | 2.0 | Report weight package completion interface |
HTTP type
Post
Parameters
Name | Type | Description | Required |
---|---|---|---|
orderCode | String | Work order number | Yes |
packageType | String | type of packaging, value: tape | Yes |
packageCode | String | Package number | Yes |
weight | Integer | Gross weight g, the default value is 0. | Yes |
netWeight | Integer | net weight g, the default value is 0. | Yes |
customAttributes | String | Custom variables, JSONArray format. Example:[{“attributeName” : “var1”,“attributeValue” : “Hangzhou”}] | No |
Other parameters
None
{
"orderCode" : "xxxxxx",
"packageType" : "tape",
"packageCode" : "xxxxxC0001",
"weight" : 100,
"netWeight" : 90,
"customAttributes" : [
{
"attributeName" : "var1",
"attributeValue" : "Hangzhou"
}
]
}
Name | Type | Description |
---|---|---|
result | List | rwturn result |
result[0].orderCode | String | Work order number |
result[0].packageCode | String | Packing box number |
result[0].tokenId | String | Authorization code |
result[0].wifiName | String | Hotspot name |
result[0].pid | String | PID |
result[0].packageNum | Integer | Quantity in the package |
result[0].weight | BigDecimal | Gross Kg |
result[0].netWeight | BigDecimal | Net weight Kg |
result[0].sn | String | SN |
result[0].mac | String | MAC |
result[0].firmwareVersion | String | version number |
result[0].ctei | String | CTEI |
result[0].cmei | String | CMEI |
result[0].cuei | String | CUEI |
result[0].imei | String | IMEI |
result[0].cuei | String | CUEI |
result[0].materialCode | String | Material coding |
result[0].originMaterialCode | String | Original material code |
result[0].productSize | String | Product number |
result[0].originProductSize | String | Original product model |
result[0].materialType | String | Material type |
result[0].baseMaterialCode | String | Basic material code |
result[0].batchNum | String | batch number |
result[0].materialName | String | Material information description |
result[0].labelModel | String | Customer label model number |
result[0].labelFccId | String | Customer tag fccid |
success | Boolean | whether succeed |
Successful response
{
"result" : [
{
"productSize":"dddss",
"createYear":"2020",
"originMaterialCode":"3.05.01.00092",
"pid":"ljkqdx99haaidiqx",
"cycleWeek":"11",
"mac":"68572d4c8209",
"baseMaterialCode":"3.05.01.00088",
"sn":"RCAJ07BWH00A9D",
"firmwareVersion":"2.2.4",
"so":"POORD001313",
"packageNum":50,
"originProductSize":"SC-WA002-V2",
"cycleDay":"071",
"tokenId":"KQSGbZEAAyJEsw0N",
"materialType":"smart camera ",
"batchNum":"queqi",
"weight":0,
"createDay":"11",
"materialCode":"01.06.01.000132",
"labelFccId":"",
"gmtCreate":1583907454804,
"createMonth":"03",
"materialName":"SC-WA002-V2-queqi-smart camera-",
"cycleYear":"20",
"netWeight":0,
"packageCode":"RCAJ07BDDC303",
"orderCode":"RCAJ07BDD",
"labelModel":"",
"pn":"3.0000.000"
}
],
"success" : true
}
Error response
{
"success" : false,
"code" : "the_user_not_existed",
"mes" : "the_user_not_existed"
}
Name | Description |
---|---|
THE_BLANK_PARAM | The incoming parameter is empty |
THE_USER_NOT_EXISTED | User does not exist |
NO_DATA_PERMISSION | No operation permission |
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback