门店设备状态推送接口
POST
/open/v1/table/fetchTables(上行接口)门店设备状态变更推送对应状态给第三方合作者
请求参数
Body 参数application/json
shopId
integer
门店Id
deviceId
string
设备ID
deviceStatus
integer
必需
设备状态,设备状态 1:在线 0:离线
示例
{
"shopId": 247900002,
"deviceId": "asdaffa",
"deviceStatus": 2
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
错误码;0:成功;其他详见错误码
message
string
错误说明
messageUuid
string
消息uuid
result
$ref(#/definitions/2356381)[]
可选
返回响应数据,json对象或数组,可空
#/definitions/2356381
可选
示例
{
"code": 0,
"message": "操作成功",
"messageUuid": "8061895e-5637-465f-87e9-16f3468d31af"
}
修改于 3 年前