HotelCodesResult
Hotel codes in requested formats. base and provider are position-aligned
(base[i] corresponds to provider[i]). Prefer pairs to avoid relying on index
alignment.
basestring[]
Bundleport/canonical hotel codes (if returnHotelCodes includes "base"). Position-aligned with provider[].
providerstring[]
Provider-specific hotel codes (if returnHotelCodes includes "provider"). Position-aligned with base[].
pairs object[]
Explicit base<->provider pairing (index-independent). Present when both base and provider codes are requested. Use this to build the mapping without relying on array position.
Array [
basestringrequired
Bundleport/canonical hotel code (provider code echoed when unmapped).
providerstringrequired
Provider-specific hotel code.
]
HotelCodesResult
{
"base": [
"string"
],
"provider": [
"string"
],
"pairs": [
{
"base": "string",
"provider": "string"
}
]
}