Ana içeriğe geç

Hotel Detail API

Bu metod, belirli bir otelin detaylı bilgilerini almak için kullanılır.

📍 Endpoint

GET https://mg.mescogo.com/gw/common/hotel/hotel-detail
ÖzellikDeğer
URIBaseURL/common/hotel/hotel-detail
MethodGET
Content-Typeapplication/json

🔐 Yetkilendirme

Basic Auth zorunludur. MescoMg tarafından sağlanan API kimlik bilgilerini kullanın.

📋 Query Parametreleri

ParametreTipAçıklama
HotelCodesStringDetayını almak istediğiniz MescoMG otel kodları (virgül ile ayrılmış)

📥 Örnek 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": ""
}
]
}