RoomQuery
At least one of connectionCode, providerCode, roomCodes, roomRefs or hotelCodes is required. Without a scope the request is rejected with 400. Do not combine roomRefs with flat roomCodes (ambiguous).
- 0-item-properties
- 1-item-properties
- 2-item-properties
- 3-item-properties
- 4-item-properties
Connection code in the form {orgCode}-{providerCode}-{id}. Resolves to a provider and scopes the query. A code that does not resolve returns 400.
roomRefs object[]
Multi-provider room lookup by (providerCode, roomCodes) pairs. Each entry scopes its room codes to that provider. Mutually exclusive with flat roomCodes.
Provider that owns the room codes
Provider-specific room codes for this provider
Provider hotel codes to scope the query. Also required for cross-provider room content fill (hotel-base scope); without it fill is skipped.
Language tag for the returned room texts. Fallback chain: exact tag, same base language, English, then every language we hold. Omit it to receive all languages.
es{
"connectionCode": "string",
"providerCode": "string",
"roomCodes": [
"string"
],
"roomRefs": [
{
"providerCode": "string",
"roomCodes": [
"string"
]
}
],
"hotelCodes": [
"string"
],
"language": "es",
"maxSize": 0
}