Skip to main content

HotelsByBaseCodesRequest

baseCodesstring[]required

Bundleport base codes (mapping_hotels.base_code). Required, non-empty.

Possible values: >= 1

preferredContentSourcestring

Provider code alias to use as primary content when available (for example example).

preferredContentSourceOrderstring[]

Fallback order for choosing primary when preferred has no content.

includeAllSourcesboolean

When true, response includes for each hotel the array of contents per provider.

languagestring

Language tag for the returned descriptions, applied to the primary hotel and to every entry in sources. Fallback chain: exact tag, same base language, English, then every language we hold. Omit it to receive all languages.

Example: es
maxSizeinteger

Maximum number of base codes to resolve (default from config).

HotelsByBaseCodesRequest
{
"baseCodes": [
"string"
],
"preferredContentSource": "string",
"preferredContentSourceOrder": [
"string"
],
"includeAllSources": true,
"language": "es",
"maxSize": 0
}