using RestSharp;
var options = new RestClientOptions("https://{apiBaseUrl}/v2/{sessionId}/session/metadata");
var client = new RestClient(options);
var request = new RestRequest("");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
using RestSharp;
var options = new RestClientOptions("https://{apiBaseUrl}/v2/{sessionId}/session/metadata");
var client = new RestClient(options);
var request = new RestRequest("");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
OfferCode — Private offer code granting access to hidden rates or discounted price.
PublicOffer — Public promotional offer applied to the booking.
CallOption — Booking placed as a call option - reserves the slot for a CRS-configured amount of time with a price penalty if the booking is not completed on time.
AdditionalDiscount — Extra discount applied on top of the base price.
Available options:
Insurance,
SmsConfirmation,
OfferCode,
PublicOffer,
CallOption,
AdditionalDiscount
quotePaymentModes
string[]
required
editedExtras
object[]
required
Show child attributes
crs
enum<string>
required
Central Reservation System that owns the underlying inventory and booking flow.
Available options:
Availpro
sessionDuration
string<time>
required
application
string
device
string
customerDetails
object
Show child attributes
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":"booking-engine-api/build/reference/session/get-session-metadata","slug":"/booking-engine-api/build/reference/session/get-session-metadata","pageMetadata":{"title":"Returns the session metadata","description":"Returns the session metadata","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/session/metadata","href":"/booking-engine-api/build/reference/session/get-session-metadata"},"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: \"Returns the session metadata\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Returns the session metadata","description":"Returns the session metadata","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/session/metadata","href":"/booking-engine-api/build/reference/session/get-session-metadata"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Session"],"summary":"Returns the session metadata","description":"Returns the session metadata","operationId":"Session_GetMetadata","parameters":["b86ba9dd-ff1f-48a3-850d-90a210dc1d8a","c8db5ddf-bb71-4ffd-a586-7386639ac9bf"],"responses":{"200":"ea77a80e-c4be-4ae4-bb56-fc901413c2c1","400":"59903bc9-068f-43c9-85bb-aa83b402f668","401":"2a903058-4df5-4c31-ab60-4c79b94c389f"},"method":"get","type":"path","servers":["ea8c8e69-a2f1-4a6c-841e-98caf5a0daef"],"security":[],"path":"/v2/{sessionId}/session/metadata","baseUrlOptions":["https://{apiBaseUrl}"],"title":"Returns the session metadata","codeSamples":[],"requestExampleLanguages":["bash","node","python","php","csharp","java"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"b86ba9dd-ff1f-48a3-850d-90a210dc1d8a":{"name":"X-AVP-Impersonation","in":"header","description":"","required":false,"schema":{"type":"string","isRequired":false,"uniqueKey":"","typeLabel":"string"}},"c8db5ddf-bb71-4ffd-a586-7386639ac9bf":{"name":"sessionId","in":"path","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"responses":{"ea77a80e-c4be-4ae4-bb56-fc901413c2c1":{"description":"OK","content":{"application/json":{"schema":{"required":["originalSearchCriteria","customTrackingValues","guestDetails","quoteServices","quotePaymentModes","editedExtras","pendingBasketId","quoteId","geonameId","crs","sessionDuration"],"type":"object","properties":{"originalSearchCriteria":{"type":"object","description":"This represent the parameters used to configure future call to the service.\r\nIt represents more or less the data entered by the final customer.","default":{"stayPeriod":{"arrivalDate":"0001-01-01","departureDate":"0001-01-01"},"guests":[],"selectedHotelId":"0","excludeMixedRates":false,"disableCrossSell":false,"isMobile":false},"required":["stayPeriod","guests","selectedHotelId","excludeMixedRates","disableCrossSell","isMobile"],"example":{"stayPeriod":{"arrivalDate":"2026-06-08T00:00:00Z","departureDate":"2026-06-13T00:00:00Z"},"guests":[{"adults":2,"children":0,"infants":0,"position":1,"memberLevel":0}],"selectedHotelId":"10133","selectedRoomCode":"29513","highlightedRateCode":"32643","promoCode":"DISCOUNT","excludeMixedRates":false,"disableCrossSell":false,"isMobile":false},"properties":{"stayPeriod":{"type":"object","description":"Describe a period of stay by specifying the arrival date and the departure date.","default":{"arrivalDate":"0001-01-01","departureDate":"0001-01-01"},"required":["arrivalDate","departureDate"],"properties":{"arrivalDate":{"format":"date-time","type":"string","isRequired":true,"uniqueKey":"originalSearchCriteria.stayPeriod.arrivalDate","typeLabel":"string\u003cdate-time>"},"departureDate":{"format":"date-time","type":"string","isRequired":true,"uniqueKey":"originalSearchCriteria.stayPeriod.departureDate","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"originalSearchCriteria.stayPeriod","typeLabel":"object"},"guests":{"default":[],"type":"array","items":{"description":"Describes the details of the guests count.","required":["adults","children","infants","position","memberLevel"],"type":"object","properties":{"adults":{"format":"int32","type":"integer","isRequired":true,"uniqueKey":"originalSearchCriteria.guests.items.[INDEX].adults","typeLabel":"integer\u003cint32>"},"children":{"format":"int32","type":"integer","isRequired":true,"uniqueKey":"originalSearchCriteria.guests.items.[INDEX].children","typeLabel":"integer\u003cint32>"},"infants":{"format":"int32","type":"integer","isRequired":true,"uniqueKey":"originalSearchCriteria.guests.items.[INDEX].infants","typeLabel":"integer\u003cint32>"},"position":{"format":"int32","type":"integer","isRequired":true,"uniqueKey":"originalSearchCriteria.guests.items.[INDEX].position","typeLabel":"integer\u003cint32>"},"memberLevel":{"format":"int32","type":"integer","isRequired":true,"uniqueKey":"originalSearchCriteria.guests.items.[INDEX].memberLevel","typeLabel":"integer\u003cint32>"},"childrenAges":{"type":"array","items":{"format":"int32","type":"integer","uniqueKey":"originalSearchCriteria.guests.items.[INDEX].childrenAges.items.[INDEX]","typeLabel":"integer\u003cint32>"},"uniqueKey":"originalSearchCriteria.guests.items.[INDEX].childrenAges","typeLabel":"integer\u003cint32>[]"}},"uniqueKey":"originalSearchCriteria.guests.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"originalSearchCriteria.guests","typeLabel":"object[]"},"selectedHotelId":{"type":"string","description":"The currently selected hotel id.\r\nCould be zero when starting a session for a multi hotel booking engine.\r\nAutomatically set when starting a session for a mono hotel booking engine.","isRequired":true,"uniqueKey":"originalSearchCriteria.selectedHotelId","typeLabel":"string"},"excludeMixedRates":{"description":"Configure whether the search results should include mixed rates or not.","type":"boolean","isRequired":true,"uniqueKey":"originalSearchCriteria.excludeMixedRates","typeLabel":"boolean"},"disableCrossSell":{"description":"Configure whether the search results should return cross sell configuration when no rooms are available.","type":"boolean","isRequired":true,"uniqueKey":"originalSearchCriteria.disableCrossSell","typeLabel":"boolean"},"isMobile":{"description":"Configure whether the request came from a mobile or not.","type":"boolean","isRequired":true,"uniqueKey":"originalSearchCriteria.isMobile","typeLabel":"boolean"},"selectedRoomCode":{"type":"string","uniqueKey":"originalSearchCriteria.selectedRoomCode","typeLabel":"string"},"selectedRateCode":{"type":"string","uniqueKey":"originalSearchCriteria.selectedRateCode","typeLabel":"string"},"highlightedRateCode":{"type":"string","uniqueKey":"originalSearchCriteria.highlightedRateCode","typeLabel":"string"},"highlightedRoomCode":{"type":"string","uniqueKey":"originalSearchCriteria.highlightedRoomCode","typeLabel":"string"},"highlightedHotelCode":{"type":"string","uniqueKey":"originalSearchCriteria.highlightedHotelCode","typeLabel":"string"},"promoCode":{"description":"The promo code requested for the session.\r\nIt could be either an OfferCode or a RateCode.","type":"string","uniqueKey":"originalSearchCriteria.promoCode","typeLabel":"string"},"gpsPosition":{"type":"object","description":"If defined the search results should be based on user's location.","required":["latitude","longitude"],"properties":{"latitude":{"format":"double","type":"number","isRequired":true,"uniqueKey":"originalSearchCriteria.gpsPosition.latitude","typeLabel":"number\u003cdouble>"},"longitude":{"format":"double","type":"number","isRequired":true,"uniqueKey":"originalSearchCriteria.gpsPosition.longitude","typeLabel":"number\u003cdouble>"}},"uniqueKey":"originalSearchCriteria.gpsPosition","typeLabel":"object"}},"isRequired":true,"uniqueKey":"originalSearchCriteria","typeLabel":"object"},"pendingBasketId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000","isRequired":true,"uniqueKey":"pendingBasketId","typeLabel":"string\u003cuuid>"},"quoteId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000","isRequired":true,"uniqueKey":"quoteId","typeLabel":"string\u003cuuid>"},"customTrackingValues":{"default":{},"type":"object","additionalProperties":{"type":"string","uniqueKey":"customTrackingValues.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"customTrackingValues","typeLabel":"object"},"geonameId":{"format":"int32","type":"integer","isRequired":true,"uniqueKey":"geonameId","typeLabel":"integer\u003cint32>"},"guestDetails":{"default":[],"type":"array","items":{"required":["itemNumber","title","type","roomId","occupancyId"],"type":"object","properties":{"title":{"description":"Salutation used to address the guest.","enum":["None","Mr","Mrs","Miss"],"type":"string","isRequired":true,"uniqueKey":"guestDetails.items.[INDEX].title","typeLabel":"enum\u003cstring>"},"type":{"description":"Category of a guest based on age (used for occupancy, pricing and extras).","enum":["Adult","Child","Infant"],"type":"string","isRequired":true,"uniqueKey":"guestDetails.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"roomId":{"type":"integer","description":"The id of the room in which the guest will stay.","format":"int32","isRequired":true,"uniqueKey":"guestDetails.items.[INDEX].roomId","typeLabel":"integer\u003cint32>"},"occupancyId":{"type":"integer","description":"The id of the occupancy in which the guest will stay.","format":"int32","isRequired":true,"uniqueKey":"guestDetails.items.[INDEX].occupancyId","typeLabel":"integer\u003cint32>"},"itemNumber":{"format":"int32","description":"The room identifier number (1-based) in the basket in order to identify each room in guest distribution process","default":1,"type":"integer","isRequired":true,"uniqueKey":"guestDetails.items.[INDEX].itemNumber","typeLabel":"integer\u003cint32>"},"firstName":{"type":"string","uniqueKey":"guestDetails.items.[INDEX].firstName","typeLabel":"string"},"lastName":{"type":"string","uniqueKey":"guestDetails.items.[INDEX].lastName","typeLabel":"string"}},"uniqueKey":"guestDetails.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"guestDetails","typeLabel":"object[]"},"quoteServices":{"default":[],"type":"array","items":{"description":"Ancillary service attached to a booking alongside rooms and extras.\n\n- **Insurance** — Insurance subscribed during the booking flow.\n- **SmsConfirmation** — SMS booking confirmation service.\n- **OfferCode** — Private offer code granting access to hidden rates or discounted price.\n- **PublicOffer** — Public promotional offer applied to the booking.\n- **CallOption** — Booking placed as a call option - reserves the slot for a CRS-configured amount of time with a price penalty if the booking is not completed on time.\n- **AdditionalDiscount** — Extra discount applied on top of the base price.","enum":["Insurance","SmsConfirmation","OfferCode","PublicOffer","CallOption","AdditionalDiscount"],"type":"string","uniqueKey":"quoteServices.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"quoteServices","typeLabel":"enum\u003cstring>[]"},"quotePaymentModes":{"default":[],"type":"array","items":{"type":"string","uniqueKey":"quotePaymentModes.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"quotePaymentModes","typeLabel":"string[]"},"editedExtras":{"default":[],"type":"array","items":{"required":["extraId","roomId","guestPosition"],"type":"object","properties":{"extraId":{"format":"int32","type":"integer","isRequired":true,"uniqueKey":"editedExtras.items.[INDEX].extraId","typeLabel":"integer\u003cint32>"},"roomId":{"format":"int32","type":"integer","isRequired":true,"uniqueKey":"editedExtras.items.[INDEX].roomId","typeLabel":"integer\u003cint32>"},"guestPosition":{"format":"int32","type":"integer","isRequired":true,"uniqueKey":"editedExtras.items.[INDEX].guestPosition","typeLabel":"integer\u003cint32>"}},"uniqueKey":"editedExtras.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"editedExtras","typeLabel":"object[]"},"crs":{"description":"Central Reservation System that owns the underlying inventory and booking flow.","enum":["Availpro"],"type":"string","isRequired":true,"uniqueKey":"crs","typeLabel":"enum\u003cstring>"},"sessionDuration":{"format":"time","type":"string","isRequired":true,"uniqueKey":"sessionDuration","typeLabel":"string\u003ctime>"},"application":{"type":"string","uniqueKey":"application","typeLabel":"string"},"device":{"type":"string","uniqueKey":"device","typeLabel":"string"},"customerDetails":{"required":["addressLines","title"],"type":"object","properties":{"title":{"description":"Salutation used to address the guest.","enum":["None","Mr","Mrs","Miss"],"type":"string","isRequired":true,"uniqueKey":"customerDetails.title","typeLabel":"enum\u003cstring>"},"addressLines":{"default":[],"type":"array","items":{"type":"string","uniqueKey":"customerDetails.addressLines.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"customerDetails.addressLines","typeLabel":"string[]"},"firstName":{"type":"string","uniqueKey":"customerDetails.firstName","typeLabel":"string"},"lastName":{"type":"string","uniqueKey":"customerDetails.lastName","typeLabel":"string"},"countryCode":{"description":"The country where the customer live.","type":"string","uniqueKey":"customerDetails.countryCode","typeLabel":"string"},"phoneNumber":{"description":"The phone number of the customer.\r\nIt is validated against the phoneConstraint associated with the PhoneCountryCode.","type":"string","uniqueKey":"customerDetails.phoneNumber","typeLabel":"string"},"phoneCountryCode":{"description":"The country used to validate the phone number and define the international prefix.","type":"string","uniqueKey":"customerDetails.phoneCountryCode","typeLabel":"string"},"emailAddress":{"description":"Must be a valid email address.","type":"string","uniqueKey":"customerDetails.emailAddress","typeLabel":"string"},"state":{"type":"string","uniqueKey":"customerDetails.state","typeLabel":"string"},"cityName":{"type":"string","uniqueKey":"customerDetails.cityName","typeLabel":"string"},"postalCode":{"type":"string","uniqueKey":"customerDetails.postalCode","typeLabel":"string"},"arrivalTime":{"format":"time","description":"The time of arrival. Must be between 00:00 and 24:00.","type":"string","uniqueKey":"customerDetails.arrivalTime","typeLabel":"string\u003ctime>"},"faxNumber":{"type":"string","uniqueKey":"customerDetails.faxNumber","typeLabel":"string"},"marketingConsent":{"type":"object","description":"Marketing consent.","required":["optinHotel","optinPartners","optinHotelAccepted","optinPartnersAccepted"],"properties":{"optinHotel":{"description":"True if the end user was proposed to receive information from the hotel.","type":"boolean","isRequired":true,"uniqueKey":"customerDetails.marketingConsent.optinHotel","typeLabel":"boolean"},"optinPartners":{"description":"True if the end user was proposed to receive information from the hotel's partners.","type":"boolean","isRequired":true,"uniqueKey":"customerDetails.marketingConsent.optinPartners","typeLabel":"boolean"},"optinHotelAccepted":{"description":"True if the end user accepts to receive information from the hotel.","type":"boolean","isRequired":true,"uniqueKey":"customerDetails.marketingConsent.optinHotelAccepted","typeLabel":"boolean"},"optinPartnersAccepted":{"description":"True if the end user accepts to receive information from the hotel's partners.","type":"boolean","isRequired":true,"uniqueKey":"customerDetails.marketingConsent.optinPartnersAccepted","typeLabel":"boolean"}},"uniqueKey":"customerDetails.marketingConsent","typeLabel":"object"}},"uniqueKey":"customerDetails","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"response":{"title":"response","value":{"originalSearchCriteria":{"stayPeriod":{"arrivalDate":"2026-06-08T00:00:00Z","departureDate":"2026-06-13T00:00:00Z"},"guests":[{"adults":2,"children":0,"infants":0,"position":1,"memberLevel":0}],"selectedHotelId":"10133","selectedRoomCode":"29513","highlightedRateCode":"32643","promoCode":"DISCOUNT","excludeMixedRates":false,"disableCrossSell":false,"isMobile":false},"pendingBasketId":"8a48119f-8928-496b-a341-64db026baa35","quoteId":"00000000-0000-0000-0000-000000000000","customTrackingValues":{"visitId":"visit-id","avp_campaign":"avp-campaign-id","trackingid":"trackingid"},"geonameId":0,"guestDetails":[],"quoteServices":[],"quotePaymentModes":[],"editedExtras":[],"crs":"Availpro","sessionDuration":"00:00:00"}}},"exampleType":"examples"},"text/json":{"schema":{"required":["originalSearchCriteria","customTrackingValues","guestDetails","quoteServices","quotePaymentModes","editedExtras","pendingBasketId","quoteId","geonameId","crs","sessionDuration"],"type":"object","properties":{"originalSearchCriteria":{"type":"object","description":"This represent the parameters used to configure future call to the service.\r\nIt represents more or less the data entered by the final customer.","default":{"stayPeriod":{"arrivalDate":"0001-01-01","departureDate":"0001-01-01"},"guests":[],"selectedHotelId":"0","excludeMixedRates":false,"disableCrossSell":false,"isMobile":false},"required":["stayPeriod","guests","selectedHotelId","excludeMixedRates","disableCrossSell","isMobile"],"example":{"stayPeriod":{"arrivalDate":"2026-06-08T00:00:00Z","departureDate":"2026-06-13T00:00:00Z"},"guests":[{"adults":2,"children":0,"infants":0,"position":1,"memberLevel":0}],"selectedHotelId":"10133","selectedRoomCode":"29513","highlightedRateCode":"32643","promoCode":"DISCOUNT","excludeMixedRates":false,"disableCrossSell":false,"isMobile":false},"properties":{"stayPeriod":{"type":"object","description":"Describe a period of stay by specifying the arrival date and the departure date.","default":{"arrivalDate":"0001-01-01","departureDate":"0001-01-01"},"required":["arrivalDate","departureDate"],"properties":{"arrivalDate":{"format":"date-time","type":"string","isRequired":true,"uniqueKey":"originalSearchCriteria.stayPeriod.arrivalDate","typeLabel":"string\u003cdate-time>"},"departureDate":{"format":"date-time","type":"string","isRequired":true,"uniqueKey":"originalSearchCriteria.stayPeriod.departureDate","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"originalSearchCriteria.stayPeriod","typeLabel":"object"},"guests":{"default":[],"type":"array","items":{"description":"Describes the details of the guests count.","required":["adults","children","infants","position","memberLevel"],"type":"object","properties":{"adults":{"format":"int32","type":"integer","isRequired":true,"uniqueKey":"originalSearchCriteria.guests.items.[INDEX].adults","typeLabel":"integer\u003cint32>"},"children":{"format":"int32","type":"integer","isRequired":true,"uniqueKey":"originalSearchCriteria.guests.items.[INDEX].children","typeLabel":"integer\u003cint32>"},"infants":{"format":"int32","type":"integer","isRequired":true,"uniqueKey":"originalSearchCriteria.guests.items.[INDEX].infants","typeLabel":"integer\u003cint32>"},"position":{"format":"int32","type":"integer","isRequired":true,"uniqueKey":"originalSearchCriteria.guests.items.[INDEX].position","typeLabel":"integer\u003cint32>"},"memberLevel":{"format":"int32","type":"integer","isRequired":true,"uniqueKey":"originalSearchCriteria.guests.items.[INDEX].memberLevel","typeLabel":"integer\u003cint32>"},"childrenAges":{"type":"array","items":{"format":"int32","type":"integer","uniqueKey":"originalSearchCriteria.guests.items.[INDEX].childrenAges.items.[INDEX]","typeLabel":"integer\u003cint32>"},"uniqueKey":"originalSearchCriteria.guests.items.[INDEX].childrenAges","typeLabel":"integer\u003cint32>[]"}},"uniqueKey":"originalSearchCriteria.guests.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"originalSearchCriteria.guests","typeLabel":"object[]"},"selectedHotelId":{"type":"string","description":"The currently selected hotel id.\r\nCould be zero when starting a session for a multi hotel booking engine.\r\nAutomatically set when starting a session for a mono hotel booking engine.","isRequired":true,"uniqueKey":"originalSearchCriteria.selectedHotelId","typeLabel":"string"},"excludeMixedRates":{"description":"Configure whether the search results should include mixed rates or not.","type":"boolean","isRequired":true,"uniqueKey":"originalSearchCriteria.excludeMixedRates","typeLabel":"boolean"},"disableCrossSell":{"description":"Configure whether the search results should return cross sell configuration when no rooms are available.","type":"boolean","isRequired":true,"uniqueKey":"originalSearchCriteria.disableCrossSell","typeLabel":"boolean"},"isMobile":{"description":"Configure whether the request came from a mobile or not.","type":"boolean","isRequired":true,"uniqueKey":"originalSearchCriteria.isMobile","typeLabel":"boolean"},"selectedRoomCode":{"type":"string","uniqueKey":"originalSearchCriteria.selectedRoomCode","typeLabel":"string"},"selectedRateCode":{"type":"string","uniqueKey":"originalSearchCriteria.selectedRateCode","typeLabel":"string"},"highlightedRateCode":{"type":"string","uniqueKey":"originalSearchCriteria.highlightedRateCode","typeLabel":"string"},"highlightedRoomCode":{"type":"string","uniqueKey":"originalSearchCriteria.highlightedRoomCode","typeLabel":"string"},"highlightedHotelCode":{"type":"string","uniqueKey":"originalSearchCriteria.highlightedHotelCode","typeLabel":"string"},"promoCode":{"description":"The promo code requested for the session.\r\nIt could be either an OfferCode or a RateCode.","type":"string","uniqueKey":"originalSearchCriteria.promoCode","typeLabel":"string"},"gpsPosition":{"type":"object","description":"If defined the search results should be based on user's location.","required":["latitude","longitude"],"properties":{"latitude":{"format":"double","type":"number","isRequired":true,"uniqueKey":"originalSearchCriteria.gpsPosition.latitude","typeLabel":"number\u003cdouble>"},"longitude":{"format":"double","type":"number","isRequired":true,"uniqueKey":"originalSearchCriteria.gpsPosition.longitude","typeLabel":"number\u003cdouble>"}},"uniqueKey":"originalSearchCriteria.gpsPosition","typeLabel":"object"}},"isRequired":true,"uniqueKey":"originalSearchCriteria","typeLabel":"object"},"pendingBasketId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000","isRequired":true,"uniqueKey":"pendingBasketId","typeLabel":"string\u003cuuid>"},"quoteId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000","isRequired":true,"uniqueKey":"quoteId","typeLabel":"string\u003cuuid>"},"customTrackingValues":{"default":{},"type":"object","additionalProperties":{"type":"string","uniqueKey":"customTrackingValues.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"customTrackingValues","typeLabel":"object"},"geonameId":{"format":"int32","type":"integer","isRequired":true,"uniqueKey":"geonameId","typeLabel":"integer\u003cint32>"},"guestDetails":{"default":[],"type":"array","items":{"required":["itemNumber","title","type","roomId","occupancyId"],"type":"object","properties":{"title":{"description":"Salutation used to address the guest.","enum":["None","Mr","Mrs","Miss"],"type":"string","isRequired":true,"uniqueKey":"guestDetails.items.[INDEX].title","typeLabel":"enum\u003cstring>"},"type":{"description":"Category of a guest based on age (used for occupancy, pricing and extras).","enum":["Adult","Child","Infant"],"type":"string","isRequired":true,"uniqueKey":"guestDetails.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"roomId":{"type":"integer","description":"The id of the room in which the guest will stay.","format":"int32","isRequired":true,"uniqueKey":"guestDetails.items.[INDEX].roomId","typeLabel":"integer\u003cint32>"},"occupancyId":{"type":"integer","description":"The id of the occupancy in which the guest will stay.","format":"int32","isRequired":true,"uniqueKey":"guestDetails.items.[INDEX].occupancyId","typeLabel":"integer\u003cint32>"},"itemNumber":{"format":"int32","description":"The room identifier number (1-based) in the basket in order to identify each room in guest distribution process","default":1,"type":"integer","isRequired":true,"uniqueKey":"guestDetails.items.[INDEX].itemNumber","typeLabel":"integer\u003cint32>"},"firstName":{"type":"string","uniqueKey":"guestDetails.items.[INDEX].firstName","typeLabel":"string"},"lastName":{"type":"string","uniqueKey":"guestDetails.items.[INDEX].lastName","typeLabel":"string"}},"uniqueKey":"guestDetails.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"guestDetails","typeLabel":"object[]"},"quoteServices":{"default":[],"type":"array","items":{"description":"Ancillary service attached to a booking alongside rooms and extras.\n\n- **Insurance** — Insurance subscribed during the booking flow.\n- **SmsConfirmation** — SMS booking confirmation service.\n- **OfferCode** — Private offer code granting access to hidden rates or discounted price.\n- **PublicOffer** — Public promotional offer applied to the booking.\n- **CallOption** — Booking placed as a call option - reserves the slot for a CRS-configured amount of time with a price penalty if the booking is not completed on time.\n- **AdditionalDiscount** — Extra discount applied on top of the base price.","enum":["Insurance","SmsConfirmation","OfferCode","PublicOffer","CallOption","AdditionalDiscount"],"type":"string","uniqueKey":"quoteServices.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"quoteServices","typeLabel":"enum\u003cstring>[]"},"quotePaymentModes":{"default":[],"type":"array","items":{"type":"string","uniqueKey":"quotePaymentModes.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"quotePaymentModes","typeLabel":"string[]"},"editedExtras":{"default":[],"type":"array","items":{"required":["extraId","roomId","guestPosition"],"type":"object","properties":{"extraId":{"format":"int32","type":"integer","isRequired":true,"uniqueKey":"editedExtras.items.[INDEX].extraId","typeLabel":"integer\u003cint32>"},"roomId":{"format":"int32","type":"integer","isRequired":true,"uniqueKey":"editedExtras.items.[INDEX].roomId","typeLabel":"integer\u003cint32>"},"guestPosition":{"format":"int32","type":"integer","isRequired":true,"uniqueKey":"editedExtras.items.[INDEX].guestPosition","typeLabel":"integer\u003cint32>"}},"uniqueKey":"editedExtras.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"editedExtras","typeLabel":"object[]"},"crs":{"description":"Central Reservation System that owns the underlying inventory and booking flow.","enum":["Availpro"],"type":"string","isRequired":true,"uniqueKey":"crs","typeLabel":"enum\u003cstring>"},"sessionDuration":{"format":"time","type":"string","isRequired":true,"uniqueKey":"sessionDuration","typeLabel":"string\u003ctime>"},"application":{"type":"string","uniqueKey":"application","typeLabel":"string"},"device":{"type":"string","uniqueKey":"device","typeLabel":"string"},"customerDetails":{"required":["addressLines","title"],"type":"object","properties":{"title":{"description":"Salutation used to address the guest.","enum":["None","Mr","Mrs","Miss"],"type":"string","isRequired":true,"uniqueKey":"customerDetails.title","typeLabel":"enum\u003cstring>"},"addressLines":{"default":[],"type":"array","items":{"type":"string","uniqueKey":"customerDetails.addressLines.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"customerDetails.addressLines","typeLabel":"string[]"},"firstName":{"type":"string","uniqueKey":"customerDetails.firstName","typeLabel":"string"},"lastName":{"type":"string","uniqueKey":"customerDetails.lastName","typeLabel":"string"},"countryCode":{"description":"The country where the customer live.","type":"string","uniqueKey":"customerDetails.countryCode","typeLabel":"string"},"phoneNumber":{"description":"The phone number of the customer.\r\nIt is validated against the phoneConstraint associated with the PhoneCountryCode.","type":"string","uniqueKey":"customerDetails.phoneNumber","typeLabel":"string"},"phoneCountryCode":{"description":"The country used to validate the phone number and define the international prefix.","type":"string","uniqueKey":"customerDetails.phoneCountryCode","typeLabel":"string"},"emailAddress":{"description":"Must be a valid email address.","type":"string","uniqueKey":"customerDetails.emailAddress","typeLabel":"string"},"state":{"type":"string","uniqueKey":"customerDetails.state","typeLabel":"string"},"cityName":{"type":"string","uniqueKey":"customerDetails.cityName","typeLabel":"string"},"postalCode":{"type":"string","uniqueKey":"customerDetails.postalCode","typeLabel":"string"},"arrivalTime":{"format":"time","description":"The time of arrival. Must be between 00:00 and 24:00.","type":"string","uniqueKey":"customerDetails.arrivalTime","typeLabel":"string\u003ctime>"},"faxNumber":{"type":"string","uniqueKey":"customerDetails.faxNumber","typeLabel":"string"},"marketingConsent":{"type":"object","description":"Marketing consent.","required":["optinHotel","optinPartners","optinHotelAccepted","optinPartnersAccepted"],"properties":{"optinHotel":{"description":"True if the end user was proposed to receive information from the hotel.","type":"boolean","isRequired":true,"uniqueKey":"customerDetails.marketingConsent.optinHotel","typeLabel":"boolean"},"optinPartners":{"description":"True if the end user was proposed to receive information from the hotel's partners.","type":"boolean","isRequired":true,"uniqueKey":"customerDetails.marketingConsent.optinPartners","typeLabel":"boolean"},"optinHotelAccepted":{"description":"True if the end user accepts to receive information from the hotel.","type":"boolean","isRequired":true,"uniqueKey":"customerDetails.marketingConsent.optinHotelAccepted","typeLabel":"boolean"},"optinPartnersAccepted":{"description":"True if the end user accepts to receive information from the hotel's partners.","type":"boolean","isRequired":true,"uniqueKey":"customerDetails.marketingConsent.optinPartnersAccepted","typeLabel":"boolean"}},"uniqueKey":"customerDetails.marketingConsent","typeLabel":"object"}},"uniqueKey":"customerDetails","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"response":{"title":"response","value":{"originalSearchCriteria":{"stayPeriod":{"arrivalDate":"2026-06-08T00:00:00Z","departureDate":"2026-06-13T00:00:00Z"},"guests":[{"adults":2,"children":0,"infants":0,"position":1,"memberLevel":0}],"selectedHotelId":"10133","selectedRoomCode":"29513","highlightedRateCode":"32643","promoCode":"DISCOUNT","excludeMixedRates":false,"disableCrossSell":false,"isMobile":false},"pendingBasketId":"8a48119f-8928-496b-a341-64db026baa35","quoteId":"00000000-0000-0000-0000-000000000000","customTrackingValues":{"visitId":"visit-id","avp_campaign":"avp-campaign-id","trackingid":"trackingid"},"geonameId":0,"guestDetails":[],"quoteServices":[],"quotePaymentModes":[],"editedExtras":[],"crs":"Availpro","sessionDuration":"00:00:00"}}},"exampleType":"examples"}},"exampleType":"examples"},"59903bc9-068f-43c9-85bb-aa83b402f668":{"description":"BadRequest","content":{"application/json":{"schema":{"type":"object","required":["code"],"properties":{"code":{"description":"Machine-readable error code returned by the Hub API when a request cannot be fulfilled. Integrators should switch on this value to decide how to recover (retry, adjust input, show a message, etc.).\n\n- **InvalidHotelId** — The provided hotel identifier does not exist.\n- **EngineConfigNotFound** — No engine configuration was found for the requested hotel.\n- **InvalidBasket** — The basket referenced by the request is invalid or has been discarded.\n- **InvalidPromoCode** — The promotional code is unknown or not applicable to the current context.\n- **InvalidPromoCodeBookingPeriod** — The promotional code is not valid for the booking date range.\n- **InvalidPromoCodeStayPeriod** — The promotional code is not valid for the requested stay period.\n- **InvalidPromoCodeDevice** — The promotional code is not valid for the current device or channel.\n- **InvalidRateId** — The provided rate identifier does not exist.\n- **InvalidRoomId** — The provided room identifier does not exist.\n- **InvalidGuestPosition** — The provided guest position is invalid (out of range or malformed).\n- **InvalidRoomQuantity** — The requested room quantity is invalid (typically zero, negative or above the allowed maximum).\n- **InvalidSessionCulture** — The session culture (language) is not supported.\n- **InvalidSessionCurrency** — The session currency is not supported.\n- **InvalidSessionId** — The session identifier is unknown or expired.\n- **InvalidSessionFilter** — The session filter is invalid or inconsistent with the session context.\n- **UnavailableRoom** — The requested room is not available for the given search context.\n- **InvalidStayPeriod** — The requested stay period is invalid (e.g. arrival after departure, past dates, out of window).\n- **InvalidExtraId** — The provided extra identifier does not exist.\n- **UnavailableExtra** — The requested extra is not available for the given search context.\n- **InvalidSessionUpdate** — The session update payload is invalid.\n- **InvalidSessionDuration** — The session duration is invalid (typically outside the configured min/max).\n- **InvalidOccupancyId** — The provided occupancy identifier does not exist.\n- **UnavailableQuantity** — The requested quantity is not available in inventory.\n- **InvalidQuote** — The quote referenced by the request is invalid or has expired.\n- **InvalidGuests** — The guest declaration is invalid (missing, inconsistent with the room, etc.).\n- **InvalidAcceptQuoteRequest** — The accept-quote request is invalid; see HubInvalidAcceptQuoteRequestException.ValidationErrors for the list of offending fields.\n- **InvalidSessionCountryCode** — The session country code is invalid or not supported.\n- **InvalidSearchParameter** — A search parameter has an invalid value.\n- **InvalidLoyaltySession** — The loyalty session is invalid or expired.\n- **InvalidBeddingConfigurationId** — The provided bedding configuration identifier does not exist.\n- **InvalidGuestsChildrenNotSupported** — The request includes children but the hotel does not accept children.\n- **InvalidGuestsInfantsNotSupported** — The request includes infants but the hotel does not accept infants.\n- **LoyaltyProviderGenericError** — The loyalty provider returned a generic error not mapped to a specific code.\n- **LoyaltyProviderTokenExpired** — The loyalty provider token has expired; the caller must re-authenticate the loyalty session.\n- **InvalidRoomCapacity** — The room capacity constraint is violated by the requested guest count.\n- **InvalidGuestsChildrenAges** — One or more children ages fall outside the hotel's accepted range.\n- **InvalidGuestsInfantsAges** — One or more infants ages fall outside the hotel's accepted range.","enum":["InvalidHotelId","EngineConfigNotFound","InvalidBasket","InvalidPromoCode","InvalidPromoCodeBookingPeriod","InvalidPromoCodeStayPeriod","InvalidPromoCodeDevice","InvalidRateId","InvalidRoomId","InvalidGuestPosition","InvalidRoomQuantity","InvalidSessionCulture","InvalidSessionCurrency","InvalidSessionId","InvalidSessionFilter","UnavailableRoom","InvalidStayPeriod","InvalidExtraId","UnavailableExtra","InvalidSessionUpdate","InvalidSessionDuration","InvalidOccupancyId","UnavailableQuantity","InvalidQuote","InvalidGuests","InvalidAcceptQuoteRequest","InvalidSessionCountryCode","InvalidSearchParameter","InvalidLoyaltySession","InvalidBeddingConfigurationId","InvalidGuestsChildrenNotSupported","InvalidGuestsInfantsNotSupported","LoyaltyProviderGenericError","LoyaltyProviderTokenExpired","InvalidRoomCapacity","InvalidGuestsChildrenAges","InvalidGuestsInfantsAges"],"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"response":{"title":"response","value":{"code":"InvalidSessionId"}}},"exampleType":"examples"},"text/json":{"schema":{"type":"object","required":["code"],"properties":{"code":{"description":"Machine-readable error code returned by the Hub API when a request cannot be fulfilled. Integrators should switch on this value to decide how to recover (retry, adjust input, show a message, etc.).\n\n- **InvalidHotelId** — The provided hotel identifier does not exist.\n- **EngineConfigNotFound** — No engine configuration was found for the requested hotel.\n- **InvalidBasket** — The basket referenced by the request is invalid or has been discarded.\n- **InvalidPromoCode** — The promotional code is unknown or not applicable to the current context.\n- **InvalidPromoCodeBookingPeriod** — The promotional code is not valid for the booking date range.\n- **InvalidPromoCodeStayPeriod** — The promotional code is not valid for the requested stay period.\n- **InvalidPromoCodeDevice** — The promotional code is not valid for the current device or channel.\n- **InvalidRateId** — The provided rate identifier does not exist.\n- **InvalidRoomId** — The provided room identifier does not exist.\n- **InvalidGuestPosition** — The provided guest position is invalid (out of range or malformed).\n- **InvalidRoomQuantity** — The requested room quantity is invalid (typically zero, negative or above the allowed maximum).\n- **InvalidSessionCulture** — The session culture (language) is not supported.\n- **InvalidSessionCurrency** — The session currency is not supported.\n- **InvalidSessionId** — The session identifier is unknown or expired.\n- **InvalidSessionFilter** — The session filter is invalid or inconsistent with the session context.\n- **UnavailableRoom** — The requested room is not available for the given search context.\n- **InvalidStayPeriod** — The requested stay period is invalid (e.g. arrival after departure, past dates, out of window).\n- **InvalidExtraId** — The provided extra identifier does not exist.\n- **UnavailableExtra** — The requested extra is not available for the given search context.\n- **InvalidSessionUpdate** — The session update payload is invalid.\n- **InvalidSessionDuration** — The session duration is invalid (typically outside the configured min/max).\n- **InvalidOccupancyId** — The provided occupancy identifier does not exist.\n- **UnavailableQuantity** — The requested quantity is not available in inventory.\n- **InvalidQuote** — The quote referenced by the request is invalid or has expired.\n- **InvalidGuests** — The guest declaration is invalid (missing, inconsistent with the room, etc.).\n- **InvalidAcceptQuoteRequest** — The accept-quote request is invalid; see HubInvalidAcceptQuoteRequestException.ValidationErrors for the list of offending fields.\n- **InvalidSessionCountryCode** — The session country code is invalid or not supported.\n- **InvalidSearchParameter** — A search parameter has an invalid value.\n- **InvalidLoyaltySession** — The loyalty session is invalid or expired.\n- **InvalidBeddingConfigurationId** — The provided bedding configuration identifier does not exist.\n- **InvalidGuestsChildrenNotSupported** — The request includes children but the hotel does not accept children.\n- **InvalidGuestsInfantsNotSupported** — The request includes infants but the hotel does not accept infants.\n- **LoyaltyProviderGenericError** — The loyalty provider returned a generic error not mapped to a specific code.\n- **LoyaltyProviderTokenExpired** — The loyalty provider token has expired; the caller must re-authenticate the loyalty session.\n- **InvalidRoomCapacity** — The room capacity constraint is violated by the requested guest count.\n- **InvalidGuestsChildrenAges** — One or more children ages fall outside the hotel's accepted range.\n- **InvalidGuestsInfantsAges** — One or more infants ages fall outside the hotel's accepted range.","enum":["InvalidHotelId","EngineConfigNotFound","InvalidBasket","InvalidPromoCode","InvalidPromoCodeBookingPeriod","InvalidPromoCodeStayPeriod","InvalidPromoCodeDevice","InvalidRateId","InvalidRoomId","InvalidGuestPosition","InvalidRoomQuantity","InvalidSessionCulture","InvalidSessionCurrency","InvalidSessionId","InvalidSessionFilter","UnavailableRoom","InvalidStayPeriod","InvalidExtraId","UnavailableExtra","InvalidSessionUpdate","InvalidSessionDuration","InvalidOccupancyId","UnavailableQuantity","InvalidQuote","InvalidGuests","InvalidAcceptQuoteRequest","InvalidSessionCountryCode","InvalidSearchParameter","InvalidLoyaltySession","InvalidBeddingConfigurationId","InvalidGuestsChildrenNotSupported","InvalidGuestsInfantsNotSupported","LoyaltyProviderGenericError","LoyaltyProviderTokenExpired","InvalidRoomCapacity","InvalidGuestsChildrenAges","InvalidGuestsInfantsAges"],"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"response":{"title":"response","value":{"code":"InvalidSessionId"}}},"exampleType":"examples"}},"exampleType":"examples"},"2a903058-4df5-4c31-ab60-4c79b94c389f":{"description":"Authentication header is invalid or does not give access to the operation","content":{"application/json":{"schema":{"type":"object","required":["code"],"properties":{"code":{"description":"Category of security failure returned when authentication or authorization is rejected.","enum":["InvalidUserAuthentication","InvalidUserRoles","InvalidPermissions"],"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"InvalidUserAuthentication","message":"\u003cstring>"}}},"exampleType":"generated"},"text/json":{"schema":{"type":"object","required":["code"],"properties":{"code":{"description":"Category of security failure returned when authentication or authorization is rejected.","enum":["InvalidUserAuthentication","InvalidUserRoles","InvalidPermissions"],"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"InvalidUserAuthentication","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"ea8c8e69-a2f1-4a6c-841e-98caf5a0daef":{"url":"https://{apiBaseUrl}","variables":{"apiBaseUrl":{"default":"api.example.com","description":"Base URL delivered by D-EDGE during partnership setup"}}}}},"originalFileLocation":"booking-engine-api/open-api/booking-engine-api.json"},"subdomain":"dedge","siteName":"D-EDGE Docs","title":"Returns the session metadata - D-EDGE Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-28T07:02:10.311Z","originalFileLocation":"booking-engine-api/build/reference/session/get-session-metadata.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=\"Returns the session metadata\">\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=\"Returns the session metadata - D-EDGE Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns the session metadata\">\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/booking-engine-api/build/reference/session/get-session-metadata\">\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=Session\u0026amp;title=Returns+the+session+metadata\u0026amp;description=Returns+the+session+metadata\u0026amp;theme=c60d83f72403f78042883f39\u0026amp;signature=aa4041c154b72c1b1fb4d3ad58faedf1948b653175c858f7cc63193504438a22\">\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=\"Returns the session metadata - D-EDGE Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns the session metadata\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dedge.mintlify.site/_mintlify/api/og/v2?division=Session\u0026amp;title=Returns+the+session+metadata\u0026amp;description=Returns+the+session+metadata\u0026amp;theme=c60d83f72403f78042883f39\u0026amp;signature=aa4041c154b72c1b1fb4d3ad58faedf1948b653175c858f7cc63193504438a22\">\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/booking-engine-api/build/reference/session/get-session-metadata\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/booking-engine-api/build/reference/session/get-session-metadata.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/booking-engine-api/build/reference/session/get-session-metadata#webpage\",\"url\":\"https://docs.d-edge.com/booking-engine-api/build/reference/session/get-session-metadata\",\"name\":\"Returns the session metadata\",\"description\":\"Returns the session metadata\",\"dateModified\":\"2026-09-28T07:02:10.311Z\",\"isPartOf\":{\"@id\":\"https://docs.d-edge.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.d-edge.com/booking-engine-api/build/reference/session/get-session-metadata#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.d-edge.com/booking-engine-api/build/reference/session/get-session-metadata#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Build\",\"item\":\"https://docs.d-edge.com/booking-engine-api/build/guidelines/authentication\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Reference\",\"item\":\"https://docs.d-edge.com/booking-engine-api/build/reference/session/post-session\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Session\",\"item\":\"https://docs.d-edge.com/booking-engine-api/build/reference/session/post-session\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Returns the session metadata\",\"item\":\"https://docs.d-edge.com/booking-engine-api/build/reference/session/get-session-metadata\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.d-edge.com/booking-engine-api/build/reference/session/get-session-metadata#apireference\",\"headline\":\"Returns the session metadata\",\"name\":\"Returns the session metadata\",\"description\":\"Returns the session metadata\",\"url\":\"https://docs.d-edge.com/booking-engine-api/build/reference/session/get-session-metadata\",\"mainEntityOfPage\":{\"@id\":\"https://docs.d-edge.com/booking-engine-api/build/reference/session/get-session-metadata#webpage\"},\"dateModified\":\"2026-09-28T07:02:10.311Z\",\"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":"/booking-engine-api/build/reference/session/get-session-metadata.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","pages":[{"title":"Channel Manager API","href":"/channel-manager-api/get-started/introduction"}]}],"pages":[{"title":"Connectivity","href":"/channel-manager-api/get-started/introduction"}]},{"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","groups":[{"group":"Get started","icon":"rocket","pages":[{"title":"Introduction","href":"/booking-engine-api/get-started/introduction"},{"title":"Quick start","href":"/booking-engine-api/get-started/quick-start"}]},{"group":"Build","icon":"wrench","pages":[{"group":"Guidelines","pages":[{"title":"Authentication","href":"/booking-engine-api/build/guidelines/authentication"},{"title":"Requests","href":"/booking-engine-api/build/guidelines/requests"},{"title":"Responses","href":"/booking-engine-api/build/guidelines/responses"}]},{"group":"Reference","pages":[{"group":"Session","pages":[{"title":"Create a new session","openapi":"booking-engine-api/open-api/booking-engine-api.json POST /v2/session","href":"/booking-engine-api/build/reference/session/post-session"},{"title":"Get an existing session","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/session","href":"/booking-engine-api/build/reference/session/get-session"},{"title":"Get the session scope","description":"Get the session scope","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/session/scope","href":"/booking-engine-api/build/reference/session/get-session-scope"},{"title":"Returns the session metadata","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/session/metadata","href":"/booking-engine-api/build/reference/session/get-session-metadata"},{"title":"Update the search context","description":"Update the search context","openapi":"booking-engine-api/open-api/booking-engine-api.json PATCH /v2/{sessionId}/session/context","href":"/booking-engine-api/build/reference/session/patch-session-context"},{"title":"Update the user display options","openapi":"booking-engine-api/open-api/booking-engine-api.json PATCH /v2/{sessionId}/session/display","href":"/booking-engine-api/build/reference/session/patch-session-display"},{"title":"Update the search filters for rooms","openapi":"booking-engine-api/open-api/booking-engine-api.json PATCH /v2/{sessionId}/session/filters/rooms","href":"/booking-engine-api/build/reference/session/patch-session-filters-rooms"},{"title":"Update the search filters for hotels","openapi":"booking-engine-api/open-api/booking-engine-api.json PATCH /v2/{sessionId}/session/filters/hotels","href":"/booking-engine-api/build/reference/session/patch-session-filters-hotels"},{"title":"Update the user sorting preferences","openapi":"booking-engine-api/open-api/booking-engine-api.json PATCH /v2/{sessionId}/session/sortOrder/rooms","href":"/booking-engine-api/build/reference/session/patch-session-sortorder-rooms"},{"title":"Update the user sorting preferences for hotels","openapi":"booking-engine-api/open-api/booking-engine-api.json PATCH /v2/{sessionId}/session/sortOrder/hotels","href":"/booking-engine-api/build/reference/session/patch-session-sortorder-hotels"},{"title":"Delete the user session","openapi":"booking-engine-api/open-api/booking-engine-api.json DELETE /v2/{sessionId}/session","href":"/booking-engine-api/build/reference/session/delete-session"}]},{"group":"Search","pages":[{"title":"Provides hotels availabilities","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/search/hotels","href":"/booking-engine-api/build/reference/search/get-search-hotels"},{"title":"Provides rooms availabilities","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/search/rooms","href":"/booking-engine-api/build/reference/search/get-search-rooms"},{"title":"Provides extra availabilities","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/search/extras","href":"/booking-engine-api/build/reference/search/get-search-extras"}]},{"group":"Description","pages":[{"title":"Gets hotels descriptions","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/description/hotels","href":"/booking-engine-api/build/reference/description/get-description-hotels"},{"title":"Get the hotel description","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/description/hotels/{hotelId}","href":"/booking-engine-api/build/reference/description/get-description-hotels-hotelid"},{"title":"Gets rooms descriptions","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/description/rooms","href":"/booking-engine-api/build/reference/description/get-description-rooms"},{"title":"Gets the room description","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/description/rooms/{roomId}","href":"/booking-engine-api/build/reference/description/get-description-rooms-roomid"},{"title":"Gets rates descriptions","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/description/rates","href":"/booking-engine-api/build/reference/description/get-description-rates"},{"title":"Gets the rate descriptions","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/description/rates/{rateId}","href":"/booking-engine-api/build/reference/description/get-description-rates-rateid"},{"title":"Gets extras descriptions","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/description/extras","href":"/booking-engine-api/build/reference/description/get-description-extras"},{"title":"Gets the extra descriptions","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/description/extras/{extraId}","href":"/booking-engine-api/build/reference/description/get-description-extras-extraid"}]},{"group":"Promotion","pages":[{"title":"Provides an ongoing promotion","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/promotion","href":"/booking-engine-api/build/reference/promotion/get-promotion"}]},{"group":"Loyalty","pages":[{"title":"Retrieve the available loyalty program config","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/loyalty/config","href":"/booking-engine-api/build/reference/loyalty/get-loyalty-config"},{"title":"Patch logged in loyalty member","openapi":"booking-engine-api/open-api/booking-engine-api.json PATCH /v2/{sessionId}/loyalty/login","href":"/booking-engine-api/build/reference/loyalty/patch-loyalty-login"},{"title":"Retrieve the loyalty member information","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/loyalty/member","href":"/booking-engine-api/build/reference/loyalty/get-loyalty-member"},{"title":"Patch logged out loyalty member","openapi":"booking-engine-api/open-api/booking-engine-api.json PATCH /v2/{sessionId}/loyalty/logout","href":"/booking-engine-api/build/reference/loyalty/patch-loyalty-logout"}]},{"group":"Basket","pages":[{"title":"Add a room to the session's basket","openapi":"booking-engine-api/open-api/booking-engine-api.json POST /v2/{sessionId}/basket/rooms","href":"/booking-engine-api/build/reference/basket/post-basket-rooms"},{"title":"Add an extra to the session's basket","openapi":"booking-engine-api/open-api/booking-engine-api.json POST /v2/{sessionId}/basket/extras","href":"/booking-engine-api/build/reference/basket/post-basket-extras"},{"title":"Retrieve the content of the basket","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/basket","href":"/booking-engine-api/build/reference/basket/get-basket"},{"title":"Get a quote for the basket","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/quote","href":"/booking-engine-api/build/reference/basket/get-quote"},{"title":"Accept a quote","openapi":"booking-engine-api/open-api/booking-engine-api.json POST /v2/{sessionId}/quote","href":"/booking-engine-api/build/reference/basket/post-quote"},{"title":"Get sales terms","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/terms","href":"/booking-engine-api/build/reference/basket/get-terms"},{"title":"Clear the session's basket","openapi":"booking-engine-api/open-api/booking-engine-api.json DELETE /v2/{sessionId}/basket","href":"/booking-engine-api/build/reference/basket/delete-basket"}]},{"group":"Booking","pages":[{"title":"Create a booking access token","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/booking/{bookingReference}/token","href":"/booking-engine-api/build/reference/booking/get-booking-token"},{"title":"Get the confirmation of a booking","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/booking/{sessionId}/confirmation","href":"/booking-engine-api/build/reference/booking/get-booking-confirmation"}]},{"group":"Configuration","pages":[{"title":"Gets the engine theme","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/configuration/theme","href":"/booking-engine-api/build/reference/configuration/get-configuration-theme"},{"title":"Gets the engine configuration","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/configuration/engine","href":"/booking-engine-api/build/reference/configuration/get-configuration-engine"},{"title":"Gets the plugins configuration","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/configuration/plugins","href":"/booking-engine-api/build/reference/configuration/get-configuration-plugins"}]},{"group":"Resources","pages":[{"title":"Get countries and their corresponding phone constraints","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/resources/countries","href":"/booking-engine-api/build/reference/resources/get-resources-countries"},{"title":"Get currencies","openapi":"booking-engine-api/open-api/booking-engine-api.json GET /v2/{sessionId}/resources/currencies","href":"/booking-engine-api/build/reference/resources/get-resources-currencies"}]}]},{"title":"Best practices","tag":"★","href":"/booking-engine-api/build/best-practices"}]},{"group":"Resources","icon":"toolbox","pages":[{"group":"Use cases","pages":[{"title":"Conversational booking agent","href":"/booking-engine-api/resources/use-cases/conversational-booking-agent"},{"title":"Alternative availability","href":"/booking-engine-api/resources/use-cases/alternative-availability"},{"title":"Promotional campaigns","href":"/booking-engine-api/resources/use-cases/promotional-campaigns"},{"title":"Last-step discount","href":"/booking-engine-api/resources/use-cases/last-step-discount"},{"title":"Abandoned booking recovery","href":"/booking-engine-api/resources/use-cases/abandoned-booking-recovery"},{"title":"Branded confirmation page","href":"/booking-engine-api/resources/use-cases/branded-confirmation-page"}]},{"title":"API collections","tag":"★","href":"/overview/resources/api-collections"},{"title":"Changelog","href":"/booking-engine-api/resources/changelog"}]}]},{"item":"Gift Shop API","icon":"gift","pages":[{"title":"Gift Shop API","href":"/gift-shop-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":"Returns the session metadata - D-EDGE Docs","buildId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","deploymentId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"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","Markdown-BwQ4RMdp.js","dist-CiVXVcSh.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","AssistantPageLink-Dic2Jtb2.js"]}