# GuestRoom

Multiple ancestors
`GuestRoom` can be a descendant of:

* [OTA_HotelDescriptiveContentNotifRQ](/connectivity/docs/api-reference/ota_hoteldescriptivecontentnotifrq)
* [OTA_HotelDescriptiveInfoRS](/connectivity/docs/api-reference/ota_hoteldescriptiveinfors)
* [OTA_HotelInvNotifRQ](/connectivity/docs/api-reference/ota_hotelinvnotifrq)


## [OTA_HotelDescriptiveContentNotifRQ](/connectivity/docs/api-reference/ota_hoteldescriptivecontentnotifrq)

### Fields

| Field | Description | Type | Min/max | Notes |
|  --- | --- | --- | --- | --- |
| [GuestRooms](/connectivity/docs/api-reference/guestrooms)/`GuestRoom` | Details of a room. | object | 0..* | - |
| `GuestRoom`/[Amenities](/connectivity/docs/api-reference/amenities) | Container for room amenities. | array of [Amenities](/connectivity/docs/api-reference/amenities) | 0..1 | - |


### XML


```xml
<GuestRoom>
 <Amenities>
   ...
 </Amenities>
</GuestRoom>
```

## [OTA_HotelDescriptiveInfoRS](/connectivity/docs/api-reference/ota_hoteldescriptiveinfors)

### Fields

| Field | Description | Type | Min/max | Notes |
|  --- | --- | --- | --- | --- |
| [GuestRooms](/connectivity/docs/api-reference/guestrooms)/`GuestRoom` | Details of a room. | object | 0..* | - |
| `GuestRoom`/`@ID` | Room type ID. | string | 1..1 | - |
| `GuestRoom`/`@Active` | Room type status (active or inactive). | boolean | 1..1 | Activate/deactivate room types with [/ota/OTA_HotelInvNotif](/connectivity/docs/ota-hotelinvnotif). |
| `GuestRoom`/`@RoomTypeName` | [BCRT](/connectivity/docs/codes-bcrt) room type name. | [BCRT](/connectivity/docs/codes-bcrt) | 1..1 | - |
| `GuestRoom`/`@MaxOccupancy` | The maximum number of guests allowed to stay in the room. | int | 0..1 | You can separately [specify extra bed options](/connectivity/docs/setting-up-children-policies-and-pricing) at property level. |
| `GuestRoom`/[Amenity](/connectivity/docs/api-reference/amenity) | Details of a room amenity. | object | 0..* | - |
| `GuestRoom`/`DescriptiveText` | Localised [room type name](/connectivity/docs/b_xml-roomname). | string | 1..1 | - |


### XML


```xml
<GuestRoom
  Active="1"
  ID="217462802"
  MaxOccupancy="2"
  RoomTypeName="Double" >
  <Amenity ... />
  <DescriptiveText>Deluxe Double Room with Sea View</DescriptiveText>
</GuestRoom>
```

## [OTA_HotelInvNotifRQ](/connectivity/docs/api-reference/ota_hotelinvnotifrq)

### Fields

| Field | Description | Type | Min/max | Notes |
|  --- | --- | --- | --- | --- |
| [SellableProduct](/connectivity/docs/api-reference/sellableproduct)/`GuestRoom` | Room details. | object | 1..* | Create/modify room types with [/ota/OTA_HotelInvNotif](/connectivity/docs/ota-hotelinvnotif). |
| `GuestRoom`/[Amenities](/connectivity/docs/api-reference/amenities) | Room amenities. | array of [Amenity](/connectivity/docs/api-reference/amenity) | 0..1 | - |
| `GuestRoom`/[Description](/connectivity/docs/api-reference/description) | Contains descriptive text for a room type. | object | 1..1 | - |
| `GuestRoom`/[Occupancy](/connectivity/docs/api-reference/occupancy) | Room occupancy details. | object | 1..1 | - |
| `GuestRoom`/[Quantities] | Extra bed details. | object | 1..1 | - |
| `GuestRoom`/[Room](/connectivity/docs/api-reference/room) | Container for room ID, size, and other details. | object | 1..1 | - |
| `GuestRoom`/[RoomLocation](/connectivity/docs/api-reference/roomlocation) | Container for room floor level and all possible floors. | object | 1..1 | - |
| `GuestRoom`/[TPA_Extensions](/connectivity/docs/api-reference/tpa_extensions) | Container for [SubRooms](/connectivity/docs/api-reference/subrooms), [Occupancy](/connectivity/docs/api-reference/occupancy). | object | 0..1 | - |


### XML


```xml
<GuestRoom>
  <Amenities>
    ...
  </Amenities>
  <Description>
    ...
  </Description>
  <Occupancy ... />
  <Room ... />
  <RoomLocation>
    ...
  </RoomLocation>
  <TPA_Extensions>
    ...
  </TPA_Extensions>
</GuestRoom>
```

## Related endpoints

* [/ota/OTA_HotelDescriptiveContentNotif](/connectivity/docs/ota-hoteldescriptivecontentnotif)
* [/ota/OTA_HotelDescriptiveInfo](/connectivity/docs/ota-hoteldescriptiveinfo)
* [/ota/OTA_HotelInvNotif](/connectivity/docs/ota-hotelinvnotif)