GET RoomTypesAPI/GetRoomTypes

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of RoomTypes
NameDescriptionTypeAdditional information
RoomTypeID

integer

None.

RoomType

string

None.

TypeNotes

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "RoomTypeID": 1,
    "RoomType": "sample string 2",
    "TypeNotes": "sample string 3"
  },
  {
    "RoomTypeID": 1,
    "RoomType": "sample string 2",
    "TypeNotes": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfRoomTypes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMA2020.Models">
  <RoomTypes>
    <RoomType>sample string 2</RoomType>
    <RoomTypeID>1</RoomTypeID>
    <TypeNotes>sample string 3</TypeNotes>
  </RoomTypes>
  <RoomTypes>
    <RoomType>sample string 2</RoomType>
    <RoomTypeID>1</RoomTypeID>
    <TypeNotes>sample string 3</TypeNotes>
  </RoomTypes>
</ArrayOfRoomTypes>