- Cabinet Released Api
- How to Get Box Door Status
- Save And Take By Bw
Get device box used info
POST
/api/iot/get/device/tj/info/
Request
Query Params
sign
string
optional
Body Params application/json
device_number
string
required
app_id
string
required
Example
{
"device_number": "2100013075",
"app_id": "bw_de2767d821f911e",
"timestamps": 123123213
}
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/get/device/tj/info/?sign=' \
--header 'Content-Type: application/json' \
--data-raw '{
"device_number": "2100013075",
"app_id": "bw_de2767d821f911e",
"timestamps": 123123213
}'
Responses
🟢200OK
application/json
Body
code
integer
required
msg
string
required
data
object
required
device_number
string
required
timestamps
integer
required
left_box_count
integer
required
used_box_count
integer
required
disabled_box_count
integer
required
already_sysnc_count
integer
required
already_save_count
integer
required
already_take_count
integer
required
box_size_count
array [object {3}]
required
sign
string
required
des
string
required
Example
{
"code": 0,
"msg": "SUCCESS",
"data": {
"device_number": "2000012297",
"timestamps": 1689730943,
"left_box_count": 22,
"used_box_count": 2,
"disabled_box_count": 0,
"already_sysnc_count": 16,
"already_save_count": 7,
"already_take_count": 39,
"box_size_count": [
{
"count": 4,
"box_size": "L",
"status": 1
},
{
"count": 4,
"box_size": "M",
"status": 1
},
{
"count": 14,
"box_size": "S",
"status": 1
},
{
"count": 2,
"box_size": "S",
"status": 2
}
],
"sign": "f260140b7cc3d578371097c3ae4d69f4aa3eee9ee273181e72d9d943fd2f505ecad047f0e1fcfc493bfb2f4dd9147d5e201109a61918edc5e526c7381534eef5"
},
"des": ""
}
Modified at 2023-08-14 00:55:47