- Cabinet Released Api
- How to Get Box Door Status
- Save And Take By Bw
Get device list
POST
/api/iot/device/list/
Request
Query Params
sign
string
optional
Body Params application/json
app_id
string
required
device_number
string
optional
timestamps
integer
required
device_name
string
optional
Example
{
"timestamps": -12101683,
"app_id": "bw_de2767d821f911e"
}
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/list/?sign=' \
--header 'Content-Type: application/json' \
--data-raw '{
"timestamps": -12101683,
"app_id": "bw_de2767d821f911e"
}'
Responses
🟢200成功
application/json
Body
code
integer
required
msg
string
required
data
object
required
page
object
required
list
array [object {18}]
required
des
string
required
Example
{
"code": 0,
"msg": "Operation successful",
"data": [
{
"device_number": "2100013933",
"market_id": 37,
"device_name": "2100013933",
"device_address": "2100013933",
"device_status": 1,
"device_inline": 1,
"nation": "zg",
"province": "Henan",
"city": "Luoyang",
"district": "Luolong",
"street": "Xiaowendadao",
"longitude": 112.567758,
"latitude": 34.622831,
"tel": "177777777",
"start_servcie_time": "2023-03-17 17:30:31",
"end_servcie_time": "2024-03-17 17:30:31",
"uptime": "2023-07-15 09:24:46",
"ctime": "2023-03-13 15:57:34"
},
{
"device_number": "2100013075",
"market_id": 37,
"device_name": "Test2",
"device_address": "Anzhuang",
"device_status": 1,
"device_inline": 1,
"nation": "China",
"province": "Henan",
"city": "Luoyang",
"district": "Luolong",
"street": "Xiaowen",
"longitude": 112.567519,
"latitude": 34.620722,
"tel": "17629726556",
"start_servcie_time": "2022-11-01 16:42:47",
"end_servcie_time": "2023-11-01 16:42:47",
"uptime": "2023-07-15 09:24:46",
"ctime": "2022-10-31 10:07:57"
},
{
"device_number": "2000012297",
"market_id": 37,
"device_name": "Test3",
"device_address": "AnZhuang",
"device_status": 1,
"device_inline": 1,
"nation": "China",
"province": "Henan",
"city": "Luoyang",
"district": "Luolong",
"street": "Fenyelu",
"longitude": 112.57092,
"latitude": 34.621881,
"tel": "17638885961",
"start_servcie_time": "2022-07-04 15:58:07",
"end_servcie_time": "2024-04-03 15:57:47",
"uptime": "2023-07-15 09:24:46",
"ctime": "2022-06-30 15:58:52"
}
],
"des": ""
}
Modified at 2023-07-17 09:00:27