- Cabinet Released Api
- How to Get Box Door Status
- Save And Take By Bw
Get device box list
POST
/api/iot/device/box/list/
API
Request
Query Params
sign
string
required
Body Params application/json
app_id
string
required
device_number
string
required
timestamps
string
required
Example
{
"device_number": "2100013075",
"app_id": "bw_de2767d821f911e",
"timestamps": 66454255663
}
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/list/?sign' \
--header 'Content-Type: application/json' \
--data-raw '{
"device_number": "2100013075",
"app_id": "bw_de2767d821f911e",
"timestamps": 66454255663
}'
Responses
🟢200成功
application/json
Body
code
string
required
data
required
One of
box_id
string
required
box_name
string
required
lock_address
string
required
box_size
enum<string>
required
Allowed values:
SMLSXLX
device_number
string
required
>= 10 characters<= 10 characters
Default:
Match pattern:
20000[/d]{5}
box_status
enum<integer>
required
Allowed values:
12
enable_status
enum<integer>
required
Allowed values:
12
order_no
string
required
msg
string
optional
Example
{
"code": 0,
"msg": "Operation successful",
"data": [
{
"box_id": 9534,
"box_size": "L",
"box_name": "01",
"lock_address": "0101",
"device_number": "2000012297",
"box_status": 1,
"enable_status": 1,
"order_no": "6903244679947",
"save_time": "2023-01-10 18:02:19"
},
{
"box_id": 9535,
"box_size": "L",
"box_name": "02",
"lock_address": "0102",
"device_number": "2000012297",
"box_status": 1,
"enable_status": 1,
"order_no": "75893325936545",
"save_time": "2023-01-06 14:35:19"
},
{
"box_id": 9536,
"box_size": "M",
"box_name": "03",
"lock_address": "0103",
"device_number": "2000012297",
"box_status": 1,
"enable_status": 1,
"order_no": "S1001",
"save_time": "2022-12-28 17:14:44"
},
{
"box_id": 9537,
"box_size": "M",
"box_name": "04",
"lock_address": "0104",
"device_number": "2000012297",
"box_status": 1,
"enable_status": 1,
"order_no": "6971826053423",
"save_time": "2023-01-10 18:04:54"
},
{
"box_id": 9538,
"box_size": "S",
"box_name": "05",
"lock_address": "0105",
"device_number": "2000012297",
"box_status": 1,
"enable_status": 1,
"order_no": null,
"save_time": null
},
{
"box_id": 9539,
"box_size": "S",
"box_name": "07",
"lock_address": "0107",
"device_number": "2000012297",
"box_status": 1,
"enable_status": 1,
"order_no": "230004",
"save_time": "2023-01-07 10:43:53"
},
{
"box_id": 9540,
"box_size": "S",
"box_name": "06",
"lock_address": "0106",
"device_number": "2000012297",
"box_status": 1,
"enable_status": 1,
"order_no": "213",
"save_time": "2023-01-02 15:50:36"
},
{
"box_id": 9541,
"box_size": "S",
"box_name": "09",
"lock_address": "0109",
"device_number": "2000012297",
"box_status": 1,
"enable_status": 1,
"order_no": null,
"save_time": null
},
{
"box_id": 9542,
"box_size": "S",
"box_name": "08",
"lock_address": "0108",
"device_number": "2000012297",
"box_status": 1,
"enable_status": 1,
"order_no": null,
"save_time": null
},
{
"box_id": 9543,
"box_size": "S",
"box_name": "12",
"lock_address": "010c",
"device_number": "2000012297",
"box_status": 1,
"enable_status": 1,
"order_no": "820405436255",
"save_time": "2023-01-10 18:07:05"
},
{
"box_id": 9544,
"box_size": "L",
"box_name": "14",
"lock_address": "010e",
"device_number": "2000012297",
"box_status": 1,
"enable_status": 1,
"order_no": "6958589624565",
"save_time": "2023-01-10 18:01:27"
},
{
"box_id": 9545,
"box_size": "S",
"box_name": "10",
"lock_address": "010a",
"device_number": "2000012297",
"box_status": 1,
"enable_status": 1,
"order_no": "386",
"save_time": "2023-01-09 16:26:44"
},
{
"box_id": 9546,
"box_size": "S",
"box_name": "11",
"lock_address": "010b",
"device_number": "2000012297",
"box_status": 1,
"enable_status": 1,
"order_no": "230001",
"save_time": "2023-01-06 15:24:10"
},
{
"box_id": 9547,
"box_size": "L",
"box_name": "13",
"lock_address": "010d",
"device_number": "2000012297",
"box_status": 1,
"enable_status": 1,
"order_no": null,
"save_time": null
},
{
"box_id": 9548,
"box_size": "M",
"box_name": "15",
"lock_address": "010f",
"device_number": "2000012297",
"box_status": 1,
"enable_status": 1,
"order_no": "0091",
"save_time": "2023-01-06 14:28:41"
},
{
"box_id": 9549,
"box_size": "M",
"box_name": "16",
"lock_address": "0110",
"device_number": "2000012297",
"box_status": 1,
"enable_status": 1,
"order_no": "432658496698320",
"save_time": "2023-01-06 14:33:51"
},
{
"box_id": 9550,
"box_size": "S",
"box_name": "20",
"lock_address": "0114",
"device_number": "2000012297",
"box_status": 1,
"enable_status": 1,
"order_no": "387",
"save_time": "2023-01-09 15:30:21"
},
{
"box_id": 9551,
"box_size": "S",
"box_name": "18",
"lock_address": "0112",
"device_number": "2000012297",
"box_status": 1,
"enable_status": 1,
"order_no": null,
"save_time": null
},
{
"box_id": 9552,
"box_size": "S",
"box_name": "19",
"lock_address": "0113",
"device_number": "2000012297",
"box_status": 2,
"enable_status": 1,
"order_no": "230002",
"save_time": "2023-01-06 15:42:06"
},
{
"box_id": 9553,
"box_size": "S",
"box_name": "23",
"lock_address": "0117",
"device_number": "2000012297",
"box_status": 1,
"enable_status": 1,
"order_no": "1201",
"save_time": "2023-01-02 16:33:35"
},
{
"box_id": 9554,
"box_size": "S",
"box_name": "21",
"lock_address": "0115",
"device_number": "2000012297",
"box_status": 2,
"enable_status": 1,
"order_no": "230003",
"save_time": "2023-01-06 15:43:34"
},
{
"box_id": 9555,
"box_size": "S",
"box_name": "24",
"lock_address": "0118",
"device_number": "2000012297",
"box_status": 1,
"enable_status": 1,
"order_no": null,
"save_time": null
},
{
"box_id": 9556,
"box_size": "S",
"box_name": "17",
"lock_address": "0111",
"device_number": "2000012297",
"box_status": 1,
"enable_status": 1,
"order_no": "385",
"save_time": "2023-01-09 15:48:58"
},
{
"box_id": 9557,
"box_size": "S",
"box_name": "22",
"lock_address": "0116",
"device_number": "2000012297",
"box_status": 1,
"enable_status": 1,
"order_no": null,
"save_time": null
}
],
"des": ""
}
Modified at 2023-08-14 00:55:22