获取员工蓝牙开门指令
https://api.orbitaiot.com/open/v1/dev/employeeBlueOpen/{tid}
1. HTTP请求方法及示例
| POST /open/v1/dev/employeeBuleOpen/151 Host: api.orbitaiot.com Content-Type: application/json Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIxNiIsImp0aSI6Ijg3MjYxNmExMGFlYzdmMmNlY2RhM2NiOGRhNWU0YTVhZTI1.......... {"antilock_permission":1, "start_time":1751523897, "end_time":1751610297 } |
2. 参数说明
路径参数
| 参数名 | 类型 | 是否必需 | 备注 |
| tid | Int | 是 | 设备tid |
Headers参数
| 参数 | 类型 | 是否必需 | 值 |
| Content-Type | String | 是 | application/json |
| Authorization | String | 是 | Bearer + 空格 + access_token值 |
Body参数
| 参数 | 类型 | 是否必需 | 描述 |
| antilock_permission | Int | Y | 反锁权限 0:没有 1:有 |
| start_time | Int | N | 开始时间 时间戳 没有传0 |
| end_time | Int | N | 结束时间 时间戳 没有传0 |
备注:开始时间转成十位的时间戳
3. 返回参数及示例
| 参数 | 类型 | 描述 |
| code | Int | |
| data | String | |
| message | String | |
| bin | String | 蓝牙开锁写入指令 |
{
"code": 0,
"message": "",
"data": { "bin": "fd8801020101c5fc0000002f000031e48f149263c327a8ec4794cceba44408472975f2cf89b195b2cea82f6d2bbeabf7fe"
}
}
4. 接口示例

