Skip to main content

RoomData

Room data

type RoomData {
code: ID!
roomCode: String!
texts(languages: [Language!]): [Text!]
source: String
occupancies: OccupancyStatic
amenities: [AmenityStatic!] @deprecated
views: [View!]
medias: [Media!]
beds: [BedStatic!]
area: Area
allAmenities(mapOptions: [HotelXMapOptionInput!]): HotelXAmenityConnection
}

Fields

RoomData.code ● ID! non-null scalar

Internal code for checking availability

RoomData.roomCode ● String! non-null scalar

Code of the hotel in the Supplier selected

RoomData.texts ● [Text!] list object

Label

RoomData.texts.languages ● [Language!] list scalar

RoomData.source ● String scalar

Room source

RoomData.occupancies ● OccupancyStatic object

Room occupancies

RoomData.amenities ● [AmenityStatic!] deprecated list object

DEPRECATED

deprecated from 2021-09-17. Please, use allAmenities

Room amenities

RoomData.views ● [View!] list object

Room views

RoomData.medias ● [Media!] list object

Room medias

RoomData.beds ● [BedStatic!] list object

Room beds

RoomData.area ● Area scalar

Room area in square meters.

RoomData.allAmenities ● HotelXAmenityConnection object

Amenities with mapping

RoomData.allAmenities.mapOptions ● [HotelXMapOptionInput!] list input

Member Of

RoomStatic object