POST RoomTypesAPI/UpdateRoomType
Request Information
URI Parameters
None.
Body Parameters
RoomTypes| Name | Description | Type | Additional 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:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>