Hotel Detail API
This method is used to get detailed information about a specific hotel.
π Endpointβ
GET https://mg.mescogo.com/gw/common/hotel/hotel-detail
| Property | Value |
|---|---|
| URI | BaseURL/common/hotel/hotel-detail |
| 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 | MescoMG hotel codes (comma separated) to retrieve details |
π₯ 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": "125 Main St, Springfield, MA 01105, United States",
"PinCode": "",
"CityId": "148",
"CountryName": "Turkey",
"PhoneNumber": "1234432331",
"FaxNumber": "",
"Map": "42.08854|-72.57835",
"HotelRating": 5,
"CityName": "Istanbul",
"CountryCode": "TR",
"CheckInTime": "",
"CheckOutTime": ""
}
]
}