# RoomLocation

## Fields

| Field | Description | Type | Min/max | Notes |
|  --- | --- | --- | --- | --- |
| [GuestRoom](/connectivity/docs/api-reference/guestroom)/`RoomLocation` | Container for room floor level and all possible floors. | object | 1..1 | - |
| `RoomLocation`/`@RoomLocationCode` | The level of the building at which room is available. | enum | 1..3 | `1` = ground floor(adds floor number '0' by default if not provided), `2` = upper floor, `3` = both ground and upper floor(adds floor number '0' by default if not provided). Required |
| `RoomLocation`/[Floors](/connectivity/docs/api-reference/floors) | All the floors in the building which have the room | array of [Floor](/connectivity/docs/api-reference/floor) | 1..1 | Add/Update [TotalNumberOfFloors](/connectivity/docs/api-reference/totalnumberoffloors) in the building before adding any floors for the room. |


## XML


```xml
<RoomLocation RoomLocationCode="2" >
  <Floors>
    ...
  </Floors>
</RoomLocation>
```

## Related endpoints

* [/ota/OTA_HotelInvNotif](/connectivity/docs/ota-hotelinvnotif)