Cabinet Api For Bestwond
  1. Save And Take By Bw
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. Save And Take By Bw

Set Express storage and retrieval Webhook

POST
/api/iot/set/app/webhook/
Not ok
When call Express storage and retrieval call interface, the app webhook will triger when save or take success.

Request

Query Params
sign
string 
required
Obtained through signature
Example:
1b2fab249bfbdeabcd02a7ce2f5ae0fc9b626d7305689a41ea36beac5ef92ec18c50a1c9a933df6e8c7d331585ba65fa98cf40773391372e8bfcc3b9ed656c2a
Body Params application/json
app_id
string 
required
App Id
timestamps
string 
required
Timestamps
save_notify_url
string 
required
Save notify webhook
take_notify_url
string 
required
Take notify webhook
Example
{
    "save_notify_url": "https://api.bestwond.com/api/iot/test/app/webhook/",
    "timestamps": 6544215251125,
    "app_id": "bw_de2767d821f911e",
    "take_notify_url": "https://api.bestwond.com/api/iot/test/app/webhook/"
}

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/set/app/webhook/?sign=1b2fab249bfbdeabcd02a7ce2f5ae0fc9b626d7305689a41ea36beac5ef92ec18c50a1c9a933df6e8c7d331585ba65fa98cf40773391372e8bfcc3b9ed656c2a' \
--header 'Content-Type: application/json' \
--data-raw '{
    "save_notify_url": "https://api.bestwond.com/api/iot/test/app/webhook/",
    "timestamps": 6544215251125,
    "app_id": "bw_de2767d821f911e",
    "take_notify_url": "https://api.bestwond.com/api/iot/test/app/webhook/"
}'

Responses

🟢200OK
application/json
Body
code
integer 
required
msg
string 
required
Message
data
null 
required
des
string 
required
Examples
{
  "code": 0, 
  "msg": "Operation successful", 
  "data": null, 
  "des": ""
}
Modified at 2024-06-29 01:38:47
Previous
Get device box save order info
Next
Delete Order
Built with