- Cabinet Released Api
- How to Get Box Door Status
- Save And Take By Bw
Get device box log
POST
/api/iot/device/box/log/
Request
Query Params
sign
string
optional
Body Params application/json
app_id
string
required
device_number
string
required
box_name
string
required
timestamps
integer
required
page_num
integer
required
page_size
integer
required
Example
{
"device_number": "2100013075",
"box_name": "01",
"timestamps": -3120460,
"app_id": "bw_de2767d821f911e",
"page_num": 1,
"page_size": 20
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.bestwond.com/api/iot/device/box/log/?sign=' \
--header 'Content-Type: application/json' \
--data-raw '{
"device_number": "2100013075",
"box_name": "01",
"timestamps": -3120460,
"app_id": "bw_de2767d821f911e",
"page_num": 1,
"page_size": 20
}'
Responses
🟢200成功
application/json
Body
code
string
required
data
object
required
page
object
required
list
array [object {12}]
required
msg
string
required
Example
{
"code": 0,
"msg": "Operation successful",
"data": {
"page": {
"is_first_page": true,
"is_last_page": true,
"page_num": 1,
"page_size": 20,
"total_page": 1,
"total_count": 3,
"page_list": [
1
]
},
"list": [
{
"task_id": 129535,
"market_id": 37,
"app_id": "bw_de2767d821f911e",
"device_number": "2000012297",
"address": "AnZhuang",
"box_name": "01",
"lock_addr": "0101",
"action": "1",
"remark": "Manage backend calls success",
"action_time": "2023-07-18 16:09:22",
"uptime": "2023-07-18 16:09:22",
"ctime": "2023-07-18 16:09:22"
},
{
"task_id": 129533,
"market_id": 37,
"app_id": "bw_de2767d821f911e",
"device_number": "2000012297",
"address": "AnZhuang",
"box_name": "01",
"lock_addr": "0101",
"action": "1",
"remark": "Manage backend calls success",
"action_time": "2023-07-18 16:06:59",
"uptime": "2023-07-18 16:06:59",
"ctime": "2023-07-18 16:06:59"
},
{
"task_id": 129532,
"market_id": 37,
"app_id": "bw_de2767d821f911e",
"device_number": "2000012297",
"address": "AnZhuang",
"box_name": "01",
"lock_addr": "0101",
"action": "1",
"remark": "API calls : Device not online",
"action_time": "2023-07-18 16:06:54",
"uptime": "2023-07-18 16:06:54",
"ctime": "2023-07-18 16:06:54"
}
]
},
"des": ""
}
Modified at 2023-08-14 00:55:31