POST api/WebBeds/getHotels
Request Information
URI Parameters
None.
Body Parameters
SearchHotelRequestName | 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 Roomselected |
None. |
|
Nationality | string |
None. |
|
ResidenceCountry | string |
None. |
|
WebbedsLocation | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "IsMember": true, "CheckInDate": "2023-12-05T17:16:12.3652001+03:00", "CheckOutDate": "2023-12-05T17:16:12.3652001+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" } ] } ], "Nationality": "sample string 11", "ResidenceCountry": "sample string 12", "WebbedsLocation": "sample string 13" }
application/xml, text/xml
Sample:
<WebBedsController.SearchHotelRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheZowarAPI.Controllers"> <CheckInDate>2023-12-05T17:16:12.3652001+03:00</CheckInDate> <CheckOutDate>2023-12-05T17:16:12.3652001+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> <IsMember>true</IsMember> <Location>sample string 7</Location> <Nationality>sample string 11</Nationality> <NoOfChildren>5</NoOfChildren> <NoOfPersons>4</NoOfPersons> <NoOfRooms>6</NoOfRooms> <OrderBy>8</OrderBy> <Page>9</Page> <PageSize>10</PageSize> <ResidenceCountry>sample string 12</ResidenceCountry> <Roomselected> <WebBedsController.Roomselected> <PaxInfo> <WebBedsController.Paxinfo> <age>sample string 3</age> <quantity /> <type>sample string 1</type> </WebBedsController.Paxinfo> <WebBedsController.Paxinfo> <age>sample string 3</age> <quantity /> <type>sample string 1</type> </WebBedsController.Paxinfo> </PaxInfo> <Sequence>1</Sequence> </WebBedsController.Roomselected> <WebBedsController.Roomselected> <PaxInfo> <WebBedsController.Paxinfo> <age>sample string 3</age> <quantity /> <type>sample string 1</type> </WebBedsController.Paxinfo> <WebBedsController.Paxinfo> <age>sample string 3</age> <quantity /> <type>sample string 1</type> </WebBedsController.Paxinfo> </PaxInfo> <Sequence>1</Sequence> </WebBedsController.Roomselected> </Roomselected> <WebbedsLocation>sample string 13</WebbedsLocation> </WebBedsController.SearchHotelRequest>
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/" />