Get box status api: User API
开发中POST
https://api.bestwond.com/api/iot/device/callback/for/box/status/The user system is used to receive the box door status API [please provide it by imitating this API]
请求参数
Body Params application/json
device_id
string
required
Device Id
lock_address
string
required
Lock adderss for box
lock_status
string
required
Lock 1: 1 door closed, 0 door open.
Lock 2: 0 door closed, 1 door open.
Please check which type of lock you have
Example
{
"device_id": "2000012297",
"lock_address": "0101",
"lock_status": 1
}
示例代码
Responses
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
code
string
required
0 ok
Example
{
"code": "string"
}
Modified at 1 年前