更新时间:2022-03-02 03:46:43下载pdf
名称 | 版本 | 描述 |
---|---|---|
v2.0/pms/production/big/package/report | 2.0 | Report weight package completion interface |
请求类型
Post
业务参数
名称 | 类型 | 描述 | 是否必填 |
---|---|---|---|
orderCode | String | 工单编号 | 是 |
packageType | String | 包装类型,卷带传tape | 是 |
packageCode | String | 包装编号 | 是 |
weight | Integer | 毛重 g,默认0 | 是 |
netWeight | Integer | 净重 g,默认0 | 是 |
customAttributes | String | 自定义变量,JSONArray格式。示例:[{“attributeName” : “var1”,“attributeValue” : “杭州特供”}] | 否 |
其他参数
无
{
"orderCode" : "xxxxxx",
"packageType" : "tape",
"packageCode" : "xxxxxC0001",
"weight" : 100,
"netWeight" : 90,
"customAttributes" : [
{
"attributeName" : "var1",
"attributeValue" : "杭州特供"
}
]
}
名称 | 类型 | 描述 |
---|---|---|
result | List | 返回结果 |
result[0].orderCode | String | 工单号 |
result[0].packageCode | String | 包装箱号 |
result[0].tokenId | String | 授权码 |
result[0].wifiName | String | 热点名称 |
result[0].pid | String | PID |
result[0].packageNum | Integer | 包装里的数量 |
result[0].weight | BigDecimal | 毛量Kg |
result[0].netWeight | BigDecimal | 净重Kg |
result[0].sn | String | SN |
result[0].mac | String | MAC |
result[0].firmwareVersion | String | 版本号 |
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 | 物料编码 |
result[0].originMaterialCode | String | 原始物料编码 |
result[0].productSize | String | 产品型号 |
result[0].originProductSize | String | 原始产品型号 |
result[0].materialType | String | 物料类型 |
result[0].baseMaterialCode | String | 基础物料编码 |
result[0].batchNum | String | 批次号 |
result[0].materialName | String | 物料信息描述 |
result[0].labelModel | String | 客户标签model号 |
result[0].labelFccId | String | 客户标签fccid |
success | Boolean | 是否成功 |
请求成功示例
{
"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":"鹊起",
"weight":0,
"createDay":"11",
"materialCode":"01.06.01.000132",
"labelFccId":"",
"gmtCreate":1583907454804,
"createMonth":"03",
"materialName":"SC-WA002-V2-鹊起-smart camera-白色-整机生产资料",
"cycleYear":"20",
"netWeight":0,
"packageCode":"RCAJ07BDDC303",
"orderCode":"RCAJ07BDD",
"labelModel":"",
"pn":"3.0000.000"
}
],
"success" : true
}
请求失败示例
{
"success" : false,
"code" : "the_user_not_existed",
"mes" : "用户不存在"
}
名称 | 描述 |
---|---|
THE_BLANK_PARAM | 传入参数为空 |
THE_USER_NOT_EXISTED | 用户不存在 |
NO_DATA_PERMISSION | 没有操作权限 |
该内容对您有帮助吗?
是意见反馈该内容对您有帮助吗?
是意见反馈