Obtain Room List

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


1. HTTP Request Method and Example

POST /open/v1/hotel/hotelRoomList 
Host: api.orbitaiot.com
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIyMCIsImp0aSI6IjIyNjA4YTdkNmJlN2E2NGQ0NmQzMDg5M2MzYjNhODA1NDQwMjY
wN2EzNTg0YmJkZWYxZDdkMTZlNTcxMmE3YTBhMGEyOTQwODAzMmYxMzY5IiwiaWF0IjoxNzUxNTEzNjMzLCJuYmYiOjE3NTE1MTM2MzMsImV4cCI6MTc1OTQ2Mj
QzMywic3ViIjoiMTEiLCJzY29wZXMiOlsiKiJdfQ.1wWneISJipHqI3YjhYkoTWbIJ7RaRS5LqKdLWzHewfC5pBAq8TmafQ5locnynEQC197XJQ564wxf3DqxXSIcigXFeTOj
8ZDMyxBYJMpuY2ZG3qMyUp9KBN8jz8yKpK6kQDmPzW-nTLE7dsAbRdOOgd4pSXJ5b539wLL31KiZHuJxo30MNjsUAKmIVcPBGm59vOKSoQ494QHtED--3ulOaPO
w_Fw3ZvhqQVwrDfiMn_6cRW2K69d3Ry54bz7o4boOX4fIH_p6NsO7PlMPWDeP7yce94SRl_bGnYvgVtnldXLwXKTg3A6bAA5TUHqXGPbtA3IVURzWfl7m-U09t2biNB
IP80Yp-KUxWj1meLyhlrjXvkwsBqg_FRYkTmOeS8-Fl2J4CcedygR6al7TYUyUkbEiAYIN1LmftLP-2VE3EHvrDZeWY0lkJFMqxO1psnm-lZPV4vPYpDbQpZ3QfYtZ7huOE
wFzEPjw1IJPoZ2Zcv6aSmOkKzi6ExYY-KcbyLLUH8B2uP-TnsQbwa5RqZ6glzVrCBY05v_Ju8SKkEXEEL0qhATZ5LVmtddKK126T-4if7K7aUQTuH8rbIyQWalxTNYVDVR
cBPAb6Qdy8jjuY5ihgiwtpwqvrh_PxfO_bwJRhAbPvhR6ALo1Fe3MNMzqKdVndaZ0MRSwR6rHIOFq2MA
Content-Type: application/json
Postman-Token: be57e4ab-ff93-460e-8b46-249d40867636
{ "name": "0101"}-


2. Parameter Description

Headers Parameter

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


Body Parameter

NameTypeRequiredDescription
nameStringNRoom Name
sys_language_code
StringNen

3. Return Parameters and Examples

NameTypeDescription
code
Int

message
String

data
JSONArray


Objects in the data list

NameTypeDescription
listJSONArray
listPubJSONArray
listPasswayJSONArray
minArrivalTimeInt
maxDepartureTimeInt


Objects in the list

NameTypeDescription
idInt
buildingIdInt
floorIdInt
nameString
floorNumberString
roomCardIdString
roomModelIdInt
roomClassNameString
roomStatusInt
roomStatusStrString
isDirtyInt
createDateString
updateDateString
hotelIdInt
buildingNameString
floorNameString
checkingRecordIdInt
arrival_timeInt
arrival_timeStrString
departure_timeInt
departure_timeStrString
auth_timeInt
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;
product_typeInt
dev_groupInt
is_bindInt
dev_typeInt
mesh_idInt
ble_versionString
software_versionString
harware_versionString
electricString
door_alarmInt
room_typeInt
mesh_enableInt
mes_addrInt
roomKindNameString



Objects in the listPub list

NameTypeDescription
idInt
buildingIdInt
floorIdInt
roomSysTypeInt
roomTypeInt
roomTypeNameString
nameString
createDateString
updateDateString
lockListJSONArrayThe following are the objects in the lockList list
idInt
tidInt
macString
product_typeInt
dev_groupInt
is_bindInt
dev_typeInt
mesh_idInt
ble_versionString
software_versionString
hardware_versionString
electricString
door_alarmInt
room_typeInt


Objects in the listPassway list

idInt
buildingIdInt
floorIdInt
roomSysTypeInt
roomTypeNameString
nameString
createDateString
updateDateString
lockListJSONArrayThe following are the objects in the lockList list
idInt
tidIntSubsequent employees obtaining the unlocking instruction need to transmit the value of this TID;
macStringTo search for Bluetooth door locks and connect them, they need to be used;
product_typeInt
dev_groupInt
is_bindInt
dev_typeInt
mesh_idInt
ble_versionString
software_versionString
hardware_versionString
electricString
door_alarmInt
room_typeInt



{    "code": 0,    

    "message": "success",   

   "data": {       

          "list": [            

                          {                "id": 1,                

                                            "buildingId": 1,              

                                             "buildingName": "Building 1",               

                                             "floorId": 1,              

                                             "name": "101",              

                                            "floorNumber": "101",              

                                            "floorName": "1",              

                                            "roomCardId": "0101",                

                                           "roomModelId": 1,               

                                            "roomClass": 1,                

                                            "roomClassName": "Standard room",              

                                           "checkin_record_id": 3,               

                                          "roomStatus": 1,               

                                           "roomStatusStr": "Fully Occupied",               

                                           "isDirty": 0,              

                                         "roomModelName": "standard",              

                                        "roomModelPrice": "288.00",               

                                        "createDate": "2025-05-26 15:29:11",              

                                        "updateDate": "2025-06-06 15:53:05",              

                                        "modelName": "standard",                

                                        "modelPrice": "288.00",                

                                       "batteryAlarm": 0,             

                                      "lockList": [                   

                                                  {                      

                                                                "id": 653,                     

                                                               "tid": 152,                      

                                                               "mac": "3cab72ab0d35",                       

                                                              "bleVersion": "",                      

                                                             "softwareVersion": "v1.1.1.5",                      

                                                            "hardwareVersion": "v84.2",                       

                                                            "electric": "17",                       

                                                           "roomKindName": "Standard room"                  

                                                      }              

                                                            ]           

                                                              },         

                                               {             

                                                           "id": 73,               

                                                           "buildingId": 1,               

                                                           "buildingName": "Building 1",              

                                                          "floorId": 6,               

                                                          "name": "0101",             

                                                          "floorNumber": "201",               

                                                          "floorName": "2",             

                                                         "roomCardId": "0201",               

                                                         "roomModelId": 1,             

                                                          "roomClass": 1,                

                                                         "roomClassName": "Standard room",                

                                                        "checkin_record_id": 0,                

                                                        "roomStatus": 0,               

                                                        "roomStatusStr": "Vacant room",                

                                                        "isDirty": 0,                

                                                       "roomModelName": "standard",               

                                                       "roomModelPrice": "288.00",             

                                                      "createDate": "2025-06-13 04:13:47",              

                                                     "updateDate": "2025-06-13 04:13:47",             

                                                    "modelName": "standard",                

                                                    "modelPrice": "288.00",                

                                                   "batteryAlarm": 0,               

                                                    "lockList": []         

                                        }     

                                               ]   

                          }

               }

4. Interface Example