Cabinet Api For Bestwond
  1. How to Get Box Door Status
Cabinet Api For Bestwond
  • Cabinet Released Api
    • Open device box
      POST
    • Screen display settings
      POST
    • Get device status
      POST
    • Get device box list
      POST
    • Get device list
      POST
    • Get device box log
      POST
  • How to Get Box Door Status
    • User API
      • Get box status api: User API
    • Set api for get box door open status
      POST
    • Get device box door open status
      POST
  • Save And Take By Bw
    • Set orders that can be saved in
      POST
    • Get device box doors that can be stored
      POST
    • Get device box used info
      POST
    • Express storage and retrieval API
      POST
    • Get device box save order info
      POST
    • Set Express storage and retrieval Webhook
      POST
    • Delete Order
      POST
    • Delete Order By Order No
      POST
  1. How to Get Box Door Status

Set api for get box door open status

POST
/api/iot/device/set/box/callback/address/
Users API
Set api for get box status: https://api.bestwond.com/device/set/box/callback/address/

Request

Query Params
sign
string 
required
Obtained through signature
Body Params application/json
app_id
string 
required
App Id
device_number
string 
required
Device Id
timestamps
string 
required
Timestamps
call_ad
string 
required
Notification API Address
Example
{
    "device_number": "2100013075",
    "timestamps": 6544215251125,
    "app_id": "bw_de2767d821f911e",
    "call_ad": "https://***/device/box/status/"
}

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/set/box/callback/address/?sign' \
--header 'Content-Type: application/json' \
--data-raw '{
    "device_number": "2100013075",
    "timestamps": 6544215251125,
    "app_id": "bw_de2767d821f911e",
    "call_ad": "https://***/device/box/status/"
}'

Responses

🟢200成功
application/json
Body
code
string 
required
0 Indicates successful API call
data
object 
required
Data
app_id
string 
required
App Id
device_number
string 
required
Device Id
call_ad
string 
required
Notification API Address
timestamps
string 
required
Time stamp
status
string 
required
0 indicates successful sending to the device
sign
string 
required
sign
msg
string 
optional
Message
Example
{
    "code": 0,
    "msg": "操作成功",
    "data": {
        "app_id": "bw_de2767d821f911e",
        "device_number": "2000012297",
        "call_ad": "httpps://***",
        "timestamps": 1688787319,
        "status": "success",
        "msg": "ok",
        "sign": "d156527618e2ad096fdfb29c25716bdc68000fc81e0c9480c2c4f7f74e90cd7d666c42cb27c1ed2db1a213b4f54e7916fb8abad01c5249ae652fe0945436c7ff"
    },
    "des": ""
}
Modified at 2023-08-14 00:55:36
Previous
Get box status api: User API
Next
Get device box door open status
Built with