Hotel Detail API
This method returns public static details for one or more hotels.
π Endpointβ
GET {BaseURL}/common/hotel/hotel-detail
| Property | Value |
|---|---|
| URI | {BaseURL}/common/hotel/hotel-detail?hotelCodes={hotelCodes} |
| Method | GET |
| Content-Type | application/json |
π Authorizationβ
Basic Auth is required. Use the API credentials provided by MescoMg.
π Query Parametersβ
| Parameter | Type | Description |
|---|---|---|
hotelCodes | String | MescoGo 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.