Get All Hotels List By Search Region

This API retrieves the complete list of hotels available within a specific search region.
By providing the RegionId or City ID as input, it returns information such as HotelId, HotelName, RegionId, Rating, Latitude, and Longitude.

The Get All Hotels List by Search Region API is primarily used to display hotels for region-based searches and bookings, ensuring that your customers see all available accommodation options within the selected area.

This API supports both XML and JSON request and response formats for easy integration across different systems.

GetAllHotelsListBySearchRegion Request Syntax

Endpoint URL

https://{{URL}} /webapi/staticData/getAllHotelsListBySearchRegion

Request Header

HTTP Method : [POST]
Content-Type : [application/xml or application/json]
Accept : [application/xml or application/json]

Request Parameters

Node/Field Type Required Description

Org

String Yes

The organisation short code identifying the agent responsible for the request (Agency ID).

User

String Yes

The user’s logon, unique within the given organisation (User Name).

Password

String Yes

The given user’s password.

RegionId

integer Yes

The Search region ID whose hotels should be fetched. Must be a valid search region ID.

Response Parameters

Field Type Description

Success

Boolean

Indicates if the request was processed successfully (true or false).

Message

String

Descriptive message about the API result.

Data

Array

Contains list of hotel details when the request is successful.

Id

Integer

Unique identifier for the hotel.

HotelName

String

Name of the hotel.

RegionId

Integer

Region ID of the hotel (city/area).

Rating

integer

Star rating of the hotel.

Latitude

decimal

Latitude coordinate of the hotel’s location.

Longitude

decimal

Longitude coordinate of the hotel’s location.

Response Samples

Samples

Copy
{ "Authority": { "Org": "TestOrg", "User": "TestUser", "Password": "TestPassword" }, "RegionId": 18189 }
{ "Success": true, "Message": "Hotels fetched successfully", "Data": [ { "Id": 123, "HotelName": "Hotel Azimut", "RegionId": 18189, "Rating": 4, "Latitude": 42.25473, "Longitude": 18.89634 } ] }
Copy
<HotelSearch xmlns="http://www.reservwire.com/namespace/WebServices/Xml"> <Authority> <Org>TestOrg</Org> <User>TestUser</User> <Password>TestPassword</Password> </Authority> <RegionId>18189</RegionId> </HotelSearch>
<StaticAPIResponseOfListOfHotelsListResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Success>true</Success> <Message>Hotels fetched successfully</Message> <Data> <HotelsListResult> <Id>349998746</Id> <HotelName>Hotel Azimut</HotelName> <RegionId>18189</RegionId> <Rating>4</Rating> <Latitude>42.25473</Latitude> <Longitude>18.89634</Longitude> </HotelsListResult> </Data> </StaticAPIResponseOfListOfHotelsListResult>