api-list-of-hotels-mappings-by-city-id
Hotel API 1.7
List of Hotels mappings by City ID
Path:/api/HotelAPi/GetHotelListByCity
Method type : Post
Description of GetHotelListByCity Request
This JSON request is used to retrieve a list of hotels for a given city ID and ratings. Fields:- cityId: (int, required)
- The ID of the city (static data available in the CityMaster table). For more details, contact us.
- Example: “212101”
- ratings: (string, required)
- comma separated float values.
- Example: “4,5”
Request sample
{
"cityId": 212101,
"ratings": "4,4.5,5",
"count" :10
}
Response sample:
[
{
"hotelId": 15191476,
"hotelName": "Grand Plaza Movenpick Media City",
"address": "Sheikh Zayed Road, Opp. Innovation Hub, Dubai, AE",
"latitude": "25.09782",
"longitude": "55.16551",
"star": 5
},
{
"hotelId": 15231379,
"hotelName": "Nihal Residency Hotel Apartments",
"address": "Behind ADCB Bank &, Dubai, AE",
"latitude": "25.25608",
"longitude": "55.29964",
"star": 5
},
{
"hotelId": 15590120,
"hotelName": "Jumeirah Zabeel Saray Dubai",
"address": "Palm Jumeirah, West Crescent, Dubai, AE",
"latitude": "25.09801",
"longitude": "55.12351",
"star": 5
},
{
"hotelId": 15732797,
"hotelName": "Barcelo Residences Dubai Marina",
"address": "King Salman Bin Abdulaziz Road, Dubai, AE",
"latitude": "25.08358",
"longitude": "55.14249",
"star": 5
}
]