<?xml version="1.0" encoding="utf-8"?><message> <failure type="5" message="RateMappingError"> <comment><![CDATA[Rate (BAR) is invalid or not configured]]></comment> </failure></message>
Planning
Planning updates
D-EDGE pushes availability, prices, and restrictions
<?xml version="1.0" encoding="utf-8"?><message> <failure type="5" message="RateMappingError"> <comment><![CDATA[Rate (BAR) is invalid or not configured]]></comment> </failure></message>
D-EDGE sends HTTP POST requests to the URL you provide, with the XML message as the raw body and the credentials inside the message. The hosting model is described in the introduction.
Planning updates are the heart of the connection: whenever a hotel’s planning changes in D-EDGE, following a manual change or a new booking, an update reaches your endpoint within minutes. A single message targets one hotel, and can cover any mix of room types, rates, and days. Its date ranges are not necessarily contiguous: one message can update the first week of March and the last week of April, with nothing in between.Your endpoint must accept updates at any time. It must also absorb the large ranges of the initialisation stream sent when a hotel is connected or reconfigured: up to 2 years of planning, usually split by month. On request, that stream can start with a pass that closes every room type you host, before the real planning arrives. Updates are deltas: an absent element or attribute means “do not touch this value”, as set out in Requests. Ranges can also start in the past, typically the day before. D-EDGE dates its planning in UTC, so an update sent around midnight may carry a date already past on a server running in another time zone. Accept these updates and ignore the past days rather than refusing the message.
The message we send
element
required
The root element.
Hide child elements
element
required
Your credentials: a login and a password attribute, each up to 50 characters. See Authentication.
element
required
The update itself.
Hide attributes and children
attribute · string
required
The hotel identifier or code, as declared in Get hotel. Maximum 50 characters.
element · 1..n
required
One room type, identified by its id attribute (your room code, maximum 50 characters).
Show child elements
element · 0..n
The availability part. When absent, the update concerns prices and restrictions only.
Show child elements
element · 1..n
required
A date range of availability: from and to dates (inclusive, YYYY-MM-DD) and a quantity (0 to 99999), the number of rooms available on each day of the range for this room type. The three attributes are always present. Consecutive ranges may leave gaps between them.
element · 0..n
The prices and restrictions part for one rate.
Show attributes and children
attribute · string
required
The rate identifier or code, as declared in Get hotel. Maximum 50 characters.
attribute · string
The rate name, generally the same value as rateCode.
attribute · string
The rate currency, ISO code. When absent, the rate is not activated or mapped for this room on the D-EDGE side.
attribute · enum
The meal plan set up in D-EDGE for the rate: BreakfastIncluded, HalfBoard, FullBoard, or AllInclusive. Sent only when the meal plan feature is enabled for your connection, from your questionnaire, and the hotel uses it. See Meal plans below.
element · 1..n
required
Prices and restrictions on a date range. Apart from from and to, all attributes are optional and independent: update exactly what is present. Consecutive ranges may leave gaps between them.
Show attributes and children
attribute · date
required
First day of the range, YYYY-MM-DD.
attribute · date
required
Last day of the range, included.
attribute · decimal
The room price for the rate, per day, for the room’s default occupancy. The number of decimals is not fixed: parse it as a decimal, do not assume two. Absent when the price model is PerPerson or PerOccupancy (prices then travel in occupancy elements), when no price is defined, or when the room and rate are closed.
attribute · integer
Minimum stay in nights (1 to 99) to book the room and rate, applied to every day of the range.
attribute · integer
Maximum stay in nights (1 to 99), same application.
attribute · boolean
Closed-to-arrival restriction. If your platform has no such notion, see the workaround in Best practices.
attribute · boolean
Closed-to-departure restriction.
attribute · boolean
Open or closed to sale for the room and rate, over the range. Independent of the isClosed carried by each occupancy: true here closes the room and rate whatever the occupancy values say, and false here leaves each occupancy to its own flag.
attribute · integer
Availability for this room and rate combination (0 to 99999). Sent only when the connection is configured for per-rate availability, from your questionnaire.
element · 0..n
Per-occupancy prices, present when the price model is PerPerson or PerOccupancy.
Show attributes
attribute · integer
The person count the price applies to (1 to 99). Present with PerPerson, one element per count between the room’s minOccupancy and maxOccupancy.
attribute · integer
The adult count the price applies to (1 to 99). Present with PerOccupancy, together with childCount, one element per combination declared in Get hotel.
attribute · integer
The child count, with PerOccupancy.
attribute · decimal
The room price for this occupancy, per day, over the range. The number of decimals is not fixed. When absent, the occupancy is closed and isClosed is true.
attribute · boolean
required
Open or closed to sale for this occupancy only. It does not reopen a room and rate closed at planning level: an update can carry isClosed="true" on the planning and isClosed="false" on its occupancies, and the room and rate stay closed.
element · 0..2
The meal price detail, for information: a paxType attribute (adult or child) and a price attribute, the price of one meal for that pax type, with no fixed number of decimals. Present only when the meal plan feature is enabled and the rate carries a separated meal plan price. Which pax types count towards unitPrice depends on the price model: see Meal plans below.
Answer 200 OK with the message envelope: <success> when the update is applied, <failure> with the right error code when it is refused. When a message mixes valid and invalid parts (an unknown rate next to a known one, for instance), answer <failure> with the error code of the invalid part. A failure tells D-EDGE the update was not processed, and a refused update is not resent. D-EDGE still recommends applying the valid parts on your side, to limit the gaps between the two systems. A price is never a reason to refuse: D-EDGE forwards what the hotel set, whether 2.00 or 340000000.50. Answer <success> on extreme values and raise an alert on your side if you want them checked.
<?xml version="1.0" encoding="utf-8"?><message> <failure type="5" message="RateMappingError"> <comment><![CDATA[Rate (BAR) is invalid or not configured]]></comment> </failure></message>
How prices arrive per price model
The price sits either in the unitPrice attribute of planning or in its occupancy children, depending on the priceModel your platform declared in Get hotel; the examples above show one message per model. Read prices according to the model you declared rather than inferring it from each message: the model does not change between updates. The three models are compared on the Price models page, and How D-EDGE picks each price explains where each price comes from when the hotel set prices for fewer occupancies than your model asks for.
Meal plans
When the meal plan feature is enabled for your connection and the hotel separates meal prices from room prices, the rate carries a mealPlanType and each planning may carry mealPlan elements. The unitPrice you receive is still the total room price, meals included: the mealPlan elements only tell you, for information, the price of one meal per adult or child. Whether the feature is enabled or not, the price you receive is always the final sellable price.How D-EDGE adds the meals to the room price depends on the price model your platform declared in Get hotel. In every case the meal price is per person and per day, the adult price always counts, and infants never do. With an adult meal at 20 and a child meal at 12:
Price model
Meals added
Example
PerDay
The adult meal price, times the room’s default occupancy (the one set on the D-EDGE side). Only the adult price is used.
A Suite with a default occupancy of 3 and a room price of 300 arrives as unitPrice="360.00": three adult meals.
PerPerson
The adult meal price, times the personCount of each occupancy line. Every person counts as an adult, so only the adult price is used.
Room prices of 100 for 1 person and 120 for 2 arrive as 120 and 160.
PerOccupancy
The adult meal price times adultCount, plus the child meal price times childCount, on each occupancy line.
A room price of 105 for 1 adult and 1 child arrives as 137: one adult meal and one child meal.
The Meal plan example above follows the PerDay rule: the Superior Room has a default occupancy of 2, so a room price of 102 plus two adult meals at 20 gives the unitPrice of 142.
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/planning-updates","slug":"/channel-manager-api/build/reference/planning-updates","pageMetadata":{"title":"Planning updates","description":"D-EDGE pushes availability, prices, and restrictions","api":"POST /planningUpdates","playground":"none","href":"/channel-manager-api/build/reference/planning-updates"},"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 pushes availability, prices, and restrictions\"\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`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Expandable,Heading,Info,ResponseField,Table}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[`D-EDGE sends HTTP `,_jsx(_components.code,{children:`POST`}),` requests to the URL you provide, with the XML message as the raw body and the `,_jsx(_components.a,{href:`/channel-manager-api/build/guidelines/authentication`,children:`credentials inside the message`}),`. 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`,_jsx(_components.p,{children:`Planning updates are the heart of the connection: whenever a hotel’s planning changes in D-EDGE, following a manual change or a new booking, an update reaches your endpoint within minutes. A single message targets one hotel, and can cover any mix of room types, rates, and days. Its date ranges are not necessarily contiguous: one message can update the first week of March and the last week of April, with nothing in between.`}),`\n`,_jsxs(_components.p,{children:[`Your endpoint must accept updates at any time. It must also absorb the large ranges of the initialisation stream sent when a hotel is connected or reconfigured: up to 2 years of planning, usually split by month. On request, that stream can start with a pass that closes every room type you host, before the real planning arrives. Updates are deltas: `,_jsx(_components.strong,{children:`an absent element or attribute means “do not touch this value”`}),`, as set out in `,_jsx(_components.a,{href:`/channel-manager-api/build/guidelines/requests`,children:`Requests`}),`. Ranges can also start in the past, typically the day before. D-EDGE dates its planning in UTC, so an update sent around midnight may carry a date already past on a server running in another time zone. Accept these updates and ignore the past days rather than refusing the message.`]}),`\n`,_jsx(Heading,{level:`2`,id:`the-message-we-send`,children:`The message we send`}),`\n`,_jsxs(ResponseField,{name:`message`,type:`element`,required:true,id:`param-message`,children:[_jsx(_components.p,{children:`The root element.`}),_jsxs(Expandable,{defaultOpen:true,title:`child elements`,children:[_jsx(ResponseField,{name:`authentication`,type:`element`,required:true,id:`param-authentication`,children:_jsxs(_components.p,{children:[`Your credentials: a `,_jsx(_components.code,{children:`login`}),` and a `,_jsx(_components.code,{children:`password`}),` attribute, each up to 50 characters. See `,_jsx(_components.a,{href:`/channel-manager-api/build/guidelines/authentication`,children:`Authentication`}),`.`]})}),_jsxs(ResponseField,{name:`inventoryUpdate`,type:`element`,required:true,id:`param-inventory-update`,children:[_jsx(_components.p,{children:`The update itself.`}),_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, as declared in `,_jsx(_components.a,{href:`/channel-manager-api/build/reference/get-hotel`,children:`Get hotel`}),`. Maximum 50 characters.`]})}),_jsxs(ResponseField,{name:`room`,type:`element · 1..n`,required:true,id:`param-room`,children:[_jsxs(_components.p,{children:[`One room type, identified by its `,_jsx(_components.code,{children:`id`}),` attribute (your room code, maximum 50 characters).`]}),_jsxs(Expandable,{title:`child elements`,children:[_jsxs(ResponseField,{name:`inventory`,type:`element · 0..n`,id:`param-inventory`,children:[_jsx(_components.p,{children:`The availability part. When absent, the update concerns prices and restrictions only.`}),_jsx(Expandable,{title:`child elements`,children:_jsx(ResponseField,{name:`availability`,type:`element · 1..n`,required:true,id:`param-availability`,children:_jsxs(_components.p,{children:[`A date range of availability: `,_jsx(_components.code,{children:`from`}),` and `,_jsx(_components.code,{children:`to`}),` dates (inclusive, `,_jsx(_components.code,{children:`YYYY-MM-DD`}),`) and a `,_jsx(_components.code,{children:`quantity`}),` (0 to 99999), the number of rooms available on each day of the range for this room type. The three attributes are always present. Consecutive ranges may leave gaps between them.`]})})})]}),_jsxs(ResponseField,{name:`rate`,type:`element · 0..n`,id:`param-rate`,children:[_jsx(_components.p,{children:`The prices and restrictions part for one rate.`}),_jsxs(Expandable,{title:`attributes and children`,children:[_jsx(ResponseField,{name:`rateCode`,type:`attribute · string`,required:true,id:`param-rate-code`,children:_jsx(_components.p,{children:`The rate identifier or code, as declared in Get hotel. Maximum 50 characters.`})}),_jsx(ResponseField,{name:`rateName`,type:`attribute · string`,id:`param-rate-name`,children:_jsxs(_components.p,{children:[`The rate name, generally the same value as `,_jsx(_components.code,{children:`rateCode`}),`.`]})}),_jsx(ResponseField,{name:`currency`,type:`attribute · string`,id:`param-currency`,children:_jsx(_components.p,{children:`The rate currency, ISO code. When absent, the rate is not activated or mapped for this room on the D-EDGE side.`})}),_jsx(ResponseField,{name:`mealPlanType`,type:`attribute · enum`,id:`param-meal-plan-type`,children:_jsxs(_components.p,{children:[`The meal plan set up in D-EDGE for the rate: `,_jsx(_components.code,{children:`BreakfastIncluded`}),`, `,_jsx(_components.code,{children:`HalfBoard`}),`, `,_jsx(_components.code,{children:`FullBoard`}),`, or `,_jsx(_components.code,{children:`AllInclusive`}),`. Sent only when the meal plan feature is enabled for your connection, from your `,_jsx(_components.a,{href:`/channel-manager-api/get-certified/questionnaire`,children:`questionnaire`}),`, and the hotel uses it. See `,_jsx(_components.a,{href:`#meal-plans`,children:`Meal plans`}),` below.`]})}),_jsxs(ResponseField,{name:`planning`,type:`element · 1..n`,required:true,id:`param-planning`,children:[_jsxs(_components.p,{children:[`Prices and restrictions on a date range. Apart from `,_jsx(_components.code,{children:`from`}),` and `,_jsx(_components.code,{children:`to`}),`, all attributes are optional and independent: update exactly what is present. Consecutive ranges may leave gaps between them.`]}),_jsxs(Expandable,{title:`attributes and children`,children:[_jsx(ResponseField,{name:`from`,type:`attribute · date`,required:true,id:`param-from`,children:_jsxs(_components.p,{children:[`First day of the range, `,_jsx(_components.code,{children:`YYYY-MM-DD`}),`.`]})}),_jsx(ResponseField,{name:`to`,type:`attribute · date`,required:true,id:`param-to`,children:_jsx(_components.p,{children:`Last day of the range, included.`})}),_jsx(ResponseField,{name:`unitPrice`,type:`attribute · decimal`,id:`param-unit-price`,children:_jsxs(_components.p,{children:[`The room price for the rate, per day, for the room’s default occupancy. The number of decimals is not fixed: parse it as a decimal, do not assume two. Absent when the price model is `,_jsx(_components.code,{children:`PerPerson`}),` or `,_jsx(_components.code,{children:`PerOccupancy`}),` (prices then travel in `,_jsx(_components.code,{children:`occupancy`}),` elements), when no price is defined, or when the room and rate are closed.`]})}),_jsx(ResponseField,{name:`minimumStay`,type:`attribute · integer`,id:`param-minimum-stay`,children:_jsx(_components.p,{children:`Minimum stay in nights (1 to 99) to book the room and rate, applied to every day of the range.`})}),_jsx(ResponseField,{name:`maximumStay`,type:`attribute · integer`,id:`param-maximum-stay`,children:_jsx(_components.p,{children:`Maximum stay in nights (1 to 99), same application.`})}),_jsx(ResponseField,{name:`noArrival`,type:`attribute · boolean`,id:`param-no-arrival`,children:_jsxs(_components.p,{children:[`Closed-to-arrival restriction. If your platform has no such notion, see the workaround in `,_jsx(_components.a,{href:`/channel-manager-api/build/best-practices#restrictions-you-do-not-support`,children:`Best practices`}),`.`]})}),_jsx(ResponseField,{name:`noDeparture`,type:`attribute · boolean`,id:`param-no-departure`,children:_jsx(_components.p,{children:`Closed-to-departure restriction.`})}),_jsx(ResponseField,{name:`isClosed`,type:`attribute · boolean`,id:`param-is-closed`,children:_jsxs(_components.p,{children:[`Open or closed to sale for the room and rate, over the range. Independent of the `,_jsx(_components.code,{children:`isClosed`}),` carried by each `,_jsx(_components.code,{children:`occupancy`}),`: `,_jsx(_components.code,{children:`true`}),` here closes the room and rate whatever the occupancy values say, and `,_jsx(_components.code,{children:`false`}),` here leaves each occupancy to its own flag.`]})}),_jsx(ResponseField,{name:`availability`,type:`attribute · integer`,id:`param-availability-1`,children:_jsxs(_components.p,{children:[`Availability for this room and rate combination (0 to 99999). Sent only when the connection is configured for per-rate availability, from your `,_jsx(_components.a,{href:`/channel-manager-api/get-certified/questionnaire`,children:`questionnaire`}),`.`]})}),_jsxs(ResponseField,{name:`occupancy`,type:`element · 0..n`,id:`param-occupancy`,children:[_jsxs(_components.p,{children:[`Per-occupancy prices, present when the price model is `,_jsx(_components.code,{children:`PerPerson`}),` or `,_jsx(_components.code,{children:`PerOccupancy`}),`.`]}),_jsxs(Expandable,{title:`attributes`,children:[_jsx(ResponseField,{name:`personCount`,type:`attribute · integer`,id:`param-person-count`,children:_jsxs(_components.p,{children:[`The person count the price applies to (1 to 99). Present with `,_jsx(_components.code,{children:`PerPerson`}),`, one element per count between the room’s `,_jsx(_components.code,{children:`minOccupancy`}),` and `,_jsx(_components.code,{children:`maxOccupancy`}),`.`]})}),_jsx(ResponseField,{name:`adultCount`,type:`attribute · integer`,id:`param-adult-count`,children:_jsxs(_components.p,{children:[`The adult count the price applies to (1 to 99). Present with `,_jsx(_components.code,{children:`PerOccupancy`}),`, together with `,_jsx(_components.code,{children:`childCount`}),`, one element per combination declared in Get hotel.`]})}),_jsx(ResponseField,{name:`childCount`,type:`attribute · integer`,id:`param-child-count`,children:_jsxs(_components.p,{children:[`The child count, with `,_jsx(_components.code,{children:`PerOccupancy`}),`.`]})}),_jsx(ResponseField,{name:`unitPrice`,type:`attribute · decimal`,id:`param-unit-price-1`,children:_jsxs(_components.p,{children:[`The room price for this occupancy, per day, over the range. The number of decimals is not fixed. When absent, the occupancy is closed and `,_jsx(_components.code,{children:`isClosed`}),` is `,_jsx(_components.code,{children:`true`}),`.`]})}),_jsx(ResponseField,{name:`isClosed`,type:`attribute · boolean`,required:true,id:`param-is-closed-1`,children:_jsxs(_components.p,{children:[`Open or closed to sale for this occupancy only. It does not reopen a room and rate closed at `,_jsx(_components.code,{children:`planning`}),` level: an update can carry `,_jsx(_components.code,{children:`isClosed=\"true\"`}),` on the `,_jsx(_components.code,{children:`planning`}),` and `,_jsx(_components.code,{children:`isClosed=\"false\"`}),` on its occupancies, and the room and rate stay closed.`]})})]})]}),_jsx(ResponseField,{name:`mealPlan`,type:`element · 0..2`,id:`param-meal-plan`,children:_jsxs(_components.p,{children:[`The meal price detail, for information: a `,_jsx(_components.code,{children:`paxType`}),` attribute (`,_jsx(_components.code,{children:`adult`}),` or `,_jsx(_components.code,{children:`child`}),`) and a `,_jsx(_components.code,{children:`price`}),` attribute, the price of one meal for that pax type, with no fixed number of decimals. Present only when the meal plan feature is enabled and the rate carries a separated meal plan price. Which pax types count towards `,_jsx(_components.code,{children:`unitPrice`}),` depends on the price model: see `,_jsx(_components.a,{href:`#meal-plans`,children:`Meal plans`}),` below.`]})})]})]})]})]})]})]})]})]})]})]}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`your-response`,children:`Your response`}),`\n`,_jsxs(_components.p,{children:[`Answer `,_jsx(_components.code,{children:`200 OK`}),` with the `,_jsx(_components.a,{href:`/channel-manager-api/build/guidelines/responses`,children:`message envelope`}),`: `,_jsx(_components.code,{children:`\u003csuccess>`}),` when the update is applied, `,_jsx(_components.code,{children:`\u003cfailure>`}),` with the right error code when it is refused. When a message mixes valid and invalid parts (an unknown rate next to a known one, for instance), answer `,_jsx(_components.code,{children:`\u003cfailure>`}),` with the error code of the invalid part. A failure tells D-EDGE the update was not processed, and a refused update is not resent. D-EDGE still recommends applying the valid parts on your side, to limit the gaps between the two systems. A price is never a reason to refuse: D-EDGE forwards what the hotel set, whether `,_jsx(_components.code,{children:`2.00`}),` or `,_jsx(_components.code,{children:`340000000.50`}),`. Answer `,_jsx(_components.code,{children:`\u003csuccess>`}),` on extreme values and raise an alert on your side if you want them checked.`]}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`how-prices-arrive-per-price-model`,children:`How prices arrive per price model`}),`\n`,_jsxs(_components.p,{children:[`The price sits either in the `,_jsx(_components.code,{children:`unitPrice`}),` attribute of `,_jsx(_components.code,{children:`planning`}),` or in its `,_jsx(_components.code,{children:`occupancy`}),` children, depending on the `,_jsx(_components.code,{children:`priceModel`}),` your platform declared in `,_jsx(_components.a,{href:`/channel-manager-api/build/reference/get-hotel`,children:`Get hotel`}),`; the examples above show one message per model. Read prices according to the model you declared rather than inferring it from each message: the model does not change between updates. The three models are compared on the `,_jsx(_components.a,{href:`/channel-manager-api/build/guidelines/price-models`,children:`Price models`}),` page, and `,_jsx(_components.a,{href:`/channel-manager-api/build/guidelines/price-models#how-d-edge-picks-each-price`,children:`How D-EDGE picks each price`}),` explains where each price comes from when the hotel set prices for fewer occupancies than your model asks for.`]}),`\n`,_jsx(Heading,{level:`2`,id:`meal-plans`,children:`Meal plans`}),`\n`,_jsxs(_components.p,{children:[`When the meal plan feature is enabled for your connection and the hotel separates meal prices from room prices, the rate carries a `,_jsx(_components.code,{children:`mealPlanType`}),` and each `,_jsx(_components.code,{children:`planning`}),` may carry `,_jsx(_components.code,{children:`mealPlan`}),` elements. The `,_jsx(_components.code,{children:`unitPrice`}),` you receive is still `,_jsx(_components.strong,{children:`the total room price, meals included`}),`: the `,_jsx(_components.code,{children:`mealPlan`}),` elements only tell you, for information, the price of one meal per adult or child. Whether the feature is enabled or not, the price you receive is always the final `,_jsx(_components.a,{href:`/overview/resources/glossary#sellable-price`,children:`sellable price`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`How D-EDGE adds the meals to the room price depends on the price model your platform declared in `,_jsx(_components.a,{href:`/channel-manager-api/build/reference/get-hotel`,children:`Get hotel`}),`. In every case the meal price is per person and per day, the adult price always counts, and infants never do. With an adult meal at 20 and a child meal at 12:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Price model`}),_jsx(_components.th,{children:`Meals added`}),_jsx(_components.th,{children:`Example`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`PerDay`})}),_jsx(_components.td,{children:`The adult meal price, times the room’s default occupancy (the one set on the D-EDGE side). Only the adult price is used.`}),_jsxs(_components.td,{children:[`A Suite with a default occupancy of 3 and a room price of 300 arrives as `,_jsx(_components.code,{children:`unitPrice=\"360.00\"`}),`: three adult meals.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`PerPerson`})}),_jsxs(_components.td,{children:[`The adult meal price, times the `,_jsx(_components.code,{children:`personCount`}),` of each `,_jsx(_components.code,{children:`occupancy`}),` line. Every person counts as an adult, so only the adult price is used.`]}),_jsx(_components.td,{children:`Room prices of 100 for 1 person and 120 for 2 arrive as 120 and 160.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`PerOccupancy`})}),_jsxs(_components.td,{children:[`The adult meal price times `,_jsx(_components.code,{children:`adultCount`}),`, plus the child meal price times `,_jsx(_components.code,{children:`childCount`}),`, on each `,_jsx(_components.code,{children:`occupancy`}),` line.`]}),_jsx(_components.td,{children:`A room price of 105 for 1 adult and 1 child arrives as 137: one adult meal and one child meal.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`The Meal plan example above follows the `,_jsx(_components.code,{children:`PerDay`}),` rule: the Superior Room has a default occupancy of 2, so a room price of 102 plus two adult meals at 20 gives the `,_jsx(_components.code,{children:`unitPrice`}),` of 142.`]})]})}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":"Planning updates","description":"D-EDGE pushes availability, prices, and restrictions","api":"POST /planningUpdates","playground":"none","href":"/channel-manager-api/build/reference/planning-updates"}}},"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`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Info,RequestExample,ResponseExample,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[`D-EDGE sends HTTP `,_jsx(_components.code,{children:`POST`}),` requests to the URL you provide, with the XML message as the raw body and the `,_jsx(_components.a,{href:`/channel-manager-api/build/guidelines/authentication`,children:`credentials inside the message`}),`. 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`,_jsx(_components.p,{children:`Planning updates are the heart of the connection: whenever a hotel’s planning changes in D-EDGE, following a manual change or a new booking, an update reaches your endpoint within minutes. A single message targets one hotel, and can cover any mix of room types, rates, and days. Its date ranges are not necessarily contiguous: one message can update the first week of March and the last week of April, with nothing in between.`}),`\n`,_jsxs(_components.p,{children:[`Your endpoint must accept updates at any time. It must also absorb the large ranges of the initialisation stream sent when a hotel is connected or reconfigured: up to 2 years of planning, usually split by month. On request, that stream can start with a pass that closes every room type you host, before the real planning arrives. Updates are deltas: `,_jsx(_components.strong,{children:`an absent element or attribute means “do not touch this value”`}),`, as set out in `,_jsx(_components.a,{href:`/channel-manager-api/build/guidelines/requests`,children:`Requests`}),`. Ranges can also start in the past, typically the day before. D-EDGE dates its planning in UTC, so an update sent around midnight may carry a date already past on a server running in another time zone. Accept these updates and ignore the past days rather than refusing the message.`]}),`\n`,_jsx(Heading,{level:`2`,id:`the-message-we-send`,children:`The message we send`}),`\n`,_jsxs(ResponseField,{name:`message`,type:`element`,required:true,id:`param-message`,children:[_jsx(_components.p,{children:`The root element.`}),_jsxs(Expandable,{defaultOpen:true,title:`child elements`,children:[_jsx(ResponseField,{name:`authentication`,type:`element`,required:true,id:`param-authentication`,children:_jsxs(_components.p,{children:[`Your credentials: a `,_jsx(_components.code,{children:`login`}),` and a `,_jsx(_components.code,{children:`password`}),` attribute, each up to 50 characters. See `,_jsx(_components.a,{href:`/channel-manager-api/build/guidelines/authentication`,children:`Authentication`}),`.`]})}),_jsxs(ResponseField,{name:`inventoryUpdate`,type:`element`,required:true,id:`param-inventory-update`,children:[_jsx(_components.p,{children:`The update itself.`}),_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, as declared in `,_jsx(_components.a,{href:`/channel-manager-api/build/reference/get-hotel`,children:`Get hotel`}),`. Maximum 50 characters.`]})}),_jsxs(ResponseField,{name:`room`,type:`element · 1..n`,required:true,id:`param-room`,children:[_jsxs(_components.p,{children:[`One room type, identified by its `,_jsx(_components.code,{children:`id`}),` attribute (your room code, maximum 50 characters).`]}),_jsxs(Expandable,{title:`child elements`,children:[_jsxs(ResponseField,{name:`inventory`,type:`element · 0..n`,id:`param-inventory`,children:[_jsx(_components.p,{children:`The availability part. When absent, the update concerns prices and restrictions only.`}),_jsx(Expandable,{title:`child elements`,children:_jsx(ResponseField,{name:`availability`,type:`element · 1..n`,required:true,id:`param-availability`,children:_jsxs(_components.p,{children:[`A date range of availability: `,_jsx(_components.code,{children:`from`}),` and `,_jsx(_components.code,{children:`to`}),` dates (inclusive, `,_jsx(_components.code,{children:`YYYY-MM-DD`}),`) and a `,_jsx(_components.code,{children:`quantity`}),` (0 to 99999), the number of rooms available on each day of the range for this room type. The three attributes are always present. Consecutive ranges may leave gaps between them.`]})})})]}),_jsxs(ResponseField,{name:`rate`,type:`element · 0..n`,id:`param-rate`,children:[_jsx(_components.p,{children:`The prices and restrictions part for one rate.`}),_jsxs(Expandable,{title:`attributes and children`,children:[_jsx(ResponseField,{name:`rateCode`,type:`attribute · string`,required:true,id:`param-rate-code`,children:_jsx(_components.p,{children:`The rate identifier or code, as declared in Get hotel. Maximum 50 characters.`})}),_jsx(ResponseField,{name:`rateName`,type:`attribute · string`,id:`param-rate-name`,children:_jsxs(_components.p,{children:[`The rate name, generally the same value as `,_jsx(_components.code,{children:`rateCode`}),`.`]})}),_jsx(ResponseField,{name:`currency`,type:`attribute · string`,id:`param-currency`,children:_jsx(_components.p,{children:`The rate currency, ISO code. When absent, the rate is not activated or mapped for this room on the D-EDGE side.`})}),_jsx(ResponseField,{name:`mealPlanType`,type:`attribute · enum`,id:`param-meal-plan-type`,children:_jsxs(_components.p,{children:[`The meal plan set up in D-EDGE for the rate: `,_jsx(_components.code,{children:`BreakfastIncluded`}),`, `,_jsx(_components.code,{children:`HalfBoard`}),`, `,_jsx(_components.code,{children:`FullBoard`}),`, or `,_jsx(_components.code,{children:`AllInclusive`}),`. Sent only when the meal plan feature is enabled for your connection, from your `,_jsx(_components.a,{href:`/channel-manager-api/get-certified/questionnaire`,children:`questionnaire`}),`, and the hotel uses it. See `,_jsx(_components.a,{href:`#meal-plans`,children:`Meal plans`}),` below.`]})}),_jsxs(ResponseField,{name:`planning`,type:`element · 1..n`,required:true,id:`param-planning`,children:[_jsxs(_components.p,{children:[`Prices and restrictions on a date range. Apart from `,_jsx(_components.code,{children:`from`}),` and `,_jsx(_components.code,{children:`to`}),`, all attributes are optional and independent: update exactly what is present. Consecutive ranges may leave gaps between them.`]}),_jsxs(Expandable,{title:`attributes and children`,children:[_jsx(ResponseField,{name:`from`,type:`attribute · date`,required:true,id:`param-from`,children:_jsxs(_components.p,{children:[`First day of the range, `,_jsx(_components.code,{children:`YYYY-MM-DD`}),`.`]})}),_jsx(ResponseField,{name:`to`,type:`attribute · date`,required:true,id:`param-to`,children:_jsx(_components.p,{children:`Last day of the range, included.`})}),_jsx(ResponseField,{name:`unitPrice`,type:`attribute · decimal`,id:`param-unit-price`,children:_jsxs(_components.p,{children:[`The room price for the rate, per day, for the room’s default occupancy. The number of decimals is not fixed: parse it as a decimal, do not assume two. Absent when the price model is `,_jsx(_components.code,{children:`PerPerson`}),` or `,_jsx(_components.code,{children:`PerOccupancy`}),` (prices then travel in `,_jsx(_components.code,{children:`occupancy`}),` elements), when no price is defined, or when the room and rate are closed.`]})}),_jsx(ResponseField,{name:`minimumStay`,type:`attribute · integer`,id:`param-minimum-stay`,children:_jsx(_components.p,{children:`Minimum stay in nights (1 to 99) to book the room and rate, applied to every day of the range.`})}),_jsx(ResponseField,{name:`maximumStay`,type:`attribute · integer`,id:`param-maximum-stay`,children:_jsx(_components.p,{children:`Maximum stay in nights (1 to 99), same application.`})}),_jsx(ResponseField,{name:`noArrival`,type:`attribute · boolean`,id:`param-no-arrival`,children:_jsxs(_components.p,{children:[`Closed-to-arrival restriction. If your platform has no such notion, see the workaround in `,_jsx(_components.a,{href:`/channel-manager-api/build/best-practices#restrictions-you-do-not-support`,children:`Best practices`}),`.`]})}),_jsx(ResponseField,{name:`noDeparture`,type:`attribute · boolean`,id:`param-no-departure`,children:_jsx(_components.p,{children:`Closed-to-departure restriction.`})}),_jsx(ResponseField,{name:`isClosed`,type:`attribute · boolean`,id:`param-is-closed`,children:_jsxs(_components.p,{children:[`Open or closed to sale for the room and rate, over the range. Independent of the `,_jsx(_components.code,{children:`isClosed`}),` carried by each `,_jsx(_components.code,{children:`occupancy`}),`: `,_jsx(_components.code,{children:`true`}),` here closes the room and rate whatever the occupancy values say, and `,_jsx(_components.code,{children:`false`}),` here leaves each occupancy to its own flag.`]})}),_jsx(ResponseField,{name:`availability`,type:`attribute · integer`,id:`param-availability-1`,children:_jsxs(_components.p,{children:[`Availability for this room and rate combination (0 to 99999). Sent only when the connection is configured for per-rate availability, from your `,_jsx(_components.a,{href:`/channel-manager-api/get-certified/questionnaire`,children:`questionnaire`}),`.`]})}),_jsxs(ResponseField,{name:`occupancy`,type:`element · 0..n`,id:`param-occupancy`,children:[_jsxs(_components.p,{children:[`Per-occupancy prices, present when the price model is `,_jsx(_components.code,{children:`PerPerson`}),` or `,_jsx(_components.code,{children:`PerOccupancy`}),`.`]}),_jsxs(Expandable,{title:`attributes`,children:[_jsx(ResponseField,{name:`personCount`,type:`attribute · integer`,id:`param-person-count`,children:_jsxs(_components.p,{children:[`The person count the price applies to (1 to 99). Present with `,_jsx(_components.code,{children:`PerPerson`}),`, one element per count between the room’s `,_jsx(_components.code,{children:`minOccupancy`}),` and `,_jsx(_components.code,{children:`maxOccupancy`}),`.`]})}),_jsx(ResponseField,{name:`adultCount`,type:`attribute · integer`,id:`param-adult-count`,children:_jsxs(_components.p,{children:[`The adult count the price applies to (1 to 99). Present with `,_jsx(_components.code,{children:`PerOccupancy`}),`, together with `,_jsx(_components.code,{children:`childCount`}),`, one element per combination declared in Get hotel.`]})}),_jsx(ResponseField,{name:`childCount`,type:`attribute · integer`,id:`param-child-count`,children:_jsxs(_components.p,{children:[`The child count, with `,_jsx(_components.code,{children:`PerOccupancy`}),`.`]})}),_jsx(ResponseField,{name:`unitPrice`,type:`attribute · decimal`,id:`param-unit-price-1`,children:_jsxs(_components.p,{children:[`The room price for this occupancy, per day, over the range. The number of decimals is not fixed. When absent, the occupancy is closed and `,_jsx(_components.code,{children:`isClosed`}),` is `,_jsx(_components.code,{children:`true`}),`.`]})}),_jsx(ResponseField,{name:`isClosed`,type:`attribute · boolean`,required:true,id:`param-is-closed-1`,children:_jsxs(_components.p,{children:[`Open or closed to sale for this occupancy only. It does not reopen a room and rate closed at `,_jsx(_components.code,{children:`planning`}),` level: an update can carry `,_jsx(_components.code,{children:`isClosed=\"true\"`}),` on the `,_jsx(_components.code,{children:`planning`}),` and `,_jsx(_components.code,{children:`isClosed=\"false\"`}),` on its occupancies, and the room and rate stay closed.`]})})]})]}),_jsx(ResponseField,{name:`mealPlan`,type:`element · 0..2`,id:`param-meal-plan`,children:_jsxs(_components.p,{children:[`The meal price detail, for information: a `,_jsx(_components.code,{children:`paxType`}),` attribute (`,_jsx(_components.code,{children:`adult`}),` or `,_jsx(_components.code,{children:`child`}),`) and a `,_jsx(_components.code,{children:`price`}),` attribute, the price of one meal for that pax type, with no fixed number of decimals. Present only when the meal plan feature is enabled and the rate carries a separated meal plan price. Which pax types count towards `,_jsx(_components.code,{children:`unitPrice`}),` depends on the price model: see `,_jsx(_components.a,{href:`#meal-plans`,children:`Meal plans`}),` below.`]})})]})]})]})]})]})]})]})]})]})]}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`PerDay`,numberOfLines:`20`,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:`20`,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:`authentication`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` login`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"testhotel\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` password`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"testpassword\"`}),_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:`inventoryUpdate`}),_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:`#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:` id`}),_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:`#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:`inventory`}),_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:`availability`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-03-01\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` to`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-03-14\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` quantity`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5\"`}),_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:`availability`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-03-15\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` to`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-03-31\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` quantity`}),_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:`inventory`}),_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:` 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:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` rateCode`}),_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:` rateName`}),_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:`#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:`planning`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-03-01\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` to`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-03-14\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` unitPrice`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"142.00\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` minimumStay`}),_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:` maximumStay`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"14\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` noArrival`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"false\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` noDeparture`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"false\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` isClosed`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"false\"`}),_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:`planning`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-03-15\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` to`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-03-31\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` unitPrice`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"169.00\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` minimumStay`}),_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:` maximumStay`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"14\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` noArrival`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"false\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` noDeparture`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"false\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` isClosed`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"false\"`}),_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:`#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:`inventoryUpdate`}),_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:`19`,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:`19`,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:`authentication`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` login`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"testhotel\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` password`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"testpassword\"`}),_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:`inventoryUpdate`}),_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:`#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:` id`}),_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:`#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:`inventory`}),_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:`availability`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-03-01\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` to`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-03-31\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` quantity`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5\"`}),_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:`inventory`}),_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:` 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:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` rateCode`}),_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:` rateName`}),_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:`#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:`planning`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-03-01\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` to`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-03-31\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` minimumStay`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` maximumStay`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"99\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` noArrival`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"false\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` noDeparture`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"false\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` isClosed`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"false\"`}),_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:` personCount`}),_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:` unitPrice`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"100.00\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` isClosed`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"false\"`}),_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:` personCount`}),_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:` unitPrice`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"120.00\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` isClosed`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"false\"`}),_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:`planning`}),_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:`#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:`inventoryUpdate`}),_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:`17`,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:`17`,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:`authentication`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` login`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"testhotel\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` password`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"testpassword\"`}),_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:`inventoryUpdate`}),_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:`#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:` id`}),_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:`#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:` 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:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` rateCode`}),_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:` rateName`}),_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:`#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:`planning`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-03-01\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` to`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-03-31\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` minimumStay`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` maximumStay`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"99\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` noArrival`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"false\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` noDeparture`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"false\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` isClosed`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"false\"`}),_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:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` unitPrice`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"100.00\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` isClosed`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"false\"`}),_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:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` unitPrice`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"105.00\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` isClosed`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"false\"`}),_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:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` unitPrice`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"120.00\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` isClosed`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"false\"`}),_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:`planning`}),_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:`#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:`inventoryUpdate`}),_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:`Inventory only`,numberOfLines:`16`,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:`16`,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:`authentication`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` login`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"testhotel\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` password`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"testpassword\"`}),_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:`inventoryUpdate`}),_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:`#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:` id`}),_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:`#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:`inventory`}),_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:`availability`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-03-01\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` to`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-12-30\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` quantity`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5\"`}),_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:`inventory`}),_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:` id`}),_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:`#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:`inventory`}),_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:`availability`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-03-01\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` to`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-12-30\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` quantity`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"7\"`}),_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:`inventory`}),_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:`inventoryUpdate`}),_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:`Meal plan`,numberOfLines:`15`,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:`15`,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:`authentication`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` login`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"testhotel\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` password`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"testpassword\"`}),_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:`inventoryUpdate`}),_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:`#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:` id`}),_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:`#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:` 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:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` rateCode`}),_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:` rateName`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BB\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` mealPlanType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BreakfastIncluded\"`}),_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:`planning`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-08-30\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` to`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-09-29\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` unitPrice`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"142.00\"`}),_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:`mealPlan`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` paxType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"adult\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` price`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"20.0000\"`}),_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:`mealPlan`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` paxType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"child\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` price`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"12.0000\"`}),_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:`planning`}),_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:`#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:`inventoryUpdate`}),_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:`your-response`,children:`Your response`}),`\n`,_jsxs(_components.p,{children:[`Answer `,_jsx(_components.code,{children:`200 OK`}),` with the `,_jsx(_components.a,{href:`/channel-manager-api/build/guidelines/responses`,children:`message envelope`}),`: `,_jsx(_components.code,{children:`\u003csuccess>`}),` when the update is applied, `,_jsx(_components.code,{children:`\u003cfailure>`}),` with the right error code when it is refused. When a message mixes valid and invalid parts (an unknown rate next to a known one, for instance), answer `,_jsx(_components.code,{children:`\u003cfailure>`}),` with the error code of the invalid part. A failure tells D-EDGE the update was not processed, and a refused update is not resent. D-EDGE still recommends applying the valid parts on your side, to limit the gaps between the two systems. A price is never a reason to refuse: D-EDGE forwards what the hotel set, whether `,_jsx(_components.code,{children:`2.00`}),` or `,_jsx(_components.code,{children:`340000000.50`}),`. Answer `,_jsx(_components.code,{children:`\u003csuccess>`}),` on extreme values and raise an alert on your side if you want them checked.`]}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`Success`,numberOfLines:`4`,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:`4`,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:`success`}),_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:`\"5\"`}),_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:`\"RateMappingError\"`}),_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[Rate (BAR) is invalid or not configured]]>`}),_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:`how-prices-arrive-per-price-model`,children:`How prices arrive per price model`}),`\n`,_jsxs(_components.p,{children:[`The price sits either in the `,_jsx(_components.code,{children:`unitPrice`}),` attribute of `,_jsx(_components.code,{children:`planning`}),` or in its `,_jsx(_components.code,{children:`occupancy`}),` children, depending on the `,_jsx(_components.code,{children:`priceModel`}),` your platform declared in `,_jsx(_components.a,{href:`/channel-manager-api/build/reference/get-hotel`,children:`Get hotel`}),`; the examples above show one message per model. Read prices according to the model you declared rather than inferring it from each message: the model does not change between updates. The three models are compared on the `,_jsx(_components.a,{href:`/channel-manager-api/build/guidelines/price-models`,children:`Price models`}),` page, and `,_jsx(_components.a,{href:`/channel-manager-api/build/guidelines/price-models#how-d-edge-picks-each-price`,children:`How D-EDGE picks each price`}),` explains where each price comes from when the hotel set prices for fewer occupancies than your model asks for.`]}),`\n`,_jsx(Heading,{level:`2`,id:`meal-plans`,children:`Meal plans`}),`\n`,_jsxs(_components.p,{children:[`When the meal plan feature is enabled for your connection and the hotel separates meal prices from room prices, the rate carries a `,_jsx(_components.code,{children:`mealPlanType`}),` and each `,_jsx(_components.code,{children:`planning`}),` may carry `,_jsx(_components.code,{children:`mealPlan`}),` elements. The `,_jsx(_components.code,{children:`unitPrice`}),` you receive is still `,_jsx(_components.strong,{children:`the total room price, meals included`}),`: the `,_jsx(_components.code,{children:`mealPlan`}),` elements only tell you, for information, the price of one meal per adult or child. Whether the feature is enabled or not, the price you receive is always the final `,_jsx(_components.a,{href:`/overview/resources/glossary#sellable-price`,children:`sellable price`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`How D-EDGE adds the meals to the room price depends on the price model your platform declared in `,_jsx(_components.a,{href:`/channel-manager-api/build/reference/get-hotel`,children:`Get hotel`}),`. In every case the meal price is per person and per day, the adult price always counts, and infants never do. With an adult meal at 20 and a child meal at 12:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Price model`}),_jsx(_components.th,{children:`Meals added`}),_jsx(_components.th,{children:`Example`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`PerDay`})}),_jsx(_components.td,{children:`The adult meal price, times the room’s default occupancy (the one set on the D-EDGE side). Only the adult price is used.`}),_jsxs(_components.td,{children:[`A Suite with a default occupancy of 3 and a room price of 300 arrives as `,_jsx(_components.code,{children:`unitPrice=\"360.00\"`}),`: three adult meals.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`PerPerson`})}),_jsxs(_components.td,{children:[`The adult meal price, times the `,_jsx(_components.code,{children:`personCount`}),` of each `,_jsx(_components.code,{children:`occupancy`}),` line. Every person counts as an adult, so only the adult price is used.`]}),_jsx(_components.td,{children:`Room prices of 100 for 1 person and 120 for 2 arrive as 120 and 160.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`PerOccupancy`})}),_jsxs(_components.td,{children:[`The adult meal price times `,_jsx(_components.code,{children:`adultCount`}),`, plus the child meal price times `,_jsx(_components.code,{children:`childCount`}),`, on each `,_jsx(_components.code,{children:`occupancy`}),` line.`]}),_jsx(_components.td,{children:`A room price of 105 for 1 adult and 1 child arrives as 137: one adult meal and one child meal.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`The Meal plan example above follows the `,_jsx(_components.code,{children:`PerDay`}),` rule: the Superior Room has a default occupancy of 2, so a room price of 102 plus two adult meals at 20 gives the `,_jsx(_components.code,{children:`unitPrice`}),` of 142.`]})]})}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":"Planning updates","description":"D-EDGE pushes availability, prices, and restrictions","api":"POST /planningUpdates","playground":"none","href":"/channel-manager-api/build/reference/planning-updates"}}}},"mdxExtracts":{"tableOfContents":[{"title":"The message we send","slug":"the-message-we-send","depth":2,"children":[]},{"title":"Your response","slug":"your-response","depth":2,"children":[]},{"title":"How prices arrive per price model","slug":"how-prices-arrive-per-price-model","depth":2,"children":[]},{"title":"Meal plans","slug":"meal-plans","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","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=\"20\">\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\">authentication\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> login\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"testhotel\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> password\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"testpassword\"\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\">inventoryUpdate\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:#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\"> id\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"CLA\"\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\">inventory\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\">availability\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> from\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2027-03-01\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> to\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2027-03-14\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> quantity\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"5\"\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\">availability\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> from\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2027-03-15\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> to\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2027-03-31\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> quantity\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\">inventory\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\"> 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:#0550AE;--shiki-dark:#9CDCFE\"> rateCode\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\"> rateName\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"BAR\"\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\">planning\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> from\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2027-03-01\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> to\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2027-03-14\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> unitPrice\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"142.00\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> minimumStay\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\"> maximumStay\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"14\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> noArrival\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"false\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> noDeparture\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"false\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> isClosed\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"false\"\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\">planning\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> from\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2027-03-15\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> to\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2027-03-31\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> unitPrice\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"169.00\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> minimumStay\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\"> maximumStay\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"14\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> noArrival\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"false\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> noDeparture\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"false\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> isClosed\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"false\"\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:#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\">inventoryUpdate\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=\"19\">\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\">authentication\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> login\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"testhotel\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> password\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"testpassword\"\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\">inventoryUpdate\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:#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\"> id\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"SUP\"\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\">inventory\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\">availability\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> from\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2027-03-01\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> to\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2027-03-31\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> quantity\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"5\"\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\">inventory\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\"> 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:#0550AE;--shiki-dark:#9CDCFE\"> rateCode\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\"> rateName\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"BAR\"\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\">planning\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> from\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2027-03-01\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> to\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2027-03-31\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> minimumStay\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> maximumStay\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"99\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> noArrival\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"false\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> noDeparture\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"false\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> isClosed\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"false\"\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\"> personCount\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\"> unitPrice\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"100.00\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> isClosed\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"false\"\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\"> personCount\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\"> unitPrice\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"120.00\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> isClosed\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"false\"\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\">planning\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:#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\">inventoryUpdate\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=\"17\">\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\">authentication\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> login\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"testhotel\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> password\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"testpassword\"\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\">inventoryUpdate\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:#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\"> id\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"SUP\"\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\"> 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:#0550AE;--shiki-dark:#9CDCFE\"> rateCode\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\"> rateName\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"BAR\"\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\">planning\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> from\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2027-03-01\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> to\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2027-03-31\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> minimumStay\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> maximumStay\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"99\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> noArrival\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"false\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> noDeparture\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"false\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> isClosed\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"false\"\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:#0550AE;--shiki-dark:#9CDCFE\"> unitPrice\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"100.00\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> isClosed\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"false\"\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:#0550AE;--shiki-dark:#9CDCFE\"> unitPrice\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"105.00\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> isClosed\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"false\"\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:#0550AE;--shiki-dark:#9CDCFE\"> unitPrice\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"120.00\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> isClosed\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"false\"\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\">planning\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:#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\">inventoryUpdate\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":"Inventory only","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=\"16\">\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\">authentication\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> login\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"testhotel\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> password\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"testpassword\"\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\">inventoryUpdate\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:#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\"> id\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"CLA\"\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\">inventory\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\">availability\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> from\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2027-03-01\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> to\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2027-12-30\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> quantity\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"5\"\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\">inventory\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\"> id\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"SUP\"\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\">inventory\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\">availability\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> from\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2027-03-01\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> to\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2027-12-30\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> quantity\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"7\"\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\">inventory\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\">inventoryUpdate\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":"Meal plan","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=\"15\">\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\">authentication\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> login\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"testhotel\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> password\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"testpassword\"\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\">inventoryUpdate\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:#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\"> id\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"SUP\"\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\"> 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:#0550AE;--shiki-dark:#9CDCFE\"> rateCode\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\"> rateName\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"BB\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> mealPlanType\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"BreakfastIncluded\"\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\">planning\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> from\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2027-08-30\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> to\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2027-09-29\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> unitPrice\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"142.00\"\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\">mealPlan\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> paxType\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"adult\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> price\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"20.0000\"\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\">mealPlan\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> paxType\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"child\"\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#9CDCFE\"> price\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"12.0000\"\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\">planning\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:#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\">inventoryUpdate\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":[]},"response":{"type":"ResponseExample","children":[{"filename":"Success","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=\"4\">\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\">success\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\">\"5\"\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\">\"RateMappingError\"\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[Rate (BAR) is invalid or not configured]]>\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":"Planning updates","path":"/planningUpdates","method":"post","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"message":[{"type":"object","properties":{"authentication":[{"type":"object","properties":{},"description":"Your credentials: a `login` and a `password` attribute, each up to 50 characters. See Authentication .","required":true}],"inventoryUpdate":[{"type":"object","properties":{"hotelId":[{"type":"object","properties":{},"description":"The hotel identifier or code, as declared in Get hotel . Maximum 50 characters.","required":true}],"room":[{"type":"object","properties":{"inventory":[{"type":"object","properties":{"availability":[{"type":"object","properties":{},"description":"A date range of availability: `from` and `to` dates (inclusive, `YYYY-MM-DD` ) and a `quantity` (0 to 99999), the number of rooms available on each day of the range for this room type. The three attributes are always present. Consecutive ranges may leave gaps between them.","required":true}]},"description":"The availability part. When absent, the update concerns prices and restrictions only."}],"rate":[{"type":"object","properties":{"rateCode":[{"type":"object","properties":{},"description":"The rate identifier or code, as declared in Get hotel. Maximum 50 characters.","required":true}],"rateName":[{"type":"object","properties":{},"description":"The rate name, generally the same value as `rateCode` ."}],"currency":[{"type":"object","properties":{},"description":"The rate currency, ISO code. When absent, the rate is not activated or mapped for this room on the D-EDGE side."}],"mealPlanType":[{"type":"object","properties":{},"description":"The meal plan set up in D-EDGE for the rate: `BreakfastIncluded` , `HalfBoard` , `FullBoard` , or `AllInclusive` . Sent only when the meal plan feature is enabled for your connection, from your questionnaire , and the hotel uses it. See Meal plans below."}],"planning":[{"type":"object","properties":{"from":[{"type":"object","properties":{},"description":"First day of the range, `YYYY-MM-DD` .","required":true}],"to":[{"type":"object","properties":{},"description":"Last day of the range, included.","required":true}],"unitPrice":[{"type":"object","properties":{},"description":"The room price for the rate, per day, for the room’s default occupancy. The number of decimals is not fixed: parse it as a decimal, do not assume two. Absent when the price model is `PerPerson` or `PerOccupancy` (prices then travel in `occupancy` elements), when no price is defined, or when the room and rate are closed."}],"minimumStay":[{"type":"object","properties":{},"description":"Minimum stay in nights (1 to 99) to book the room and rate, applied to every day of the range."}],"maximumStay":[{"type":"object","properties":{},"description":"Maximum stay in nights (1 to 99), same application."}],"noArrival":[{"type":"object","properties":{},"description":"Closed-to-arrival restriction. If your platform has no such notion, see the workaround in Best practices ."}],"noDeparture":[{"type":"object","properties":{},"description":"Closed-to-departure restriction."}],"isClosed":[{"type":"object","properties":{},"description":"Open or closed to sale for the room and rate, over the range. Independent of the `isClosed` carried by each `occupancy` : `true` here closes the room and rate whatever the occupancy values say, and `false` here leaves each occupancy to its own flag."}],"availability":[{"type":"object","properties":{},"description":"Availability for this room and rate combination (0 to 99999). Sent only when the connection is configured for per-rate availability, from your questionnaire ."}],"occupancy":[{"type":"object","properties":{"personCount":[{"type":"object","properties":{},"description":"The person count the price applies to (1 to 99). Present with `PerPerson` , one element per count between the room’s `minOccupancy` and `maxOccupancy` ."}],"adultCount":[{"type":"object","properties":{},"description":"The adult count the price applies to (1 to 99). Present with `PerOccupancy` , together with `childCount` , one element per combination declared in Get hotel."}],"childCount":[{"type":"object","properties":{},"description":"The child count, with `PerOccupancy` ."}],"unitPrice":[{"type":"object","properties":{},"description":"The room price for this occupancy, per day, over the range. The number of decimals is not fixed. When absent, the occupancy is closed and `isClosed` is `true` ."}],"isClosed":[{"type":"object","properties":{},"description":"Open or closed to sale for this occupancy only. It does not reopen a room and rate closed at `planning` level: an update can carry `isClosed=\"true\"` on the `planning` and `isClosed=\"false\"` on its occupancies, and the room and rate stay closed.","required":true}]},"description":"Per-occupancy prices, present when the price model is `PerPerson` or `PerOccupancy` ."}],"mealPlan":[{"type":"object","properties":{},"description":"The meal price detail, for information: a `paxType` attribute ( `adult` or `child` ) and a `price` attribute, the price of one meal for that pax type, with no fixed number of decimals. Present only when the meal plan feature is enabled and the rate carries a separated meal plan price. Which pax types count towards `unitPrice` depends on the price model: see Meal plans below."}]},"description":"Prices and restrictions on a date range. Apart from `from` and `to` , all attributes are optional and independent: update exactly what is present. Consecutive ranges may leave gaps between them.","required":true}]},"description":"The prices and restrictions part for one rate."}]},"description":"One room type, identified by its `id` attribute (your room code, maximum 50 characters).","required":true}]},"description":"The update itself.","required":true}]},"description":"The root element.","required":true}]}}],"examples":{"example":{"value":{"message":{"authentication":{},"inventoryUpdate":{"hotelId":{},"room":{"inventory":{"availability":{}},"rate":{"rateCode":{},"rateName":{},"currency":{},"mealPlanType":{},"planning":{"from":{},"to":{},"unitPrice":{},"minimumStay":{},"maximumStay":{},"noArrival":{},"noDeparture":{},"isClosed":{},"availability":{},"occupancy":{"personCount":{},"adultCount":{},"childCount":{},"unitPrice":{},"isClosed":{}},"mealPlan":{}}}}}}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"dedge","siteName":"D-EDGE Docs","title":"Planning updates - D-EDGE Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-28T07:02:09.958Z","originalFileLocation":"channel-manager-api/build/reference/planning-updates.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 pushes availability, prices, and restrictions\">\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=\"Planning updates - D-EDGE Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"D-EDGE pushes availability, prices, and restrictions\">\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/planning-updates\">\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=Planning\u0026amp;title=Planning+updates\u0026amp;description=D-EDGE+pushes+availability%2C+prices%2C+and+restrictions\u0026amp;theme=c60d83f72403f78042883f39\u0026amp;signature=e71baf6baa7aea8488c885cbcabf3d55fc7bafeab4c21644a78cb173faba6d3b\">\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=\"Planning updates - D-EDGE Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"D-EDGE pushes availability, prices, and restrictions\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dedge.mintlify.site/_mintlify/api/og/v2?division=Planning\u0026amp;title=Planning+updates\u0026amp;description=D-EDGE+pushes+availability%2C+prices%2C+and+restrictions\u0026amp;theme=c60d83f72403f78042883f39\u0026amp;signature=e71baf6baa7aea8488c885cbcabf3d55fc7bafeab4c21644a78cb173faba6d3b\">\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/planning-updates\">\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/planning-updates.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/planning-updates#webpage\",\"url\":\"https://docs.d-edge.com/channel-manager-api/build/reference/planning-updates\",\"name\":\"Planning updates\",\"description\":\"D-EDGE pushes availability, prices, and restrictions\",\"dateModified\":\"2026-09-28T07:02:09.958Z\",\"isPartOf\":{\"@id\":\"https://docs.d-edge.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.d-edge.com/channel-manager-api/build/reference/planning-updates#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.d-edge.com/channel-manager-api/build/reference/planning-updates#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\":\"Reference\",\"item\":\"https://docs.d-edge.com/channel-manager-api/build/reference/get-hotel\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Planning updates\",\"item\":\"https://docs.d-edge.com/channel-manager-api/build/reference/planning-updates\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.d-edge.com/channel-manager-api/build/reference/planning-updates#apireference\",\"headline\":\"Planning updates\",\"name\":\"Planning updates\",\"description\":\"D-EDGE pushes availability, prices, and restrictions\",\"url\":\"https://docs.d-edge.com/channel-manager-api/build/reference/planning-updates\",\"mainEntityOfPage\":{\"@id\":\"https://docs.d-edge.com/channel-manager-api/build/reference/planning-updates#webpage\"},\"dateModified\":\"2026-09-28T07:02:09.958Z\",\"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/planning-updates.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","href":"/channel-manager-api/build/guidelines/price-models"}]},{"group":"Reference","pages":[{"group":"Hotel setup","pages":[{"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"}]},{"group":"Planning","pages":[{"title":"Planning updates","api":"POST /planningUpdates","playground":"none","href":"/channel-manager-api/build/reference/planning-updates"}]},{"group":"Bookings","pages":[{"title":"Get bookings","description":"D-EDGE pulls new, modified, and cancelled 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":"Planning updates - 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"]}