RoomData
Room data as part of hotel information
codestring
Room code
roomCodestring
Provider-specific room code
maxOccupancyinteger
Maximum occupancy stated by the provider.
bundleportRoomCodestringnullable
Canonical room code from mapping_rooms when mapped.
contentSourcestringnullable
Provider code that supplied images/texts/beds when they were inherited via cross-provider fill (same hotel base + same bundleportRoomCode). Omitted when content comes from the room's own provider.
texts object[]
Room descriptions (when includeRoomDetail is true).
Array [
typestring
Type of text (e.g., description, shortDescription)
languageCodestring
ISO 639-1 language code
textstring
Text content
]
images object[]
Room images (when includeRoomDetail is true).
Array [
codestring
Image code
urlstring
Image URL
orderinteger
Display order
mediaTypestring
Type of media
captionstring
Image caption
]
beds object[]
Bed information (when includeRoomDetail is true).
Array [
typestring
Bed type
countinteger
Number of beds
]
RoomData
{
"code": "string",
"roomCode": "string",
"maxOccupancy": 0,
"bundleportRoomCode": "string",
"contentSource": "string",
"texts": [
{
"type": "string",
"languageCode": "string",
"text": "string"
}
],
"images": [
{
"code": "string",
"url": "string",
"order": 0,
"mediaType": "string",
"caption": "string"
}
],
"beds": [
{
"type": "string",
"count": 0
}
]
}