Ana içeriğe geç

Hotel Code List API

Bu metod, sistemdeki otellerin kod listesini almak için kullanılır.

📍 Endpoint

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

🔐 Yetkilendirme

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

📋 Query Parametreleri

ParametreTipAçıklama
countryIdStringOtel kodlarını filtrelemek için opsiyonel ülke tanımlayıcısı

Request body gerekmez.

📥 Örnek Response

{
"HotelCodes": [23416, 23417, 23418, 23419]
}