POST RoomTypesAPI/RemoveRoomType

Request Information

URI Parameters

None.

Body Parameters

RoomTypes
NameDescriptionTypeAdditional information
RoomTypeID

integer

None.

RoomType

string

None.

TypeNotes

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RoomTypes'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>