- Cabinet Released Api
- How to Get Box Door Status
- Save And Take By Bw
Express storage and retrieval API
POST
/api/iot/kd/order/save/or/take/
Not ok
Request
Query Params
sign
string
required
Body Params application/json
device_number
string
required
timestamps
string
required
app_id
string
required
action_code
string
required
action_type
string
required
box_size
string
required
Example
{
"device_number": "2100013075",
"box_size": "S",
"timestamps": 6544215251125,
"action_code": "12772",
"action_type": "take",
"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/kd/order/save/or/take/?sign' \
--header 'Content-Type: application/json' \
--data-raw '{
"device_number": "2100013075",
"box_size": "S",
"timestamps": 6544215251125,
"action_code": "12772",
"action_type": "take",
"app_id": "bw_de2767d821f911e"
}'
Responses
🟢200OK
application/json
Body
code
integer
required
data
object
required
device_number
string
required
status
integer
required
lock_address
string
required
box_name
string
required
id
integer
required
market_id
integer
required
box_size
string
required
box_type
integer
required
uptime
string
required
ctime
string
required
remark
string
required
rental_items_id
integer
required
count
integer
required
pick_phone
string
required
save_time
string
required
pick_code
integer
required
pick_time
string
required
order_no
string
required
version
integer
required
enable_status
integer
required
msg
string
required
des
string
required
Examples
{
"code": 0,
"msg": "Operation successful",
"data": {
"id": 9546,
"market_id": 37,
"device_number": "2000012297",
"box_name": "11",
"box_size": "S",
"box_type": 2,
"lock_address": "010b",
"status": 1,
"uptime": "2022-12-27 10:50:11",
"ctime": "2022-12-27 10:50:11",
"remark": null,
"rental_items_id": null,
"count": null,
"pick_phone": null,
"save_time": "2023-01-06 15:24:10",
"pick_code": null,
"pick_time": "2023-01-06 15:25:00",
"order_no": "230001",
"version": 0,
"enable_status": 1
},
"des": ""
}
Modified at 2023-11-25 06:01:10