Room Meta API
Last updated
Was this helpful?
Last updated
Was this helpful?
This endpoint allows users to handle requests related to room metadata. It provides information about room attributes, configurations, and supports various operations such as retrieving or updating room data.
POST
app-id
string
Yes
Your application ID. Required for authentication.
Authorization
string
Yes
Your API key. for authorization. Required for authentication.
Content-Type
string
Yes
Must be set to application/json
.
language_code
string (Optional)
Specifies the language to retrieve the unit's metadata.
1
English (UK)
EN_GB
2
English (US)
EN_US
3
German
DE
4
Dutch
NL
5
French
FR
6
Spanish
ES
7
Spanish (Argentina)
ES_AR
8
Spanish (Mexico)
ES_MX
9
Catalan
CA
10
Italian
IT
11
Portuguese (Portugal)
PT_PT
12
Portuguese (Brazil)
PT_BR
13
Norwegian
NO
14
Finnish
FI
15
Swedish
SV
16
Danish
DA
17
Czech
CS
18
Hungarian
HU
19
Romanian
RO
20
Japanese
JA
21
Chinese (Simplified)
ZH_CN
22
Chinese (Traditional)
ZH_TW
23
Polish
PL
24
Greek
EL
25
Russian
RU
26
Turkish
TR
27
Bulgarian
BG
28
Arabic
AR
29
Georgian
KA
30
Korean
KO
31
Hebrew
HE
32
Latvian
LV
33
Ukrainian
UK
34
Indonesian
ID
35
Malay
MS
36
Thai
TH
37
Estonian
ET
38
Croatian
HR
39
Lithuanian
LT
40
Slovak
SK
41
Serbian
SR
42
Slovenian
SL
43
Vietnamese
VI
44
Tagalog
TL
45
Icelandic
IS
46
Hindi
HI
NOTE
This is sample response, please use the API to get exact data.
Status
string
Indicates the result of the API call.
Data
object
Contains the response payload
language_code
string
Specifies the language code used to return the unit's metadata, for example, "EN_GB"
.
unit_types
array
A list of objects, each representing a specific unit type.
unit_type_id
integer
The unique ID for the unit type.
unit_type_name
string
The name of the unit type (for example, "Apartment").
is_multi_room
boolean
Specifies if the unit type is of muti-room or mono-room type (true or false).
is_active
boolean
A flag indicating if the unit type is currently active.
valid_property_categories
array
A list of valid property category IDs associated with the unit type.
suggested_unit_names
array
A list of suggested unit names with IDs.
unit_names
array
A list of objects, each representing a different unit name.
unit_name_id
integer
The unique ID for the unit name.
unit_name
string
The name of the unit (for example, "Apartment").
bed_types
array
A list of objects, each representing a specific bed type.
bed_type_id
integer
The unique ID for the bed type.
bed_type_name
string
The name of the bed type (for example, "Single bed").
bed_type_description
string
The description of the bed type (for example, "90-130 cm wide").
bed_type_description_imperial
string
The description of the bed type in imperial units (for example, "35-51 inches wide").
is_active
boolean
A flag indicating if the bed type is currently active.
Ruid
string
A unique identifier for tracking the request.
Message
string
A message receives within the response body. This will generally be an empty string if no additional information is needed.
Sample Error Response 1
When you pass invalid language_code
Error Response Body Elements
Status
string
Indicates the result of the API call, which will be always "Fail"
in case of an error response.
Error
array
Array that contains details about any errors that occurred during the API call. Each object in the Errors
array contains the following properties:
Code
string
Specific error code that helps identify the type of error.
ShortText
string
A short description of the error.
Message
string
A message providing more information about the error.
Ruid
string
A unique identifier for tracking the request.