接口 notify.cabinet.changed
接口说明
自取柜配置发生变化时触发
业务参数
参数名称 | 类型 | 是否必须 | 说明 |
---|---|---|---|
RequestID | string | Y | 请求 id,用于多次请求下去重 |
返回示例
{
"RequestID":"fa0b2403-c369-49ca-8445-68822811f140"
"Name": "1", // 设备名称
"DeviceCode": "1", 设备编号
"Code": "108284445710", // 生产编码
"CargoConfig": [ // 货到详情
{
"Row": 1,
"Col": 1,
"BarCode": "",
},
{
"Row": 1,
"Col": 2,
"BarCode": "",
},
{
"Row": 1,
"Col": 3,
"BarCode": "",
},
{
"Row": 1,
"Col": 4,
"BarCode": "",
},
{
"Row": 1,
"Col": 5,
"BarCode": "",
},
{
"Row": 1,
"Col": 6,
"BarCode": "",
},
{
"Row": 2,
"Col": 1,
"BarCode": "",
},
{
"Row": 2,
"Col": 2,
"BarCode": "",
},
{
"Row": 2,
"Col": 3,
"BarCode": "",
},
{
"Row": 2,
"Col": 4,
"BarCode": "",
},
{
"Row": 2,
"Col": 5,
"BarCode": "",
},
{
"Row": 2,
"Col": 6,
"BarCode": "",
},
{
"Row": 3,
"Col": 1,
"BarCode": "",
},
{
"Row": 3,
"Col": 2,
"BarCode": "",
},
{
"Row": 3,
"Col": 3,
"BarCode": "",
},
{
"Row": 3,
"Col": 4,
"BarCode": "",
},
{
"Row": 3,
"Col": 5,
"BarCode": "",
},
{
"Row": 3,
"Col": 6,
"BarCode": "",
}
],
"EnableSell": false, // 是否开启售卖 默认停止售卖
"SellStatus": 0, // 设备售货状态 0=停止售货 1=正常售货 2=待投放
"OnlineStatus": 1, 设备在线状态 0=离线 1=在线
"Province": "湖北省",
"City": "黄冈市",
"District": "团风县",
"ServicePhone": "13715352279", // 客服电话
"ExtElectronicStatus": 1, // 0=断电 1=通电
"ReplenisherAccountID": "xxxxxxxx", // 补货员id
"CabinetCount": 2 // 柜门数
"Location": [
114.063956, // longitude
22.56013 // latitude
] // baidu map
}