POST API/BOK/BOK_RoomTypeSearch
Request Information
URI Parameters
None.
Body Parameters
BOKModel| Name | Description | Type | Additional information |
|---|---|---|---|
| hotelId | string |
None. |
|
| SingleCount | integer |
None. |
|
| DoubleCount | integer |
None. |
|
| StayDays | integer |
None. |
|
| BOK_ChkInDt | string |
None. |
|
| BOK_ChkOutDt | string |
None. |
|
| TariffPaymentMode | string |
None. |
|
| ClientId | integer |
None. |
|
| UniqId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"hotelId": "sample string 1",
"SingleCount": 2,
"DoubleCount": 3,
"StayDays": 4,
"BOK_ChkInDt": "sample string 5",
"BOK_ChkOutDt": "sample string 6",
"TariffPaymentMode": "sample string 7",
"ClientId": 8,
"UniqId": "sample string 9"
}
application/xml, text/xml
Sample:
<BOKModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HB_External_APIs.Models"> <BOK_ChkInDt>sample string 5</BOK_ChkInDt> <BOK_ChkOutDt>sample string 6</BOK_ChkOutDt> <ClientId>8</ClientId> <DoubleCount>3</DoubleCount> <SingleCount>2</SingleCount> <StayDays>4</StayDays> <TariffPaymentMode>sample string 7</TariffPaymentMode> <UniqId>sample string 9</UniqId> <hotelId>sample string 1</hotelId> </BOKModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BOKRoomTypes| Name | Description | Type | Additional information |
|---|---|---|---|
| room_types | Collection of BOKRoomType |
None. |
|
| room_images | Collection of room_image |
None. |
Response Formats
application/json, text/json
Sample:
{
"room_types": [
{
"PropertyId": "sample string 1",
"RoomType": "sample string 2",
"RoomTypeId": "sample string 3",
"RatePlanId": "sample string 4",
"RoomTypeCode": "sample string 5",
"RatePlanCode": "sample string 6",
"SingleCount": 7,
"SingleTariff": 8.0,
"SingleTaxes": 9.0,
"DoubleCount": 1,
"DoubleTariff": 10.0,
"DoubleTaxes": 11.0,
"breakfast_included": true,
"MealPlan": "sample string 13",
"Inclusions": "sample string 14",
"cancellationpolicy": "sample string 15",
"freecancellationuntil": "sample string 16",
"room_image": "sample string 17",
"TariffPaymentMode": "sample string 18",
"Pre_payment": true,
"max_occupancy": 20
},
{
"PropertyId": "sample string 1",
"RoomType": "sample string 2",
"RoomTypeId": "sample string 3",
"RatePlanId": "sample string 4",
"RoomTypeCode": "sample string 5",
"RatePlanCode": "sample string 6",
"SingleCount": 7,
"SingleTariff": 8.0,
"SingleTaxes": 9.0,
"DoubleCount": 1,
"DoubleTariff": 10.0,
"DoubleTaxes": 11.0,
"breakfast_included": true,
"MealPlan": "sample string 13",
"Inclusions": "sample string 14",
"cancellationpolicy": "sample string 15",
"freecancellationuntil": "sample string 16",
"room_image": "sample string 17",
"TariffPaymentMode": "sample string 18",
"Pre_payment": true,
"max_occupancy": 20
}
],
"room_images": [
{
"url": "sample string 1"
},
{
"url": "sample string 1"
}
]
}
application/xml, text/xml
Sample:
<BOKRoomTypes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HB_External_APIs.Models">
<room_images>
<room_image>
<url>sample string 1</url>
</room_image>
<room_image>
<url>sample string 1</url>
</room_image>
</room_images>
<room_types>
<BOKRoomType>
<DoubleCount>1</DoubleCount>
<DoubleTariff>10</DoubleTariff>
<DoubleTaxes>11</DoubleTaxes>
<Inclusions>sample string 14</Inclusions>
<MealPlan>sample string 13</MealPlan>
<Pre_payment>true</Pre_payment>
<PropertyId>sample string 1</PropertyId>
<RatePlanCode>sample string 6</RatePlanCode>
<RatePlanId>sample string 4</RatePlanId>
<RoomType>sample string 2</RoomType>
<RoomTypeCode>sample string 5</RoomTypeCode>
<RoomTypeId>sample string 3</RoomTypeId>
<SingleCount>7</SingleCount>
<SingleTariff>8</SingleTariff>
<SingleTaxes>9</SingleTaxes>
<TariffPaymentMode>sample string 18</TariffPaymentMode>
<breakfast_included>true</breakfast_included>
<cancellationpolicy>sample string 15</cancellationpolicy>
<freecancellationuntil>sample string 16</freecancellationuntil>
<max_occupancy>20</max_occupancy>
<room_image>sample string 17</room_image>
</BOKRoomType>
<BOKRoomType>
<DoubleCount>1</DoubleCount>
<DoubleTariff>10</DoubleTariff>
<DoubleTaxes>11</DoubleTaxes>
<Inclusions>sample string 14</Inclusions>
<MealPlan>sample string 13</MealPlan>
<Pre_payment>true</Pre_payment>
<PropertyId>sample string 1</PropertyId>
<RatePlanCode>sample string 6</RatePlanCode>
<RatePlanId>sample string 4</RatePlanId>
<RoomType>sample string 2</RoomType>
<RoomTypeCode>sample string 5</RoomTypeCode>
<RoomTypeId>sample string 3</RoomTypeId>
<SingleCount>7</SingleCount>
<SingleTariff>8</SingleTariff>
<SingleTaxes>9</SingleTaxes>
<TariffPaymentMode>sample string 18</TariffPaymentMode>
<breakfast_included>true</breakfast_included>
<cancellationpolicy>sample string 15</cancellationpolicy>
<freecancellationuntil>sample string 16</freecancellationuntil>
<max_occupancy>20</max_occupancy>
<room_image>sample string 17</room_image>
</BOKRoomType>
</room_types>
</BOKRoomTypes>