Skip to main content

Hotel Detail API

This method returns public static details for one or more hotels.

πŸ“ Endpoint​

GET {BaseURL}/common/hotel/hotel-detail
PropertyValue
URI{BaseURL}/common/hotel/hotel-detail?hotelCodes={hotelCodes}
MethodGET
Content-Typeapplication/json

πŸ” Authorization​

Basic Auth is required. Use the API credentials provided by MescoMg.

πŸ“‹ Query Parameters​

ParameterTypeDescription
hotelCodesStringMescoGo hotel codes, separated by commas

No request body is required. Use the exact lower camel-case query parameter name hotelCodes.

When none of the requested hotel codes matches, the successful response keeps the same shape with an empty HotelDetails array:

{
"Status": {
"Code": "200",
"Description": "Successful"
},
"HotelDetails": []
}

πŸ“₯ Example Response​

{
"Status": {
"Code": "200",
"Description": "Successful"
},
"HotelDetails": [
{
"HotelCode": 26090,
"HotelName": "Certification Property",
"Description": "",
"HotelFacilities": [
"Express Check-in/Check-out",
"Nightclub/DJ",
"Outdoor pool",
"Restaurant",
"Room service",
"Safe",
"Sauna",
"Shoeshine",
"Bar",
"Laundry",
"Breakfast",
"Street parking",
"Private Check-in/Check-out"
],
"Attractions": "",
"Images": [],
"Address": "1 Example Street, Sample City",
"PinCode": "",
"CityId": "148",
"CountryName": "Turkey",
"PhoneNumber": "+10000000000",
"FaxNumber": "",
"Map": "0.00000|0.00000",
"HotelRating": 5,
"CityName": "Istanbul",
"CountryCode": "TR",
"CheckInTime": "",
"CheckOutTime": ""
}
]
}

Example data note: The address, phone, and map values above are synthetic and illustrative. Do not treat them as live property data.