GET api/RoomTypes
List all Room Types+
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of RoomType| Name | Description | Type | Additional information | 
|---|---|---|---|
| RoomTypeId | integer | None. | |
| RoomTypeName | string | None. | |
| Occupancy | integer | None. | |
| CreatedDateTime | date | None. | |
| LastUpdatedDateTime | date | None. | |
| CreatedBy | integer | None. | |
| LastModifiedBy | integer | None. | |
| IsDeleted | boolean | None. | |
| IsActive | boolean | None. | 
Response Formats
application/json, text/json
            Sample:
        
[
  {
    "RoomTypeId": 1,
    "RoomTypeName": "sample string 2",
    "Occupancy": 3,
    "CreatedDateTime": "2025-10-31T07:04:27.4775653+00:00",
    "LastUpdatedDateTime": "2025-10-31T07:04:27.4775653+00:00",
    "CreatedBy": 1,
    "LastModifiedBy": 1,
    "IsDeleted": true,
    "IsActive": true
  },
  {
    "RoomTypeId": 1,
    "RoomTypeName": "sample string 2",
    "Occupancy": 3,
    "CreatedDateTime": "2025-10-31T07:04:27.4775653+00:00",
    "LastUpdatedDateTime": "2025-10-31T07:04:27.4775653+00:00",
    "CreatedBy": 1,
    "LastModifiedBy": 1,
    "IsDeleted": true,
    "IsActive": true
  }
]
        application/xml, text/xml
            Sample:
<ArrayOfRoomType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClassLibraryITTF1">
  <RoomType>
    <CreatedBy>1</CreatedBy>
    <CreatedDateTime>2025-10-31T07:04:27.4775653+00:00</CreatedDateTime>
    <IsActive>true</IsActive>
    <IsDeleted>true</IsDeleted>
    <LastModifiedBy>1</LastModifiedBy>
    <LastUpdatedDateTime>2025-10-31T07:04:27.4775653+00:00</LastUpdatedDateTime>
    <Occupancy>3</Occupancy>
    <RoomTypeId>1</RoomTypeId>
    <RoomTypeName>sample string 2</RoomTypeName>
  </RoomType>
  <RoomType>
    <CreatedBy>1</CreatedBy>
    <CreatedDateTime>2025-10-31T07:04:27.4775653+00:00</CreatedDateTime>
    <IsActive>true</IsActive>
    <IsDeleted>true</IsDeleted>
    <LastModifiedBy>1</LastModifiedBy>
    <LastUpdatedDateTime>2025-10-31T07:04:27.4775653+00:00</LastUpdatedDateTime>
    <Occupancy>3</Occupancy>
    <RoomTypeId>1</RoomTypeId>
    <RoomTypeName>sample string 2</RoomTypeName>
  </RoomType>
</ArrayOfRoomType>