POST Roomtype/Search
Request Information
URI Parameters
None.
Body Parameters
RoomTypeSearchRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| checkInDate | string |
None. |
|
| checkOutDate | string |
None. |
|
| Grade | string |
None. |
|
| Grade2 | string |
None. |
|
| Gender | string |
None. |
|
| cityId | integer |
None. |
|
| PropertyId | integer |
None. |
|
| PType | string |
None. |
|
| HBFlg | boolean |
None. |
|
| BOKFlg | boolean |
None. |
|
| SBEFlg | boolean |
None. |
|
| HYGFlg | boolean |
None. |
|
| BOKId | integer |
None. |
|
| SBEHotelId | integer |
None. |
|
| SBEHotelCode | string |
None. |
|
| SBECodeContext | string |
None. |
|
| HYGId | integer |
None. |
|
| PropertyName | string |
None. |
|
| Phone | string |
None. |
|
| string |
None. |
||
| StarRating | string |
None. |
|
| Locality | string |
None. |
|
| ChkInTime | string |
None. |
|
| ChkOutTime | string |
None. |
|
| MealPlan | string |
None. |
|
| LatitudeLongitude | string |
None. |
|
| SingleCount | integer |
None. |
|
| DoubleCount | integer |
None. |
|
| ClientId | integer |
None. |
|
| GuestIds | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"checkInDate": "sample string 1",
"checkOutDate": "sample string 2",
"Grade": "sample string 3",
"Grade2": "sample string 4",
"Gender": "sample string 5",
"cityId": 6,
"PropertyId": 7,
"PType": "sample string 8",
"HBFlg": true,
"BOKFlg": true,
"SBEFlg": true,
"HYGFlg": true,
"BOKId": 13,
"SBEHotelId": 14,
"SBEHotelCode": "sample string 15",
"SBECodeContext": "sample string 16",
"HYGId": 17,
"PropertyName": "sample string 18",
"Phone": "sample string 19",
"Email": "sample string 20",
"StarRating": "sample string 21",
"Locality": "sample string 22",
"ChkInTime": "sample string 23",
"ChkOutTime": "sample string 24",
"MealPlan": "sample string 25",
"LatitudeLongitude": "sample string 26",
"SingleCount": 27,
"DoubleCount": 28,
"ClientId": 29,
"GuestIds": "sample string 30"
}
application/xml, text/xml
Sample:
<RoomTypeSearchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HB_TR_API.Models"> <BOKFlg>true</BOKFlg> <BOKId>13</BOKId> <ChkInTime>sample string 23</ChkInTime> <ChkOutTime>sample string 24</ChkOutTime> <ClientId>29</ClientId> <DoubleCount>28</DoubleCount> <Email>sample string 20</Email> <Gender>sample string 5</Gender> <Grade>sample string 3</Grade> <Grade2>sample string 4</Grade2> <GuestIds>sample string 30</GuestIds> <HBFlg>true</HBFlg> <HYGFlg>true</HYGFlg> <HYGId>17</HYGId> <LatitudeLongitude>sample string 26</LatitudeLongitude> <Locality>sample string 22</Locality> <MealPlan>sample string 25</MealPlan> <PType>sample string 8</PType> <Phone>sample string 19</Phone> <PropertyId>7</PropertyId> <PropertyName>sample string 18</PropertyName> <SBECodeContext>sample string 16</SBECodeContext> <SBEFlg>true</SBEFlg> <SBEHotelCode>sample string 15</SBEHotelCode> <SBEHotelId>14</SBEHotelId> <SingleCount>27</SingleCount> <StarRating>sample string 21</StarRating> <checkInDate>sample string 1</checkInDate> <checkOutDate>sample string 2</checkOutDate> <cityId>6</cityId> </RoomTypeSearchRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.