Breadcrumb
- Hotel Content
- Hotel Content
- Use Cases
- Hotel Languages
Hotel Languages
Languages
Return a list of languages supported by the hotel
Sample Request
Use include=Languages to return a list of hotel supported langues
/v1/api/hotel/13098/details?primaryChannel=WEB&include=Languages
Response (partial)
{
"contentLists": {
"languageList": [{
"Code": "en-US",
"Name": "English - US",
"NativeName": "English - US"
}, {
"Code": "ja-JP",
"Name": "Japanese",
"NativeName": "日本語"
}, {
"Code": "fr-FR",
"Name": "French - France",
"NativeName": "Français - France"
}, {
"Code": "zh-TW",
"Name": "Chinese Traditional",
"NativeName": "繁體中文"
}, {
"Code": "ar-EG",
"Name": "Arabic",
"NativeName": "العربية"
}]
},
"hotelList": [{
"LanguageList": [{
"Code": "en-US",
"Default": true,
"Primary": true
}, {
"Code": "ja-JP",
"Default": false,
"Primary": true
}, {
"Code": "fr-FR",
"Default": false,
"Primary": true
}, {
"Code": "zh-TW",
"Default": false,
"Primary": false
}, {
"Code": "ar-EG",
"Default": false,
"Primary": true
}],
"ID": "13098",
"Name": "Amorim Hotel"
}]
}