<?xml version="1.0" encoding="utf-8"?><message> <failure type="3" message="BadAuthentication"> <comment><![CDATA[Credentials are invalid for this Hotel (1234)]]></comment> </failure></message>
Hotel setup
Get hotel
D-EDGE reads a hotel’s configuration from your system
GET /getHotel?hotelCode=1234&lang=EN HTTP/1.1Authorization: Basic dGVzdGhvdGVsOnRlc3RwYXNzd29yZA==Accept: application/xml, text/xmlHost: yourdomain.com
<?xml version="1.0" encoding="utf-8"?><message> <failure type="3" message="BadAuthentication"> <comment><![CDATA[Credentials are invalid for this Hotel (1234)]]></comment> </failure></message>
D-EDGE sends an HTTP GET request to the URL you provide, authenticated with Basic Auth. The hosting model is described in the introduction.
Get hotel is how D-EDGE learns a hotel’s configuration on your platform: its room types, rates, and, when relevant, detailed occupancies. The response feeds the mapping stored on the D-EDGE side, and its priceModel attribute decides the shape of every future planning update. On the technical side, connecting a new hotel takes nothing more than your credentials and the hotel code; the steps are in Connect a new hotel.D-EDGE calls this interface when a hotel is connected, and again on request when its configuration changes. The retrieval is never triggered automatically: when you add, rename, or remove a room or rate, the hotel must ask D-EDGE to redo the mapping.
The request we send
string
required
The hotel identifier or code on your platform. Maximum 50 characters.
string
Requested language for room and rate names, as a 2-letter ISO code such as EN, FR, ES, or DE. When absent, English is expected, and English names are the only requirement.
GET /getHotel?hotelCode=1234&lang=EN HTTP/1.1Authorization: Basic dGVzdGhvdGVsOnRlc3RwYXNzd29yZA==Accept: application/xml, text/xmlHost: yourdomain.com
The response we expect
Return 200 OK with Content-Type: application/xml and the structure below. On an error, return the failure envelope instead, still with 200 OK.
element
required
The root element.
Hide child elements
element
required
The list of room types.
Hide attributes and children
attribute · string
required
The hotel identifier or code, echoing the requested hotelCode. Maximum 50 characters.
attribute · string
The hotel name.
attribute · enum
How D-EDGE must send prices for this hotel: PerDay (default when absent), PerPerson, or PerOccupancy. See Price models.
attribute · string
The currency your platform expects for the hotel, as a 3-letter ISO code. Return it in every response, so that prices reach you in a currency you know in advance. Declare the currency the hotel prices in on D-EDGE. A hotel can price rates in several currencies there, D-EDGE recommends one per hotel, and only the rates in the currency you declare are connected. Should a price still reach you in another currency, refuse the update with IncorrectPriceCurrency. See Currency below.
element · 1..n
required
A room type.
Show attributes and children
attribute · string
required
The room type identifier or code on your platform. Maximum 50 characters.
attribute · string
required
The room type name.
attribute · integer
The room type minimum occupancy, at least 1. Required when priceModel is PerPerson or PerOccupancy.
attribute · integer
The room type maximum occupancy, at least 1, excluding extra beds. Required when priceModel is PerPerson or PerOccupancy. The hotel must set a price for an occupancy this large in D-EDGE, otherwise D-EDGE holds the updates until the room configuration is aligned: see How D-EDGE picks each price.
element · 0..1
The detailed occupancy combinations of the room type. Required when priceModel is PerOccupancy, with at least one occupancy.
Show child elements
element · 1..n
One combination D-EDGE must price.
Show attributes
attribute · integer
required
The adult count, at least 1: a combination cannot have 0 adults.
attribute · integer
required
The child count.
element · 1..n
required
A rate on your platform. If your system has no rate notion, or handles a single price line per room, declare exactly one rate with a default code of your choice.
Show attributes
attribute · string
required
The rate identifier or code on your platform. Maximum 50 characters.
attribute · string
required
The rate name.
attribute · string
A free description of the meal regime, such as Bed Only or Bed and breakfast.
attribute · enum
What this room and rate combination can receive. PRI (default when absent): prices, restrictions, and inventory. InvRest: inventory and restrictions only. Inv: inventory only, at room or room and rate level. NoUpdate: nothing. See Update types below.
<?xml version="1.0" encoding="utf-8"?><message> <failure type="3" message="BadAuthentication"> <comment><![CDATA[Credentials are invalid for this Hotel (1234)]]></comment> </failure></message>
Price models
The priceModel you return here is the most consequential attribute of the response: D-EDGE keeps it for the life of the connection and shapes every planning update from it. Decide it before you build the response, from how your platform stores prices, and keep the room attributes consistent with it: minOccupancy and maxOccupancy with PerPerson, plus the occupancies list with PerOccupancy. Changing it later means asking the hotel to have the mapping redone. The three models are compared on the Price models page.
Currency
Return the currency attribute in every response. It tells D-EDGE which currency your platform expects for the hotel, so every planning update reaches you in a currency you know in advance and can check. Without it, D-EDGE sends prices in the currency configured for the hotel on its side, and nothing tells you which one: a difference with your platform’s currency shows up only when the prices are wrong on your side. Declare the currency the hotel prices in on D-EDGE, one per hotel, and refuse any price reaching you in another currency with IncorrectPriceCurrency.
Update types
Declare an updateType other than PRI when a room and rate combination must not receive full updates. Tell the hotels you connect about the restriction, so their teams know why some updates do not reach your platform. Before using NoUpdate, discuss it with your D-EDGE Connectivity Project Manager: a combination with no inventory synchronisation at all is an overbooking risk.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"D-EDGE Docs","description":"API documentation for D-EDGE, the hospitality technology platform. Connectivity, pricing and availability, booking, and guest management APIs for technology partners.","colors":{"primary":"#621692","light":"#00d7b0","dark":"#9b5fc0"},"logo":{"light":"https://mintcdn.com/dedge/aFUJALuxu9HSXZ0w/logo/d-edge-light.svg?fit=max\u0026auto=format\u0026n=aFUJALuxu9HSXZ0w\u0026q=85\u0026s=11939117a758ab11da1cc24574dcee0b","dark":"https://mintcdn.com/dedge/aFUJALuxu9HSXZ0w/logo/d-edge-dark.svg?fit=max\u0026auto=format\u0026n=aFUJALuxu9HSXZ0w\u0026q=85\u0026s=cd987718817feb5c956b0d07cdfd4da2"},"favicon":"https://mintcdn.com/dedge/qh0OMArf4kAaSPdp/favicon.png?fit=max\u0026auto=format\u0026n=qh0OMArf4kAaSPdp\u0026q=85\u0026s=0c61e3180d90fdba57901ea12d8f7604","api":{"playground":{"display":"simple"},"examples":{"languages":["bash","node","python","php","csharp","java"]}},"background":{"color":{"light":"#faf8ff","dark":"#0f0d12"}},"navbar":{"links":[{"icon":"comment-dots","href":"/overview/resources/contact-us","label":"Contact us"}]},"footer":{"socials":{"facebook":"https://www.facebook.com/D.EDGE.Hospitality.Solutions","x":"https://x.com/D_EDGE_Hosp","youtube":"https://www.youtube.com/channel/UC2wG3a8rYx5re8RdB-2FQ9A","instagram":"https://www.instagram.com/d_edge_hospitality","github":"https://github.com/d-edge","linkedin":"https://www.linkedin.com/company/d-edge-hospitality-solutions"}},"seo":{"metatags":{"canonical":"https://docs.d-edge.com","google-site-verification":"DbCZnF7pKm_lrSZjFug9jFzy2-OcwrnY1kHn_oYMQdg"}},"fonts":{"family":"Montserrat"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"markdown":{"instructions":["This site documents the D-EDGE APIs for technology partners (web agencies, OTAs, PMS and RMS vendors, booking and CRM tools). It is written for developers integrating with hotels that use the D-EDGE platform.","Seven APIs, grouped by domain. Connectivity: Channel Manager API (distribute a hotel's inventory to your channel and send bookings back). Pricing \u0026 Availability: Best Price API (best offers to highlight), Quotation API (all bookable offers for a stay), Daily Rates API (daily availability between two dates). Booking: Booking Engine API (a hotel's full direct booking funnel), Gift Shop API (gift vouchers from catalogue to payment). Guest Management: CRM API (guest profiles).","Pick the API by the need: to display prices, use the Best Price API or the Daily Rates API; to quote a specific stay, use the Quotation API; to book, use the Booking Engine API; to sell gift vouchers, use the Gift Shop API; to manage guest profiles, use the CRM API; to receive hotel inventory and send bookings back as a distribution channel, use the Channel Manager API.","Base URLs, hotel identifiers, and credentials are delivered by the D-EDGE partnership team during onboarding. Do not invent base URLs, endpoints, parameters, or example credentials that do not appear on these pages.","Authentication differs per API: OAuth 1.0 for Best Price, Quotation, Daily Rates, and Booking Engine; an X-API-KEY header for Gift Shop; OAuth 2.0 client credentials for CRM; partner-defined credentials carried in the XML message for the Channel Manager API. Read each API's Authentication page before writing code.","A mock environment returns realistic but fictitious data without credentials. The Postman and Insomnia collections on the API collections page target it by default. Use it for exploration and tests, never for production traffic.","Use the official names exactly: D-EDGE, D-EDGE platform, Channel Manager API, partnership team. Do not use Back Office or Extranet.","Each API has a Changelog page. Check it for the current behaviour before relying on an older answer. For questions these pages do not answer, direct the reader to the Contact us page."]},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Become a Partner","icon":"handshake","href":"https://www.d-edge.com/partner-contact/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dedge","hasAudioNarration":false,"actualSubdomain":"dedge","customDomains":["docs.d-edge.com"],"gitSource":{"type":"gitlab","owner":"d-edge/d-edge/product/docs","repo":"d-edge-mintlify-public-docs","projectId":81118478,"deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af30afaee5fde67b0aa986a","clientVersion":"0.0.4167","searchFilterCounts":[{"language":"default","tag":"Build","count":119},{"language":"default","tag":"Reference","count":89},{"language":"default","tag":"Booking","count":83},{"language":"default","tag":"Booking Engine API","count":54},{"language":"default","tag":"Pricing \u0026 Availability","count":37},{"language":"default","tag":"Resources","count":36},{"language":"default","tag":"Guest Management","count":30},{"language":"default","tag":"CRM API","count":30},{"language":"default","tag":"Gift Shop API","count":27},{"language":"default","tag":"Guidelines","count":23}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":":root{--dedge-purple: #621692;--dedge-purple-tint: rgba(98, 22, 146, 0.1);--dedge-teal: #00d7b0;--dedge-teal-tint: rgba(0, 215, 176, 0.15);--dedge-green: #007a63;--dedge-green-tint: rgba(0, 148, 122, 0.12);--dedge-lilac: #b57edc;--dedge-lilac-tint: rgba(181, 126, 220, 0.15);--dedge-slate: #64748b}.api-badge{position:absolute;top:22px;left:60px;padding:2px 8px;border-radius:4px;background:var(--dedge-purple-tint);color:var(--dedge-purple);font-size:11px;font-weight:600;line-height:16px}html.dark .api-badge{background:var(--dedge-teal-tint);color:var(--dedge-teal)}html[data-current-path^=\"/best-price-api/\"] .eyebrow::before{content:\"Best Price API · \"}html[data-current-path^=\"/quotation-api/\"] .eyebrow::before{content:\"Quotation API · \"}html[data-current-path^=\"/daily-rates-api/\"] .eyebrow::before{content:\"Daily Rates API · \"}html[data-current-path^=\"/booking-engine-api/\"] .eyebrow::before{content:\"Booking Engine API · \"}html[data-current-path^=\"/gift-shop-api/\"] .eyebrow::before{content:\"Gift Shop API · \"}html[data-current-path^=\"/crm-api/\"] .eyebrow::before{content:\"CRM API · \"}html[data-current-path^=\"/channel-manager-api/\"] .eyebrow::before{content:\"Channel Manager API · \"}li[id=\"/channel-manager-api/build/reference/booking-message\"]>a::before{content:\"SCHEMA\";flex-shrink:0;align-self:center;margin-right:6px;padding:2px 4px;border-radius:6px;font-size:0.5rem;font-weight:700;line-height:1.25;letter-spacing:-0.01em;background:var(--dedge-slate);color:#ffffff}html[data-current-path=\"/channel-manager-api/build/reference/get-hotel\"],html[data-current-path=\"/channel-manager-api/build/reference/planning-updates\"],html[data-current-path=\"/channel-manager-api/build/reference/get-bookings\"],html[data-current-path=\"/channel-manager-api/build/reference/confirm-bookings\"]{--hosting-tag: \"Hosted by you\";--hosting-tag-bg: var(--dedge-green-tint);--hosting-tag-fg: var(--dedge-green);--hosting-tag-wrap: nowrap}html[data-current-path=\"/channel-manager-api/build/reference/push-bookings\"]{--hosting-tag: \"Hosted by D-EDGE\";--hosting-tag-bg: var(--dedge-purple-tint);--hosting-tag-fg: var(--dedge-purple);--hosting-tag-wrap: nowrap}html.dark[data-current-path=\"/channel-manager-api/build/reference/get-hotel\"],html.dark[data-current-path=\"/channel-manager-api/build/reference/planning-updates\"],html.dark[data-current-path=\"/channel-manager-api/build/reference/get-bookings\"],html.dark[data-current-path=\"/channel-manager-api/build/reference/confirm-bookings\"]{--hosting-tag-bg: var(--dedge-teal-tint);--hosting-tag-fg: var(--dedge-teal)}html.dark[data-current-path=\"/channel-manager-api/build/reference/push-bookings\"]{--hosting-tag-bg: var(--dedge-lilac-tint);--hosting-tag-fg: var(--dedge-lilac)}html[data-current-path^=\"/channel-manager-api/build/reference/\"] h1#page-title::after{content:var(--hosting-tag, none);display:inline-block;margin-left:12px;padding:3px 10px;border-radius:6px;font-size:12px;font-weight:600;line-height:16px;letter-spacing:0.01em;vertical-align:middle;white-space:nowrap;background:var(--hosting-tag-bg);color:var(--hosting-tag-fg)}@media (min-width: 640px){html[data-current-path^=\"/channel-manager-api/build/reference/\"] h1#page-title{white-space:var(--hosting-tag-wrap, normal)}}@media (min-width: 1280px){html[data-current-path^=\"/channel-manager-api/build/reference/\"] #content-area{width:calc(100% - 24rem)}html[data-current-path^=\"/channel-manager-api/build/reference/\"] #content-container div:has(+#content-area){max-width:24rem}html[data-current-path^=\"/channel-manager-api/build/reference/\"] #content-container div:has(+#content-area)>div{width:24rem}}html[data-current-path^=\"/channel-manager-api/build/reference/\"]:not([data-current-path$=\"/booking-message\"]) .mdx-content{padding-bottom:5rem}html.dark a[href*=\"partner-contact\"]>div{background-color:var(--color-background-dark, #0f0d12)!important}html.dark a[href*=\"partner-contact\"]:hover>div{background-color:var(--dedge-teal-tint)!important}html.dark a[href*=\"partner-contact\"]:hover svg{background-color:var(--dedge-teal)!important;fill:var(--dedge-teal)!important;color:var(--dedge-teal)!important}html[data-current-path=\"/overview/resources/api-collections\"] [data-component-part=\"card-icon\"]:has(>img){display:flex;flex-shrink:0;align-items:center;justify-content:center;width:48px;height:48px}html[data-current-path=\"/overview/resources/api-collections\"] [data-component-part=\"card-icon\"]>img{width:40px;height:40px;max-width:none}html[data-current-path=\"/booking-engine-api/resources/use-cases/last-step-discount\"] table th:nth-child(-n+2),html[data-current-path=\"/booking-engine-api/resources/use-cases/last-step-discount\"] table td:nth-child(-n+2){white-space:nowrap}html[data-current-path=\"/overview/resources/api-collections\"] table th:first-child,html[data-current-path=\"/overview/resources/api-collections\"] table td:first-child{white-space:nowrap}html[data-current-path=\"/channel-manager-api/build/best-practices\"] table th:not(:first-child),html[data-current-path=\"/channel-manager-api/build/best-practices\"] table td:not(:first-child){min-width:0;white-space:nowrap;text-align:left}html[data-current-path=\"/overview/resources/contact-us\"] .card .code-block{margin-top:0.5rem;margin-bottom:0}html[data-current-path=\"/overview/resources/contact-us\"] .card .code-block,html[data-current-path=\"/overview/resources/contact-us\"] .card .code-block div,html[data-current-path=\"/overview/resources/contact-us\"] .card .code-block pre{overflow-x:visible}html[data-current-path=\"/overview/resources/contact-us\"] .card .code-block code,html[data-current-path=\"/overview/resources/contact-us\"] .card .code-block .whitespace-pre{white-space:pre-wrap;overflow-wrap:break-word}.step h2{font-size:1.25rem;line-height:1.75rem}html[data-current-path=\"/overview/resources/api-collections\"] .mdx-content:has(>h2#how-to-import) table:has(td:first-child code) th:first-child,html[data-current-path=\"/overview/resources/api-collections\"] .mdx-content:has(>h2#how-to-import) table:has(td:first-child code) td:first-child{width:1%;min-width:0;white-space:normal}html[data-current-path=\"/overview/resources/api-collections\"] .mdx-content:has(>h2#how-to-import) table td:first-child code{white-space:nowrap}html[data-current-path=\"/overview/resources/api-collections\"] .mdx-content:has(>h2#how-to-import) details>summary+div:not(:has(>.update)){padding-top:0.875rem}html[data-current-path=\"/channel-manager-api/get-certified/test-scenarios\"] .mdx-content:has(>h2#phase-one-basic-behaviour) table th:first-child,html[data-current-path=\"/channel-manager-api/get-certified/test-scenarios\"] .mdx-content:has(>h2#phase-one-basic-behaviour) table td:first-child{width:12%;min-width:0;white-space:nowrap;text-align:left}html[data-current-path=\"/channel-manager-api/get-certified/test-scenarios\"] .mdx-content:has(>h2#phase-one-basic-behaviour) table td:first-child button{vertical-align:0.25em;margin-left:1px}html[data-current-path=\"/overview/resources/api-collections\"] .mdx-content:has(>h2#how-to-import) details>summary+div>.steps{margin-top:0;margin-bottom:0}html[data-current-path=\"/overview/resources/api-collections\"] .mdx-content:has(>h2#how-to-import) details .update>:first-child{position:static}.collection-download{display:block;border-bottom:0;text-decoration:none}.collection-download .card{cursor:pointer}.collection-download:hover .card{border-color:rgb(var(--primary))!important}html.dark .collection-download:hover .card{border-color:rgb(var(--primary-light))!important}.collection-download-icon{position:absolute;top:20px;right:20px;background-color:rgb(var(--gray-400))!important}.collection-download:hover .collection-download-icon{background-color:rgb(var(--primary))!important}html.dark .collection-download:hover .collection-download-icon{background-color:rgb(var(--primary-light))!important}"}],"page":{"pagePath":"channel-manager-api/build/reference/get-hotel","slug":"/channel-manager-api/build/reference/get-hotel","pageMetadata":{"title":"Get hotel","description":"D-EDGE reads a hotel's configuration from your system","api":"GET /getHotel","playground":"none","href":"/channel-manager-api/build/reference/get-hotel"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"D-EDGE reads a hotel’s configuration from your system\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Expandable,Heading,Info,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[`D-EDGE sends an HTTP `,_jsx(_components.code,{children:`GET`}),` request to the URL you provide, authenticated with `,_jsx(_components.a,{href:`/channel-manager-api/build/guidelines/authentication`,children:`Basic Auth`}),`. The hosting model is described in `,_jsx(_components.a,{href:`/channel-manager-api/get-started/introduction#an-api-that-runs-on-your-endpoints`,children:`the introduction`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`Get hotel is how D-EDGE learns a hotel’s configuration on your platform: its room types, rates, and, when relevant, detailed occupancies. The response feeds the mapping stored on the D-EDGE side, and its `,_jsx(_components.code,{children:`priceModel`}),` attribute decides the shape of every future `,_jsx(_components.a,{href:`/channel-manager-api/build/reference/planning-updates`,children:`planning update`}),`. On the technical side, connecting a new hotel takes nothing more than your credentials and the hotel code; the steps are in `,_jsx(_components.a,{href:`/overview/run-your-integration/connect-a-new-hotel`,children:`Connect a new hotel`}),`.`]}),`\n`,_jsx(_components.p,{children:`D-EDGE calls this interface when a hotel is connected, and again on request when its configuration changes. The retrieval is never triggered automatically: when you add, rename, or remove a room or rate, the hotel must ask D-EDGE to redo the mapping.`}),`\n`,_jsx(Heading,{level:`2`,id:`the-request-we-send`,children:`The request we send`}),`\n`,_jsx(ParamField,{query:`hotelCode`,type:`string`,required:true,id:`param-hotel-code`,children:_jsx(_components.p,{children:`The hotel identifier or code on your platform. Maximum 50 characters.`})}),`\n`,_jsx(ParamField,{query:`lang`,type:`string`,id:`param-lang`,children:_jsxs(_components.p,{children:[`Requested language for room and rate names, as a 2-letter ISO code such as `,_jsx(_components.code,{children:`EN`}),`, `,_jsx(_components.code,{children:`FR`}),`, `,_jsx(_components.code,{children:`ES`}),`, or `,_jsx(_components.code,{children:`DE`}),`. When absent, English is expected, and English names are the only requirement.`]})}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`the-response-we-expect`,children:`The response we expect`}),`\n`,_jsxs(_components.p,{children:[`Return `,_jsx(_components.code,{children:`200 OK`}),` with `,_jsx(_components.code,{children:`Content-Type: application/xml`}),` and the structure below. On an error, return the `,_jsx(_components.a,{href:`/channel-manager-api/build/guidelines/responses`,children:`failure envelope`}),` instead, still with `,_jsx(_components.code,{children:`200 OK`}),`.`]}),`\n`,_jsxs(ResponseField,{name:`message`,type:`element`,required:true,id:`param-message`,children:[_jsx(_components.p,{children:`The root element.`}),_jsx(Expandable,{defaultOpen:true,title:`child elements`,children:_jsxs(ResponseField,{name:`rooms`,type:`element`,required:true,id:`param-rooms`,children:[_jsx(_components.p,{children:`The list of room types.`}),_jsxs(Expandable,{defaultOpen:true,title:`attributes and children`,children:[_jsx(ResponseField,{name:`hotelId`,type:`attribute · string`,required:true,id:`param-hotel-id`,children:_jsxs(_components.p,{children:[`The hotel identifier or code, echoing the requested `,_jsx(_components.code,{children:`hotelCode`}),`. Maximum 50 characters.`]})}),_jsx(ResponseField,{name:`hotelName`,type:`attribute · string`,id:`param-hotel-name`,children:_jsx(_components.p,{children:`The hotel name.`})}),_jsx(ResponseField,{name:`priceModel`,type:`attribute · enum`,id:`param-price-model`,children:_jsxs(_components.p,{children:[`How D-EDGE must send prices for this hotel: `,_jsx(_components.code,{children:`PerDay`}),` (default when absent), `,_jsx(_components.code,{children:`PerPerson`}),`, or `,_jsx(_components.code,{children:`PerOccupancy`}),`. See `,_jsx(_components.a,{href:`/channel-manager-api/build/guidelines/price-models`,children:`Price models`}),`.`]})}),_jsx(ResponseField,{name:`currency`,type:`attribute · string`,id:`param-currency`,children:_jsxs(_components.p,{children:[`The currency your platform expects for the hotel, as a 3-letter ISO code. Return it in every response, so that prices reach you in a currency you know in advance. Declare the currency the hotel prices in on D-EDGE. A hotel can price rates in several currencies there, D-EDGE recommends one per hotel, and only the rates in the currency you declare are connected. Should a price still reach you in another currency, refuse the update with `,_jsx(_components.code,{children:`IncorrectPriceCurrency`}),`. See `,_jsx(_components.a,{href:`#currency`,children:`Currency`}),` below.`]})}),_jsxs(ResponseField,{name:`room`,type:`element · 1..n`,required:true,id:`param-room`,children:[_jsx(_components.p,{children:`A room type.`}),_jsxs(Expandable,{title:`attributes and children`,children:[_jsx(ResponseField,{name:`code`,type:`attribute · string`,required:true,id:`param-code`,children:_jsx(_components.p,{children:`The room type identifier or code on your platform. Maximum 50 characters.`})}),_jsx(ResponseField,{name:`name`,type:`attribute · string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`The room type name.`})}),_jsx(ResponseField,{name:`minOccupancy`,type:`attribute · integer`,id:`param-min-occupancy`,children:_jsxs(_components.p,{children:[`The room type minimum occupancy, at least 1. `,_jsx(_components.strong,{children:`Required`}),` when `,_jsx(_components.code,{children:`priceModel`}),` is `,_jsx(_components.code,{children:`PerPerson`}),` or `,_jsx(_components.code,{children:`PerOccupancy`}),`.`]})}),_jsx(ResponseField,{name:`maxOccupancy`,type:`attribute · integer`,id:`param-max-occupancy`,children:_jsxs(_components.p,{children:[`The room type maximum occupancy, at least 1, excluding extra beds. `,_jsx(_components.strong,{children:`Required`}),` when `,_jsx(_components.code,{children:`priceModel`}),` is `,_jsx(_components.code,{children:`PerPerson`}),` or `,_jsx(_components.code,{children:`PerOccupancy`}),`. The hotel must set a price for an occupancy this large in D-EDGE, otherwise D-EDGE holds the updates until the room configuration is aligned: see `,_jsx(_components.a,{href:`/channel-manager-api/build/guidelines/price-models#how-d-edge-picks-each-price`,children:`How D-EDGE picks each price`}),`.`]})}),_jsxs(ResponseField,{name:`occupancies`,type:`element · 0..1`,id:`param-occupancies`,children:[_jsxs(_components.p,{children:[`The detailed occupancy combinations of the room type. `,_jsx(_components.strong,{children:`Required`}),` when `,_jsx(_components.code,{children:`priceModel`}),` is `,_jsx(_components.code,{children:`PerOccupancy`}),`, with at least one `,_jsx(_components.code,{children:`occupancy`}),`.`]}),_jsx(Expandable,{title:`child elements`,children:_jsxs(ResponseField,{name:`occupancy`,type:`element · 1..n`,id:`param-occupancy`,children:[_jsx(_components.p,{children:`One combination D-EDGE must price.`}),_jsxs(Expandable,{title:`attributes`,children:[_jsx(ResponseField,{name:`adultCount`,type:`attribute · integer`,required:true,id:`param-adult-count`,children:_jsx(_components.p,{children:`The adult count, at least 1: a combination cannot have 0 adults.`})}),_jsx(ResponseField,{name:`childCount`,type:`attribute · integer`,required:true,id:`param-child-count`,children:_jsx(_components.p,{children:`The child count.`})})]})]})})]}),_jsxs(ResponseField,{name:`rate`,type:`element · 1..n`,required:true,id:`param-rate`,children:[_jsxs(_components.p,{children:[`A rate on your platform. If your system has no rate notion, or handles a single price line per room, declare exactly one `,_jsx(_components.code,{children:`rate`}),` with a default code of your choice.`]}),_jsxs(Expandable,{title:`attributes`,children:[_jsx(ResponseField,{name:`code`,type:`attribute · string`,required:true,id:`param-code-1`,children:_jsx(_components.p,{children:`The rate identifier or code on your platform. Maximum 50 characters.`})}),_jsx(ResponseField,{name:`name`,type:`attribute · string`,required:true,id:`param-name-1`,children:_jsx(_components.p,{children:`The rate name.`})}),_jsx(ResponseField,{name:`regime`,type:`attribute · string`,id:`param-regime`,children:_jsxs(_components.p,{children:[`A free description of the meal regime, such as `,_jsx(_components.code,{children:`Bed Only`}),` or `,_jsx(_components.code,{children:`Bed and breakfast`}),`.`]})}),_jsx(ResponseField,{name:`updateType`,type:`attribute · enum`,id:`param-update-type`,children:_jsxs(_components.p,{children:[`What this room and rate combination can receive. `,_jsx(_components.code,{children:`PRI`}),` (default when absent): prices, restrictions, and inventory. `,_jsx(_components.code,{children:`InvRest`}),`: inventory and restrictions only. `,_jsx(_components.code,{children:`Inv`}),`: inventory only, at room or room and rate level. `,_jsx(_components.code,{children:`NoUpdate`}),`: nothing. See `,_jsx(_components.a,{href:`#update-types`,children:`Update types`}),` below.`]})})]})]})]})]})]})]})})]}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`price-models`,children:`Price models`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`priceModel`}),` you return here is the most consequential attribute of the response: D-EDGE keeps it for the life of the connection and shapes every `,_jsx(_components.a,{href:`/channel-manager-api/build/reference/planning-updates`,children:`planning update`}),` from it. Decide it before you build the response, from how your platform stores prices, and keep the room attributes consistent with it: `,_jsx(_components.code,{children:`minOccupancy`}),` and `,_jsx(_components.code,{children:`maxOccupancy`}),` with `,_jsx(_components.code,{children:`PerPerson`}),`, plus the `,_jsx(_components.code,{children:`occupancies`}),` list with `,_jsx(_components.code,{children:`PerOccupancy`}),`. Changing it later means asking the hotel to have the mapping redone. The three models are compared on the `,_jsx(_components.a,{href:`/channel-manager-api/build/guidelines/price-models`,children:`Price models`}),` page.`]}),`\n`,_jsx(Heading,{level:`2`,id:`currency`,children:`Currency`}),`\n`,_jsxs(_components.p,{children:[`Return the `,_jsx(_components.code,{children:`currency`}),` attribute in every response. It tells D-EDGE which currency your platform expects for the hotel, so every planning update reaches you in a currency you know in advance and can check. Without it, D-EDGE sends prices in the currency configured for the hotel on its side, and nothing tells you which one: a difference with your platform’s currency shows up only when the prices are wrong on your side. Declare the currency the hotel prices in on D-EDGE, one per hotel, and refuse any price reaching you in another currency with `,_jsx(_components.code,{children:`IncorrectPriceCurrency`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`update-types`,children:`Update types`}),`\n`,_jsxs(_components.p,{children:[`Declare an `,_jsx(_components.code,{children:`updateType`}),` other than `,_jsx(_components.code,{children:`PRI`}),` when a room and rate combination must not receive full updates. Tell the hotels you connect about the restriction, so their teams know why some updates do not reach your platform. Before using `,_jsx(_components.code,{children:`NoUpdate`}),`, discuss it with your D-EDGE Connectivity Project Manager: a combination with no inventory synchronisation at all is an overbooking risk.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get hotel","description":"D-EDGE reads a hotel's configuration from your system","api":"GET /getHotel","playground":"none","href":"/channel-manager-api/build/reference/get-hotel"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Info,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[`D-EDGE sends an HTTP `,_jsx(_components.code,{children:`GET`}),` request to the URL you provide, authenticated with `,_jsx(_components.a,{href:`/channel-manager-api/build/guidelines/authentication`,children:`Basic Auth`}),`. The hosting model is described in `,_jsx(_components.a,{href:`/channel-manager-api/get-started/introduction#an-api-that-runs-on-your-endpoints`,children:`the introduction`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`Get hotel is how D-EDGE learns a hotel’s configuration on your platform: its room types, rates, and, when relevant, detailed occupancies. The response feeds the mapping stored on the D-EDGE side, and its `,_jsx(_components.code,{children:`priceModel`}),` attribute decides the shape of every future `,_jsx(_components.a,{href:`/channel-manager-api/build/reference/planning-updates`,children:`planning update`}),`. On the technical side, connecting a new hotel takes nothing more than your credentials and the hotel code; the steps are in `,_jsx(_components.a,{href:`/overview/run-your-integration/connect-a-new-hotel`,children:`Connect a new hotel`}),`.`]}),`\n`,_jsx(_components.p,{children:`D-EDGE calls this interface when a hotel is connected, and again on request when its configuration changes. The retrieval is never triggered automatically: when you add, rename, or remove a room or rate, the hotel must ask D-EDGE to redo the mapping.`}),`\n`,_jsx(Heading,{level:`2`,id:`the-request-we-send`,children:`The request we send`}),`\n`,_jsx(ParamField,{query:`hotelCode`,type:`string`,required:true,id:`param-hotel-code`,children:_jsx(_components.p,{children:`The hotel identifier or code on your platform. Maximum 50 characters.`})}),`\n`,_jsx(ParamField,{query:`lang`,type:`string`,id:`param-lang`,children:_jsxs(_components.p,{children:[`Requested language for room and rate names, as a 2-letter ISO code such as `,_jsx(_components.code,{children:`EN`}),`, `,_jsx(_components.code,{children:`FR`}),`, `,_jsx(_components.code,{children:`ES`}),`, or `,_jsx(_components.code,{children:`DE`}),`. When absent, English is expected, and English names are the only requirement.`]})}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`Request we send`,numberOfLines:`4`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /getHotel?hotelCode=1234\u0026lang=EN `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`HTTP`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1.1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Authorization`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Basic dGVzdGhvdGVsOnRlc3RwYXNzd29yZA==`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Accept`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` application/xml, text/xml`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Host`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` yourdomain.com`})]}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`2`,id:`the-response-we-expect`,children:`The response we expect`}),`\n`,_jsxs(_components.p,{children:[`Return `,_jsx(_components.code,{children:`200 OK`}),` with `,_jsx(_components.code,{children:`Content-Type: application/xml`}),` and the structure below. On an error, return the `,_jsx(_components.a,{href:`/channel-manager-api/build/guidelines/responses`,children:`failure envelope`}),` instead, still with `,_jsx(_components.code,{children:`200 OK`}),`.`]}),`\n`,_jsxs(ResponseField,{name:`message`,type:`element`,required:true,id:`param-message`,children:[_jsx(_components.p,{children:`The root element.`}),_jsx(Expandable,{defaultOpen:true,title:`child elements`,children:_jsxs(ResponseField,{name:`rooms`,type:`element`,required:true,id:`param-rooms`,children:[_jsx(_components.p,{children:`The list of room types.`}),_jsxs(Expandable,{defaultOpen:true,title:`attributes and children`,children:[_jsx(ResponseField,{name:`hotelId`,type:`attribute · string`,required:true,id:`param-hotel-id`,children:_jsxs(_components.p,{children:[`The hotel identifier or code, echoing the requested `,_jsx(_components.code,{children:`hotelCode`}),`. Maximum 50 characters.`]})}),_jsx(ResponseField,{name:`hotelName`,type:`attribute · string`,id:`param-hotel-name`,children:_jsx(_components.p,{children:`The hotel name.`})}),_jsx(ResponseField,{name:`priceModel`,type:`attribute · enum`,id:`param-price-model`,children:_jsxs(_components.p,{children:[`How D-EDGE must send prices for this hotel: `,_jsx(_components.code,{children:`PerDay`}),` (default when absent), `,_jsx(_components.code,{children:`PerPerson`}),`, or `,_jsx(_components.code,{children:`PerOccupancy`}),`. See `,_jsx(_components.a,{href:`/channel-manager-api/build/guidelines/price-models`,children:`Price models`}),`.`]})}),_jsx(ResponseField,{name:`currency`,type:`attribute · string`,id:`param-currency`,children:_jsxs(_components.p,{children:[`The currency your platform expects for the hotel, as a 3-letter ISO code. Return it in every response, so that prices reach you in a currency you know in advance. Declare the currency the hotel prices in on D-EDGE. A hotel can price rates in several currencies there, D-EDGE recommends one per hotel, and only the rates in the currency you declare are connected. Should a price still reach you in another currency, refuse the update with `,_jsx(_components.code,{children:`IncorrectPriceCurrency`}),`. See `,_jsx(_components.a,{href:`#currency`,children:`Currency`}),` below.`]})}),_jsxs(ResponseField,{name:`room`,type:`element · 1..n`,required:true,id:`param-room`,children:[_jsx(_components.p,{children:`A room type.`}),_jsxs(Expandable,{title:`attributes and children`,children:[_jsx(ResponseField,{name:`code`,type:`attribute · string`,required:true,id:`param-code`,children:_jsx(_components.p,{children:`The room type identifier or code on your platform. Maximum 50 characters.`})}),_jsx(ResponseField,{name:`name`,type:`attribute · string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`The room type name.`})}),_jsx(ResponseField,{name:`minOccupancy`,type:`attribute · integer`,id:`param-min-occupancy`,children:_jsxs(_components.p,{children:[`The room type minimum occupancy, at least 1. `,_jsx(_components.strong,{children:`Required`}),` when `,_jsx(_components.code,{children:`priceModel`}),` is `,_jsx(_components.code,{children:`PerPerson`}),` or `,_jsx(_components.code,{children:`PerOccupancy`}),`.`]})}),_jsx(ResponseField,{name:`maxOccupancy`,type:`attribute · integer`,id:`param-max-occupancy`,children:_jsxs(_components.p,{children:[`The room type maximum occupancy, at least 1, excluding extra beds. `,_jsx(_components.strong,{children:`Required`}),` when `,_jsx(_components.code,{children:`priceModel`}),` is `,_jsx(_components.code,{children:`PerPerson`}),` or `,_jsx(_components.code,{children:`PerOccupancy`}),`. The hotel must set a price for an occupancy this large in D-EDGE, otherwise D-EDGE holds the updates until the room configuration is aligned: see `,_jsx(_components.a,{href:`/channel-manager-api/build/guidelines/price-models#how-d-edge-picks-each-price`,children:`How D-EDGE picks each price`}),`.`]})}),_jsxs(ResponseField,{name:`occupancies`,type:`element · 0..1`,id:`param-occupancies`,children:[_jsxs(_components.p,{children:[`The detailed occupancy combinations of the room type. `,_jsx(_components.strong,{children:`Required`}),` when `,_jsx(_components.code,{children:`priceModel`}),` is `,_jsx(_components.code,{children:`PerOccupancy`}),`, with at least one `,_jsx(_components.code,{children:`occupancy`}),`.`]}),_jsx(Expandable,{title:`child elements`,children:_jsxs(ResponseField,{name:`occupancy`,type:`element · 1..n`,id:`param-occupancy`,children:[_jsx(_components.p,{children:`One combination D-EDGE must price.`}),_jsxs(Expandable,{title:`attributes`,children:[_jsx(ResponseField,{name:`adultCount`,type:`attribute · integer`,required:true,id:`param-adult-count`,children:_jsx(_components.p,{children:`The adult count, at least 1: a combination cannot have 0 adults.`})}),_jsx(ResponseField,{name:`childCount`,type:`attribute · integer`,required:true,id:`param-child-count`,children:_jsx(_components.p,{children:`The child count.`})})]})]})})]}),_jsxs(ResponseField,{name:`rate`,type:`element · 1..n`,required:true,id:`param-rate`,children:[_jsxs(_components.p,{children:[`A rate on your platform. If your system has no rate notion, or handles a single price line per room, declare exactly one `,_jsx(_components.code,{children:`rate`}),` with a default code of your choice.`]}),_jsxs(Expandable,{title:`attributes`,children:[_jsx(ResponseField,{name:`code`,type:`attribute · string`,required:true,id:`param-code-1`,children:_jsx(_components.p,{children:`The rate identifier or code on your platform. Maximum 50 characters.`})}),_jsx(ResponseField,{name:`name`,type:`attribute · string`,required:true,id:`param-name-1`,children:_jsx(_components.p,{children:`The rate name.`})}),_jsx(ResponseField,{name:`regime`,type:`attribute · string`,id:`param-regime`,children:_jsxs(_components.p,{children:[`A free description of the meal regime, such as `,_jsx(_components.code,{children:`Bed Only`}),` or `,_jsx(_components.code,{children:`Bed and breakfast`}),`.`]})}),_jsx(ResponseField,{name:`updateType`,type:`attribute · enum`,id:`param-update-type`,children:_jsxs(_components.p,{children:[`What this room and rate combination can receive. `,_jsx(_components.code,{children:`PRI`}),` (default when absent): prices, restrictions, and inventory. `,_jsx(_components.code,{children:`InvRest`}),`: inventory and restrictions only. `,_jsx(_components.code,{children:`Inv`}),`: inventory only, at room or room and rate level. `,_jsx(_components.code,{children:`NoUpdate`}),`: nothing. See `,_jsx(_components.a,{href:`#update-types`,children:`Update types`}),` below.`]})})]})]})]})]})]})]})})]}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`PerDay`,numberOfLines:`22`,language:`xml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`22`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c?`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`xml`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` version`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1.0\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` encoding`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"utf-8\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`?>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`message`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rooms`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` hotelId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1234\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` hotelName`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"My test hotel\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` priceModel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PerDay\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` currency`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"EUR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`room`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CLA\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Classic Room\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rate`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BAR\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Flexible Rate\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` regime`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bed Only\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` updateType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PRI\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rate`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NR\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Prepayment Rate\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` regime`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bed Only\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` updateType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"InvRest\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`room`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`room`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SUP\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Superior Room\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rate`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BAR\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Flexible Rate\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` regime`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bed Only\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` updateType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PRI\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rate`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BB\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Breakfast included\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` regime`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bed and breakfast\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` updateType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PRI\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`room`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`room`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SUI\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Suite\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rate`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BB\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Breakfast included\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` regime`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bed and breakfast\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` updateType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PRI\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`room`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rooms`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`message`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`PerPerson`,numberOfLines:`27`,language:`xml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`27`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c?`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`xml`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` version`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1.0\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` encoding`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"utf-8\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`?>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`message`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rooms`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` hotelId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1234\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` hotelName`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"My test hotel\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` priceModel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PerPerson\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` currency`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"EUR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`room`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CLA\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Classic Room\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` minOccupancy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` maxOccupancy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rate`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BAR\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Flexible Rate\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` regime`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bed Only\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` updateType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PRI\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rate`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NR\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Prepayment Rate\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` regime`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bed Only\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` updateType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"InvRest\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`room`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`room`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SUP\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Superior Room\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` minOccupancy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` maxOccupancy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rate`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BAR\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Flexible Rate\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` regime`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bed Only\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` updateType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PRI\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rate`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NR\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Prepayment Rate\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` regime`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bed Only\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` updateType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Inv\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`room`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`room`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SUI\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Suite\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` minOccupancy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` maxOccupancy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rate`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BAR\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Flexible Rate\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` regime`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bed Only\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` updateType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NoUpdate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rate`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BB\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Breakfast included\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` regime`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bed and breakfast\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` updateType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PRI\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`room`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rooms`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`message`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`PerOccupancy`,numberOfLines:`28`,language:`xml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`28`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c?`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`xml`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` version`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1.0\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` encoding`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"utf-8\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`?>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`message`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rooms`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` hotelId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1234\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` hotelName`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"My test hotel\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` priceModel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PerOccupancy\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` currency`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"EUR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`room`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SUP\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Superior Room\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` minOccupancy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` maxOccupancy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`occupancies`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`occupancy`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` adultCount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` childCount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`occupancy`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` adultCount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` childCount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`occupancy`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` adultCount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` childCount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`occupancies`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rate`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BAR\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Flexible Rate\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` regime`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bed Only\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rate`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NR\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Prepayment Rate\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` regime`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bed Only\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`room`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`room`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SUI\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Suite\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` minOccupancy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` maxOccupancy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`occupancies`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`occupancy`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` adultCount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` childCount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`occupancy`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` adultCount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` childCount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`occupancy`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` adultCount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` childCount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`occupancy`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` adultCount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` childCount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`occupancies`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rate`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BAR\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Flexible Rate\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` regime`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bed Only\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rate`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BB\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Breakfast included\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` regime`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bed and breakfast\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`room`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rooms`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`message`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Failure`,numberOfLines:`6`,language:`xml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c?`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`xml`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` version`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1.0\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` encoding`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"utf-8\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`?>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`message`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`failure`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` message`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BadAuthentication\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`comment`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\u003c![CDATA[Credentials are invalid for this Hotel (1234)]]>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`comment`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`failure`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`message`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`price-models`,children:`Price models`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`priceModel`}),` you return here is the most consequential attribute of the response: D-EDGE keeps it for the life of the connection and shapes every `,_jsx(_components.a,{href:`/channel-manager-api/build/reference/planning-updates`,children:`planning update`}),` from it. Decide it before you build the response, from how your platform stores prices, and keep the room attributes consistent with it: `,_jsx(_components.code,{children:`minOccupancy`}),` and `,_jsx(_components.code,{children:`maxOccupancy`}),` with `,_jsx(_components.code,{children:`PerPerson`}),`, plus the `,_jsx(_components.code,{children:`occupancies`}),` list with `,_jsx(_components.code,{children:`PerOccupancy`}),`. Changing it later means asking the hotel to have the mapping redone. The three models are compared on the `,_jsx(_components.a,{href:`/channel-manager-api/build/guidelines/price-models`,children:`Price models`}),` page.`]}),`\n`,_jsx(Heading,{level:`2`,id:`currency`,children:`Currency`}),`\n`,_jsxs(_components.p,{children:[`Return the `,_jsx(_components.code,{children:`currency`}),` attribute in every response. It tells D-EDGE which currency your platform expects for the hotel, so every planning update reaches you in a currency you know in advance and can check. Without it, D-EDGE sends prices in the currency configured for the hotel on its side, and nothing tells you which one: a difference with your platform’s currency shows up only when the prices are wrong on your side. Declare the currency the hotel prices in on D-EDGE, one per hotel, and refuse any price reaching you in another currency with `,_jsx(_components.code,{children:`IncorrectPriceCurrency`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`update-types`,children:`Update types`}),`\n`,_jsxs(_components.p,{children:[`Declare an `,_jsx(_components.code,{children:`updateType`}),` other than `,_jsx(_components.code,{children:`PRI`}),` when a room and rate combination must not receive full updates. Tell the hotels you connect about the restriction, so their teams know why some updates do not reach your platform. Before using `,_jsx(_components.code,{children:`NoUpdate`}),`, discuss it with your D-EDGE Connectivity Project Manager: a combination with no inventory synchronisation at all is an overbooking risk.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get hotel","description":"D-EDGE reads a hotel's configuration from your system","api":"GET /getHotel","playground":"none","href":"/channel-manager-api/build/reference/get-hotel"}}}},"mdxExtracts":{"tableOfContents":[{"title":"The request we send","slug":"the-request-we-send","depth":2,"children":[]},{"title":"The response we expect","slug":"the-response-we-expect","depth":2,"children":[]},{"title":"Price models","slug":"price-models","depth":2,"children":[]},{"title":"Currency","slug":"currency","depth":2,"children":[]},{"title":"Update types","slug":"update-types","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Request we send","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"http\">\u003ccode language=\"http\" numberOfLines=\"4\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">GET\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> /getHotel?hotelCode=1234\u0026#x26;lang=EN \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">HTTP\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">/\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1.1\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">Authorization\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> Basic dGVzdGhvdGVsOnRlc3RwYXNzd29yZA==\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">Accept\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> application/xml, text/xml\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">Host\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> yourdomain.com\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"PerDay","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"xml\">\u003ccode language=\"xml\" numberOfLines=\"22\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">\u0026#x3C;?\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">xml\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> version\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1.0\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> encoding\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"utf-8\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">?>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">\u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">message\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">rooms\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> hotelId\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1234\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> hotelName\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"My test hotel\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> priceModel\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"PerDay\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> currency\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"EUR\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">room\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> code\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"CLA\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> name\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Classic Room\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">rate\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> code\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"BAR\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> name\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Flexible Rate\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> regime\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bed Only\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> updateType\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"PRI\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> />\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">rate\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> code\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"NR\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> name\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Prepayment Rate\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> regime\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bed Only\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> updateType\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"InvRest\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> />\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">room\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">room\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> code\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"SUP\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> name\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Superior Room\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">rate\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> code\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"BAR\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> name\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Flexible Rate\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> regime\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bed Only\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> updateType\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"PRI\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> />\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">rate\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> code\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"BB\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> name\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Breakfast included\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> regime\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bed and breakfast\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> updateType\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"PRI\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> />\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">room\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">room\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> code\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"SUI\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> name\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Suite\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">rate\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> code\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"BB\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> name\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Breakfast included\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> regime\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bed and breakfast\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> updateType\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"PRI\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> />\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">room\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">rooms\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">\u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">message\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"PerPerson","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"xml\">\u003ccode language=\"xml\" numberOfLines=\"27\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">\u0026#x3C;?\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">xml\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> version\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1.0\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> encoding\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"utf-8\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">?>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">\u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">message\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">rooms\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> hotelId\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1234\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> hotelName\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"My test hotel\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> priceModel\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"PerPerson\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> currency\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"EUR\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">room\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> code\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"CLA\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> name\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Classic Room\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> minOccupancy\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> maxOccupancy\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">rate\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> code\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"BAR\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> name\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Flexible Rate\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> regime\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bed Only\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> updateType\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"PRI\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> />\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">rate\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> code\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"NR\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> name\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Prepayment Rate\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> regime\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bed Only\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> updateType\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"InvRest\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> />\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">room\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">room\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> code\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"SUP\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> name\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Superior Room\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> minOccupancy\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> maxOccupancy\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">rate\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> code\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"BAR\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> name\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Flexible Rate\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> regime\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bed Only\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> updateType\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"PRI\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> />\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">rate\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> code\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"NR\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> name\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Prepayment Rate\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> regime\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bed Only\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> updateType\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Inv\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> />\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">room\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">room\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> code\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"SUI\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> name\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Suite\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> minOccupancy\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> maxOccupancy\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"4\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">rate\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> code\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"BAR\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> name\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Flexible Rate\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> regime\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bed Only\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> updateType\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"NoUpdate\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> />\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">rate\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> code\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"BB\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> name\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Breakfast included\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> regime\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bed and breakfast\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> updateType\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"PRI\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> />\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">room\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">rooms\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">\u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">message\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"PerOccupancy","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"xml\">\u003ccode language=\"xml\" numberOfLines=\"28\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">\u0026#x3C;?\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">xml\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> version\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1.0\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> encoding\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"utf-8\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">?>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">\u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">message\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">rooms\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> hotelId\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1234\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> hotelName\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"My test hotel\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> priceModel\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"PerOccupancy\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> currency\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"EUR\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">room\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> code\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"SUP\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> name\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Superior Room\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> minOccupancy\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> maxOccupancy\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">occupancies\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">occupancy\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> adultCount\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> childCount\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> />\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">occupancy\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> adultCount\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> childCount\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> />\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">occupancy\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> adultCount\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> childCount\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> />\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">occupancies\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">rate\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> code\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"BAR\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> name\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Flexible Rate\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> regime\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bed Only\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> />\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">rate\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> code\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"NR\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> name\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Prepayment Rate\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> regime\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bed Only\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> />\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">room\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">room\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> code\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"SUI\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> name\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Suite\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> minOccupancy\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> maxOccupancy\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"4\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">occupancies\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">occupancy\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> adultCount\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> childCount\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> />\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">occupancy\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> adultCount\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> childCount\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> />\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">occupancy\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> adultCount\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> childCount\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> />\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">occupancy\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> adultCount\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"4\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> childCount\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> />\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">occupancies\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">rate\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> code\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"BAR\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> name\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Flexible Rate\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> regime\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bed Only\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> />\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">rate\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> code\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"BB\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> name\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Breakfast included\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> regime\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bed and breakfast\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> />\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">room\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">rooms\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">\u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">message\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Failure","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"xml\">\u003ccode language=\"xml\" numberOfLines=\"6\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">\u0026#x3C;?\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">xml\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> version\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1.0\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> encoding\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"utf-8\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">?>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">\u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">message\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">failure\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> type\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"3\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> message\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"BadAuthentication\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">comment\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\u0026#x3C;![CDATA[Credentials are invalid for this Hotel (1234)]]>\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">\u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">comment\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\"> \u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">failure\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">\u0026#x3C;/\u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#569CD6\">message\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#808080\">>\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Get hotel","path":"/getHotel","method":"get","request":{"security":[],"parameters":{"query":{"hotelCode":{"schema":[{"type":"string","description":"The hotel identifier or code on your platform. Maximum 50 characters.","required":true}]},"lang":{"schema":[{"type":"string","description":"Requested language for room and rate names, as a 2-letter ISO code such as `EN` , `FR` , `ES` , or `DE` . When absent, English is expected, and English names are the only requirement."}]}},"header":{},"cookie":{},"path":{}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"message":[{"type":"object","properties":{"rooms":[{"type":"object","properties":{"hotelId":[{"type":"object","properties":{},"description":"The hotel identifier or code, echoing the requested `hotelCode` . Maximum 50 characters.","required":true}],"hotelName":[{"type":"object","properties":{},"description":"The hotel name."}],"priceModel":[{"type":"object","properties":{},"description":"How D-EDGE must send prices for this hotel: `PerDay` (default when absent), `PerPerson` , or `PerOccupancy` . See Price models ."}],"currency":[{"type":"object","properties":{},"description":"The currency your platform expects for the hotel, as a 3-letter ISO code. Return it in every response, so that prices reach you in a currency you know in advance. Declare the currency the hotel prices in on D-EDGE. A hotel can price rates in several currencies there, D-EDGE recommends one per hotel, and only the rates in the currency you declare are connected. Should a price still reach you in another currency, refuse the update with `IncorrectPriceCurrency` . See Currency below."}],"room":[{"type":"object","properties":{"code":[{"type":"object","properties":{},"description":"The room type identifier or code on your platform. Maximum 50 characters.","required":true}],"name":[{"type":"object","properties":{},"description":"The room type name.","required":true}],"minOccupancy":[{"type":"object","properties":{},"description":"The room type minimum occupancy, at least 1. Required when `priceModel` is `PerPerson` or `PerOccupancy` ."}],"maxOccupancy":[{"type":"object","properties":{},"description":"The room type maximum occupancy, at least 1, excluding extra beds. Required when `priceModel` is `PerPerson` or `PerOccupancy` . The hotel must set a price for an occupancy this large in D-EDGE, otherwise D-EDGE holds the updates until the room configuration is aligned: see How D-EDGE picks each price ."}],"occupancies":[{"type":"object","properties":{"occupancy":[{"type":"object","properties":{"adultCount":[{"type":"object","properties":{},"description":"The adult count, at least 1: a combination cannot have 0 adults.","required":true}],"childCount":[{"type":"object","properties":{},"description":"The child count.","required":true}]},"description":"One combination D-EDGE must price."}]},"description":"The detailed occupancy combinations of the room type. Required when `priceModel` is `PerOccupancy` , with at least one `occupancy` ."}],"rate":[{"type":"object","properties":{"code":[{"type":"object","properties":{},"description":"The rate identifier or code on your platform. Maximum 50 characters.","required":true}],"name":[{"type":"object","properties":{},"description":"The rate name.","required":true}],"regime":[{"type":"object","properties":{},"description":"A free description of the meal regime, such as `Bed Only` or `Bed and breakfast` ."}],"updateType":[{"type":"object","properties":{},"description":"What this room and rate combination can receive. `PRI` (default when absent): prices, restrictions, and inventory. `InvRest` : inventory and restrictions only. `Inv` : inventory only, at room or room and rate level. `NoUpdate` : nothing. See Update types below."}]},"description":"A rate on your platform. If your system has no rate notion, or handles a single price line per room, declare exactly one `rate` with a default code of your choice.","required":true}]},"description":"A room type.","required":true}]},"description":"The list of room types.","required":true}]},"description":"The root element.","required":true}]}}],"examples":{"example":{"value":{"message":{"rooms":{"hotelId":{},"hotelName":{},"priceModel":{},"currency":{},"room":{"code":{},"name":{},"minOccupancy":{},"maxOccupancy":{},"occupancies":{"occupancy":{"adultCount":{},"childCount":{}}},"rate":{"code":{},"name":{},"regime":{},"updateType":{}}}}}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"dedge","siteName":"D-EDGE Docs","title":"Get hotel - D-EDGE Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-28T07:02:09.956Z","originalFileLocation":"channel-manager-api/build/reference/get-hotel.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"D-EDGE reads a hotel\u0026#x27;s configuration from your system\">\u003cmeta data-mint-head name=\"application-name\" content=\"D-EDGE Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dedge/m9_yJ4QqW37ObfU6/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/dedge/m9_yJ4QqW37ObfU6/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dedge/m9_yJ4QqW37ObfU6/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dedge/m9_yJ4QqW37ObfU6/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dedge/m9_yJ4QqW37ObfU6/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dedge/m9_yJ4QqW37ObfU6/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dedge/m9_yJ4QqW37ObfU6/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dedge/m9_yJ4QqW37ObfU6/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dedge/m9_yJ4QqW37ObfU6/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get hotel - D-EDGE Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"D-EDGE reads a hotel\u0026#x27;s configuration from your system\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"D-EDGE Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.d-edge.com/channel-manager-api/build/reference/get-hotel\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dedge.mintlify.site/_mintlify/api/og/v2?division=Hotel+setup\u0026amp;title=Get+hotel\u0026amp;description=D-EDGE+reads+a+hotel%27s+configuration+from+your+system\u0026amp;theme=c60d83f72403f78042883f39\u0026amp;signature=7745c67e45d403cb84a418a182744eceb6bc43e6636f81450bc04474d43e46dc\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get hotel - D-EDGE Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"D-EDGE reads a hotel\u0026#x27;s configuration from your system\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dedge.mintlify.site/_mintlify/api/og/v2?division=Hotel+setup\u0026amp;title=Get+hotel\u0026amp;description=D-EDGE+reads+a+hotel%27s+configuration+from+your+system\u0026amp;theme=c60d83f72403f78042883f39\u0026amp;signature=7745c67e45d403cb84a418a182744eceb6bc43e6636f81450bc04474d43e46dc\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/dedge/m9_yJ4QqW37ObfU6/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"D-EDGE Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#621692\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"DbCZnF7pKm_lrSZjFug9jFzy2-OcwrnY1kHn_oYMQdg\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.d-edge.com/channel-manager-api/build/reference/get-hotel\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/channel-manager-api/build/reference/get-hotel.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.d-edge.com/#organization\",\"name\":\"D-EDGE Docs\",\"url\":\"https://docs.d-edge.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/dedge/aFUJALuxu9HSXZ0w/logo/d-edge-light.svg?fit=max\u0026auto=format\u0026n=aFUJALuxu9HSXZ0w\u0026q=85\u0026s=11939117a758ab11da1cc24574dcee0b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.d-edge.com#website\",\"name\":\"D-EDGE Docs\",\"url\":\"https://docs.d-edge.com\",\"publisher\":{\"@id\":\"https://docs.d-edge.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.d-edge.com/channel-manager-api/build/reference/get-hotel#webpage\",\"url\":\"https://docs.d-edge.com/channel-manager-api/build/reference/get-hotel\",\"name\":\"Get hotel\",\"description\":\"D-EDGE reads a hotel's configuration from your system\",\"dateModified\":\"2026-09-28T07:02:09.956Z\",\"isPartOf\":{\"@id\":\"https://docs.d-edge.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.d-edge.com/channel-manager-api/build/reference/get-hotel#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.d-edge.com/channel-manager-api/build/reference/get-hotel#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Build\",\"item\":\"https://docs.d-edge.com/channel-manager-api/build/guidelines/authentication\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get hotel\",\"item\":\"https://docs.d-edge.com/channel-manager-api/build/reference/get-hotel\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.d-edge.com/channel-manager-api/build/reference/get-hotel#apireference\",\"headline\":\"Get hotel\",\"name\":\"Get hotel\",\"description\":\"D-EDGE reads a hotel's configuration from your system\",\"url\":\"https://docs.d-edge.com/channel-manager-api/build/reference/get-hotel\",\"mainEntityOfPage\":{\"@id\":\"https://docs.d-edge.com/channel-manager-api/build/reference/get-hotel#webpage\"},\"dateModified\":\"2026-09-28T07:02:09.956Z\",\"publisher\":{\"@id\":\"https://docs.d-edge.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.d-edge.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"D-EDGE Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"D-EDGE Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/channel-manager-api/build/reference/get-hotel.md","siteName":"D-EDGE Docs","nav":{"global":{"anchors":[{"anchor":"Become a Partner","icon":"handshake","href":"https://www.d-edge.com/partner-contact/"}]},"tabs":[{"tab":"Overview","icon":"book-open","pages":[{"title":"Overview","href":"/overview/get-started/start-building-with-d-edge"}]},{"tab":"Connectivity","icon":"network-wired","menu":[{"item":"Channel Manager API","icon":"tower-broadcast","groups":[{"group":"Get started","icon":"rocket","pages":[{"title":"Introduction","href":"/channel-manager-api/get-started/introduction"},{"title":"Quick start","href":"/channel-manager-api/get-started/quick-start"}]},{"group":"Build","icon":"wrench","pages":[{"group":"Guidelines","pages":[{"title":"Authentication","href":"/channel-manager-api/build/guidelines/authentication"},{"title":"Requests","href":"/channel-manager-api/build/guidelines/requests"},{"title":"Responses","href":"/channel-manager-api/build/guidelines/responses"},{"title":"Price models","description":"How your platform stores prices decides how D-EDGE sends them","href":"/channel-manager-api/build/guidelines/price-models"}]},{"group":"Reference","pages":[{"group":"Hotel setup","pages":[{"title":"Get hotel","api":"GET /getHotel","playground":"none","href":"/channel-manager-api/build/reference/get-hotel"}]},{"group":"Planning","pages":[{"title":"Planning updates","description":"D-EDGE pushes availability, prices, and restrictions","api":"POST /planningUpdates","playground":"none","href":"/channel-manager-api/build/reference/planning-updates"}]},{"group":"Bookings","pages":[{"title":"Get bookings","api":"GET /getBookings","playground":"none","href":"/channel-manager-api/build/reference/get-bookings"},{"title":"Push bookings","api":"POST /pushBookings","playground":"none","href":"/channel-manager-api/build/reference/push-bookings"},{"title":"Confirm bookings","api":"POST /confirmBookings","playground":"none","href":"/channel-manager-api/build/reference/confirm-bookings"},{"title":"Booking message","href":"/channel-manager-api/build/reference/booking-message"}]}]},{"title":"Best practices","tag":"★","href":"/channel-manager-api/build/best-practices"}]},{"group":"Get certified","icon":"clipboard-check","pages":[{"title":"Certification steps","href":"/channel-manager-api/get-certified/certification-steps"},{"title":"Questionnaire","href":"/channel-manager-api/get-certified/questionnaire"},{"title":"Test scenarios","href":"/channel-manager-api/get-certified/test-scenarios"}]},{"group":"Resources","icon":"toolbox","pages":[{"title":"API collections","tag":"★","href":"/overview/resources/api-collections"},{"title":"Changelog","href":"/channel-manager-api/resources/changelog"}]}]}]},{"tab":"Pricing \u0026 Availability","icon":"chart-line","menu":[{"item":"Best Price API","icon":"tag","pages":[{"title":"Best Price API","href":"/best-price-api/get-started/introduction"}]},{"item":"Quotation API","icon":"rectangle-list","pages":[{"title":"Quotation API","href":"/quotation-api/get-started/introduction"}]},{"item":"Daily Rates API","icon":"calendar-days","pages":[{"title":"Daily Rates API","href":"/daily-rates-api/get-started/introduction"}]}],"pages":[{"title":"Pricing \u0026 Availability","href":"/best-price-api/get-started/introduction"}]},{"tab":"Booking","icon":"bell-concierge","menu":[{"item":"Booking Engine API","icon":"cart-shopping","pages":[{"title":"Booking Engine API","href":"/booking-engine-api/get-started/introduction"}]},{"item":"Gift Shop API","icon":"gift","pages":[{"title":"Gift Shop API","href":"/gift-shop-api/get-started/introduction"}]}],"pages":[{"title":"Booking","href":"/booking-engine-api/get-started/introduction"}]},{"tab":"Guest Management","icon":"users","menu":[{"item":"CRM API","icon":"address-book","pages":[{"title":"CRM API","href":"/crm-api/get-started/introduction"}]}],"pages":[{"title":"Guest Management","href":"/crm-api/get-started/introduction"}]}]},"basePath":"","title":"Get hotel - D-EDGE Docs","buildId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","deploymentId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-BgGj2PGS.js","utils-BhNOqRKb.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BAgRNUZo.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CGkb0TPw.js","snippetPresets-ChLkL1a6.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-Ef10Jrbx.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DlVCnjU8.js","shallow-BA55zJxQ.js","getApiPlaygroundDisplay-DR09dKtp.js","CodeSnippet-BZ8J8Kll.js","CodeSnippets-CcguVheG.js","Page-C7x-eUfk.js","getPastedJson-D5UqeqBp.js","icon-DpD0l99C.js","MethodPill-Wg2NXsp_.js","DuplicateIcon-CCSyX8lh.js","createIcon-C4Ukv9HX.js","DynamicMarkdown-RhjEuCHC.js","SectionHeading-DL1MykRq.js","axios-vUo_bRtp.js"]}