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