POST api/WebBeds/getrooms
Request Information
URI Parameters
None.
Body Parameters
SearchRoomDetailsName | Description | Type | Additional information |
---|---|---|---|
isMember | boolean |
None. |
|
checkInDate | date |
None. |
|
checkOutDate | date |
None. |
|
noOfPersons | integer |
None. |
|
noOfChildren | integer |
None. |
|
noOfRooms | integer |
None. |
|
location | string |
None. |
|
orderBy | integer |
None. |
|
filters | Collection of Collection of integer |
None. |
|
page | integer |
None. |
|
pageSize | integer |
None. |
|
Roomselected | Collection of roomselectedforroomdetails |
None. |
|
hotelid | string |
None. |
|
Nationality | string |
None. |
|
ResidenceCountry | string |
None. |
|
PackageKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "isMember": true, "checkInDate": "2023-12-05T18:41:19.7568187+03:00", "checkOutDate": "2023-12-05T18:41:19.7577621+03:00", "noOfPersons": 4, "noOfChildren": 5, "noOfRooms": 6, "location": "sample string 7", "orderBy": 8, "filters": [ [ 1, 2 ], [ 1, 2 ] ], "page": 9, "pageSize": 10, "Roomselected": [ { "sequence": 1, "paxInfo": [ { "type": "sample string 1", "quantity": {}, "age": "sample string 3" }, { "type": "sample string 1", "quantity": {}, "age": "sample string 3" } ] }, { "sequence": 1, "paxInfo": [ { "type": "sample string 1", "quantity": {}, "age": "sample string 3" }, { "type": "sample string 1", "quantity": {}, "age": "sample string 3" } ] } ], "hotelid": "sample string 11", "Nationality": "sample string 12", "ResidenceCountry": "sample string 13", "PackageKey": "sample string 14" }
application/xml, text/xml
Sample:
<WebBedsController.SearchRoomDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheZowarAPI.Controllers"> <Nationality>sample string 12</Nationality> <PackageKey>sample string 14</PackageKey> <ResidenceCountry>sample string 13</ResidenceCountry> <Roomselected> <WebBedsController.roomselectedforroomdetails> <paxInfo> <WebBedsController.paxinforoomdetails> <age>sample string 3</age> <quantity /> <type>sample string 1</type> </WebBedsController.paxinforoomdetails> <WebBedsController.paxinforoomdetails> <age>sample string 3</age> <quantity /> <type>sample string 1</type> </WebBedsController.paxinforoomdetails> </paxInfo> <sequence>1</sequence> </WebBedsController.roomselectedforroomdetails> <WebBedsController.roomselectedforroomdetails> <paxInfo> <WebBedsController.paxinforoomdetails> <age>sample string 3</age> <quantity /> <type>sample string 1</type> </WebBedsController.paxinforoomdetails> <WebBedsController.paxinforoomdetails> <age>sample string 3</age> <quantity /> <type>sample string 1</type> </WebBedsController.paxinforoomdetails> </paxInfo> <sequence>1</sequence> </WebBedsController.roomselectedforroomdetails> </Roomselected> <checkInDate>2023-12-05T18:41:19.7568187+03:00</checkInDate> <checkOutDate>2023-12-05T18:41:19.7577621+03:00</checkOutDate> <filters xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:ArrayOfint> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </d2p1:ArrayOfint> <d2p1:ArrayOfint> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </d2p1:ArrayOfint> </filters> <hotelid>sample string 11</hotelid> <isMember>true</isMember> <location>sample string 7</location> <noOfChildren>5</noOfChildren> <noOfPersons>4</noOfPersons> <noOfRooms>6</noOfRooms> <orderBy>8</orderBy> <page>9</page> <pageSize>10</pageSize> </WebBedsController.SearchRoomDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />