Obtain Door Access List

https://api.orbitaiot.com/open/v1/hotel/passWayList


1. HTTP Request Method and Example

POST /open/v1/hotel/passWayList 
Host: api.orbitaiot.com
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIzMCIsImp0aSI6IjA3ODk2NjQzZWNjNzkzYzBjN2M2MjZlYzdkZmNkM...........
Content-Type: application/json
{ "name": "3 building gate"}


2. Parameter Description

Headers Parameter

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


Body Parameter

NameTypeRequiredDescription
nameStringNDoor Access Name

3. Return Parameters and Examples

NameTypeDescription
code
Int

message
String

data
JSONArray


Objects in the data list

NameTypeDescription
listJSONArray


Objects in the list

NameTypeDescription
idInt
buildingIdInt
floorIdInt
nameString
floorNumberString
roomCardIdString
createDateString
updateDateString
LockListJSONArrayThe following are the objects in the LockListr list
idInt
tidIntTo search for Bluetooth door locks and connect them, they need to be used;
macStringSubsequent guests need to transmit the value of this tid to obtain unlocking instructions;
ble_versionString
software_versionString
harware_versionString
electricString


{    "code": 0,   

      "message": "success",  

      "data": {      

                 "list": [            

                           {                "id": 39,              

                                            "buildingId": 24,               

                                            "floorId": 0,             

                                            "roomSysType": 2,               

                                            "roomType": 2,             

                                            "roomTypeName": "Building",               

                                            "name": "3 building gate",               

                                            "createDate": "2025-09-30 15:40:56",               

                                            "updateDate": "2025-09-30 15:40:56",              

                                            "buildingName": "3",               

                                            "batteryAlarm": 0,             

                                                         "lockList": [                

                                                               {                        "id": 8845,                 

                                                                                        "tid": 7872,                     

                                                                                       "mac": "0c3d5e964a48",                     

                                                                                       "bleVersion": "",                      

                                                                                       "softwareVersion": "v1.1.3.1",                     

                                                                                       "hardwareVersion": "v84.47",                       

                                                                                       "electric": "100",                       

                                                                                       "roomKindName": "",                       

                                                                                       "gatewayId": 0                   

                                                                  }               

                                                             ],              

                                                 "powerSwitchList": []         

                                    }       

                            ]   

                  }

}


4. Interface Example