Cabinet Api For Bestwond
  1. User API
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
        POST
    • 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. User API

Get box status api: User API

Developing
POST
https://api.bestwond.com/api/iot/device/callback/for/box/status/
The user system is used to receive the box door status API [please provide it by imitating this API]

Request

Body Params application/json
device_id
string 
required
Device Id
lock_address
string 
required
Lock adderss for box
lock_status
string 
required
Lock 1: 1 door closed, 0 door open.
Lock 2: 0 door closed, 1 door open.
Please check which type of lock you have
Example
{
  "device_id": "2000012297",
  "lock_address": "0101",
  "lock_status": 1
}

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/callback/for/box/status/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "device_id": "2000012297",
    "lock_address": "0101",
    "lock_status": 1
}'

Responses

🟢200成功
application/json
Body
code
string 
required
0 ok
Example
{
  "code": "string"
}
Modified at 2023-07-20 00:56:31
Previous
User API
Next
Set api for get box door open status
Built with