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
| Özellik | Değer |
|---|---|
| URI | BaseURL/common/hotel/hotel-detail |
| Method | GET |
| Content-Type | application/json |
🔐 Yetkilendirme
Basic Auth zorunludur. MescoMg tarafından sağlanan API kimlik bilgilerini kullanın.
📋 Query Parametreleri
| Parametre | Tip | Açıklama |
|---|---|---|
HotelCodes | String | Detayı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": ""
}
]
}