Skip to main content

RoomData

RoomData contains descriptive information for a room type.

codecode (string)

Room identifier unique within the hotel.

descriptions object[]

Localised room descriptions.

  • Array [
  • texttext (string)

    Description text.

    languajelanguaje (string)

    ISO 639-1 language code for the description.

  • ]
  • occupancies object

    Occupancy limits for the room.

    adultsinteger<int32>

    Maximum number of adults.

    childrensinteger<int32>

    Maximum number of children.

    totalinteger<int32>

    Maximum total occupancy, adults plus children.

    images object[]

    Media assets associated with the room.

  • Array [
  • codecode (string)

    Media identifier.

    orderorder (string)

    Display order for the image.

    urlurl (string)

    Public URL for the image asset.

  • ]
  • beds object[]

    Bed configuration information.

  • Array [
  • typetype (string)

    Bed type such as KING or TWIN.

    countinteger<int32>

    Number of beds of the specified type.

  • ]
  • RoomData
    {
    "code": "string",
    "descriptions": [
    {
    "text": "string",
    "languaje": "string"
    }
    ],
    "occupancies": {
    "adults": 0,
    "childrens": 0,
    "total": 0
    },
    "images": [
    {
    "code": "string",
    "order": "string",
    "url": "string"
    }
    ],
    "beds": [
    {
    "type": "string",
    "count": 0
    }
    ]
    }