RoomsResponse
Response containing room data
rooms object
Room connection wrapper with pagination
rooms object[]
List of room records
Room code
roomData object
Complete room data
Room code
Provider-specific room code
Room source/provider
Room name
Maximum occupancy
Type of bed
Room size in square meters
texts object[]
Room descriptions in different languages
Type of text (e.g., description, shortDescription)
ISO 639-1 language code
Text content
images object[]
Room images
Image code
Image URL
Display order
Type of media
Image caption
occupancy object
Occupancy details
Number of adults
Number of children
Total occupancy
beds object[]
Bed information
Bed type
Number of beds
Record creation timestamp
Record last update timestamp
Total number of rooms matching the query
Pagination token for retrieving the next page
errors object[]
Array of errors encountered during processing
Error code identifier
Error type category
Possible values: [CLIENT, SERVER]
Human-readable error description
{
"rooms": {
"rooms": [
{
"code": "string",
"roomData": {
"code": "string",
"roomCode": "string",
"source": "string",
"name": "string",
"maxOccupancy": 0,
"bedType": "string",
"sizeSqM": 0,
"texts": [
{
"type": "string",
"languageCode": "string",
"text": "string"
}
],
"images": [
{
"code": "string",
"url": "string",
"order": 0,
"mediaType": "string",
"caption": "string"
}
],
"occupancy": {
"adults": 0,
"children": 0,
"total": 0
},
"beds": [
{
"type": "string",
"count": 0
}
]
},
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
}
],
"count": 0,
"token": "string"
},
"errors": [
{
"code": "string",
"type": "CLIENT",
"description": "string"
}
]
}