Obtain Guest-Authorized Room List

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


1. HTTP Request Method and Example

POST /open/v1/hotelguest/guestRoomList
Host: api.orbitaiot.com
Content-Type: application/json
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIxMyIsImp0aSI6ImM3NzY3ZWZjYjYwNzI3Zjc0OGU3NGJmM2M3MDJkMzA2NGMzNTMyMDcyZDU1ZDcxNjhmYmFhMzE0YzQ3Njk2YTQ0NTA4ODk2MzZjOTQ5MTAyIiwiaWF0IjoxNzQwMzY4NTY1LCJuYmYiOjE3NDAzNjg1NjUsImV4cCI6MTc0Mjc4Nzc2NSwic3ViIjoiNCIsInNjb3BlcyI6WyIqIl19.q5j0oF9HnFhYwiOXv-COZ4bGVSb6mHrdityhvmZ-ov9LAWNpF7eiAwhea2H3n8mXNBwbeGldgL0RxcpkpNX9JVCGUNxuPibNmCz5Ue3ZgnvR2eFr2JG7DxJ8-ukbZQVGde9kLq3ZDP8uXk4FzwkQlOFTbarWcH6yWNvkrqsUagjCxucAi0WPZjpVbTiVKSIEUYQ6WWP2b_nz9Yzf5Du2qjPLcq2wjU3OlAUY5_5P43Xt-LC4e0y2evsmc81TV4-F62ysFHkJNqzx24Vbtenbz6OPoOWw6AmVD1QgsQVOcgaufm7xY7ZbkOeEQxWVIJelUP0JgzXyHbmxvmFVtZWtT0bDkVECQENV1caqVf9YFDOc2qIqWcuglZZ9MyLrub7ycM8gaJ_TpA9yP6Z8Uo8Na8KJePH0ayO20F3un2cKxHhBtILj62NJGcf-NLAez7wGCCYkCO1-ykYqnALQFG6KJ27Lg_oDosQetVlLemLTx9PGwtE7dqW9QK9kLnk8cl9STyHPNM5wrIvhKaSH3NkQwKphn26rYfRg_f_QAA-pDMkV4mlOEWDqFPuW1kTcYqAU8SoIijROZgi56qU3fzxIzke6-fJX7XdyeGHwrLUaCwVHbBzTn-905LS7Bj7XW5f9DqgB4WkbSTattzWNAHaAKYjTA2P7lHuIbPVliLfCjBk
{"sys_language":"zh-CN", "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.
emailString NEmail address. At least one of the mobile phone number or email address is required.
sys_language_code
StringNen

3. Return Parameters and Examples

Name
Type
Description

code
Int

message
String

data
JSONArray


Objects in the data list

Name
TypeDescription
listJSONArray
listPubJSONArray
listPasswayJSONArray
minArrivalTimeInt
maxDepartureTimeInt


Objects in the list

NameType
Description
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 LockListr 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
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
hardware_versionString
electricString
door_alarmInt
room_typeInt



{   

    "code": 0,   

   "message": "success",    

  "data": {     

         "list": [         

                       {              

                             "id": 2,              

                             "buildingId": 1,              

                             "buildingName": "Building 1",              

                             "floorId": 1,                

                             "floorName": "1",                

                             "name": "102",              

                             "roomClass": 1,                

                            "roomClassName": "Standard room",               

                            "roomStatus": 1,               

                             "roomStatusStr": "Fully Occupied",               

                             "isDirty": 0,               

                              "checkinRecordId": 2,               

                             "arrivalTime": 1748497712,                

                             "arrivalTimeStr": "2025-05-29 13:48",                

                             "departureTime": 1834906559,              

                             "departureTimeStr": "2028-02-23 16:15",                

                             "authTime": 1748497712,               

                            "lockList": [                 

                                              {                       

                                                         "id": 652,                        

                                                         "tid": 151,                       

                                                         "mac": "dc32622b89a5",                       

                                                        "bleVersion": "",                       

                                                         "softwareVersion": "v1.1.1.4",                       

                                                        "hardwareVersion": "v84.2",                       

                                                        "electric": "60",                      

                                                       "roomKindName": "Standard room"               

                                                    }              

                                              ]          

                    }       

              ],      

      "listPub": [],      

       "listPassway": [],       

        "minArrivalTime": 1748497712,       

         "maxDepartureTime": 1834906559   

   }

}

4. Interface Example