Obtain Staff Elevator Ble Broadcast Data
https://api.orbitaiot.com/open/v1/dev/employeeOfflineFloor/{building_id}
1. HTTP Request Method and Example
| POST /open/v1/dev/employeeOfflineFloor/01 Host: api.orbitaiot.com Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIyMiIsImp0aSI6Ijc1MDc1ZDUxYzVlZTYwMjVjNTcwNGJiY2M3MzIzMjViZmEwMjBlZmYzZjk4......... Content-Type: application/json |
2. Parameter Description
Path Parameter
| Key | Type | Request | Description |
| building_id | Int | Y | building id |
Headers Parameter
| Key | Type | Request | Vlues |
| Content-Type | String | Y | application/json |
| Authorization | String | Y | Bearer [access_token value] |
Body Parameter
| Name | Type | Required | Description |
| time | Int | Y | 10-digit timestamp |
3. Return Parameters and Examples
| Name | Type | Description |
| code | Int | |
| data | String | |
| message | String | |
| bin | String |
{
"code": 0,
"message": "",
"data": {
"bin": "437e14dbf519191419"
}
}
Remarks: Broadcast the obtained bin as the phone's Bluetooth device name for the elevator to receive.
4. Interface Example

