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
| Özellik | Değer |
|---|---|
| URI | BaseURL/common/hotel/hotel-code-list |
| 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 |
|---|---|---|
countryId | String | Otel kodlarını filtrelemek için opsiyonel ülke tanımlayıcısı |
Request body gerekmez.
📥 Örnek Response
{
"HotelCodes": [23416, 23417, 23418, 23419]
}