POST api/Rooms/addBed
Request Information
URI Parameters
None.
Body Parameters
BedDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| BedroomBedID | integer |
None. |
|
| BedTypeID | integer |
None. |
|
| BedroomID | integer |
None. |
|
| BedTypeName | string |
None. |
|
| BedTypeNameHA | string |
None. |
|
| Amount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"BedroomBedID": 1,
"BedTypeID": 2,
"BedroomID": 3,
"BedTypeName": "sample string 4",
"BedTypeNameHA": "sample string 5",
"Amount": 6
}
application/xml, text/xml
Sample:
<BedDetail xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <BedroomBedID>1</BedroomBedID> <BedTypeID>2</BedTypeID> <BedroomID>3</BedroomID> <BedTypeName>sample string 4</BedTypeName> <BedTypeNameHA>sample string 5</BedTypeNameHA> <Amount>6</Amount> </BedDetail>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.