Obtain Guest Elevator Ble Broadcast Data

https://api.orbitaiot.com/open/v1/dev/guestOfflineFloor/{building_id}

 

1. HTTP Request Method and Example

POST /open/v1/dev/guestOfflineFloor/01 
Host: api.orbitaiot.com
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIyMiIsImp0aSI6Ijc1MDc1ZDUxYzVlZTYwMjVjNTcwNGJiY2M3MzIzMjViZmEwMjBlZmYzZjk4MzZl.......
Content-Type: application/json

2. Parameter Description

Path Parameter

KeyTypeRequestDescription
building_id
IntYbuilding id

Headers Parameter

KeyTypeRequestVlues
Content-Type
StringYapplication/json
Authorization
StringYBearer [access_token value]


Body Parameter

NameTypeRequiredDescription
floorNumbersObjejctY
daoIntY0: Light off; 1: Light on. Depends on elevator supported functions.
floor_numberIntYFloor number

3. Return Parameters and Examples

Name
Type
Description
code
Int
data
String
message
String
binString


{    
         "code": 0,   
         "message": "",    
         "data": {       

                              "bin": "42981919191919191919191419"  
                         }
}

Remarks: Broadcast the obtained bin as the phone's Bluetooth device name for the elevator to receive.

4. Interface Example