Obtain Guest Authorized Elevator List

https://api.orbitaiot.com/open/v1/hotelguest/guestElevatorList 

1. HTTP Request Method and Example

POST /open/v1/hotelguest/guestElevatorList 
Host: api.orbitaiot.com
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIzMCIsImp0aSI6IjNhZDA5N2JkNGI3ZTBmNDVhOTEwN2RiMTljODk2MTY2YzliZDI3MGZ.......
Content-Type: application/json
{     "mobile": "13715199290"}

2. Parameter Description

Headers Parameter

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


Body Parameter

NameTypeRequiredDescription
mobileStringNMobile phone number. At least one of the mobile phone number or email address is required.
emialString Nemail. At least one of the mobile phone number or email address is required.

3. Return Parameters and Examples

Name
Type
Description
code
Int
data
Object
message
String
listobject
list.building_idIntbuilding_id
list.man_floorIntPrimary floor of stay
list.floorListobjectAccessible floor list


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

                             "list": [           

                                  {              

                                          "building_id": 2,              

                                          "building_name": "1",              

                                           "building_number": 1,           

                                            "main_floor": 1,               

                                            "floorList":     [               

                                                              1,             

                                                               4              

                                                   ]        

                                    }

                           ]        
                   }
}

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

4. Interface Example