{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-demand/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition","tabs","tab"]},"type":"markdown"},"seo":{"title":"XML to Demand API mapping reference","siteUrl":"https://developers.booking.com"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"xml-to-demand-api-mapping-reference","__idx":0},"children":["XML to Demand API mapping reference"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Use this reference to identify where information returned by the legacy XML Cars API is available in Demand API v3.2 and Beta. This page complements the Migrate from XML to Demand API v3.2 guide."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"overview","__idx":1},"children":["Overview"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The legacy XML Cars API returned most vehicle, supplier, policy, pricing, and redirect information in the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SearchRS"]}," response."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Demand API v3.2 distributes this information across multiple specialised endpoints. As a result, some XML fields map directly to Demand API fields, while others are retrieved from dedicated resources using identifiers returned by /cars/search."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use this guide to:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Identify the Demand API endpoint that replaces each XML data source."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Map commonly used XML fields to their Demand API equivalents."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Understand when additional endpoint calls are required."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Identify mappings that are available only in Beta."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"endpoint-mapping-overview","__idx":2},"children":["Endpoint mapping overview"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"XML functionality"},"children":["XML functionality"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Demand API endpoint"},"children":["Demand API endpoint"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Version"},"children":["Version"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Search results"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/search"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"backgroundColor":"#0070C9","color":"white","fontSize":"0.8rem","padding":"0.2rem 0.5rem","borderRadius":"4px"}},"children":["v3.2"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Vehicle specifications"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/details"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"backgroundColor":"#0070C9","color":"white","fontSize":"0.8rem","padding":"0.2rem 0.5rem","borderRadius":"4px"}},"children":["v3.2"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Pricing"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/search"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"backgroundColor":"#0070C9","color":"white","fontSize":"0.8rem","padding":"0.2rem 0.5rem","borderRadius":"4px"}},"children":["v3.2"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Deposit, excess, fuel, and mileage policies"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/search"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"backgroundColor":"#0070C9","color":"white","fontSize":"0.8rem","padding":"0.2rem 0.5rem","borderRadius":"4px"}},"children":["v3.2"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Depot information"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/depots"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"backgroundColor":"#0070C9","color":"white","fontSize":"0.8rem","padding":"0.2rem 0.5rem","borderRadius":"4px"}},"children":["v3.2"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Supplier information"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/suppliers"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"backgroundColor":"#0070C9","color":"white","fontSize":"0.8rem","padding":"0.2rem 0.5rem","borderRadius":"4px"}},"children":["v3.2"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Depot review scores"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/depots/reviews/scores"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"backgroundColor":"#0070C9","color":"white","fontSize":"0.8rem","padding":"0.2rem 0.5rem","borderRadius":"4px"}},"children":["v3.2"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Redirect URLs"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/search"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"backgroundColor":"#0070C9","color":"white","fontSize":"0.8rem","padding":"0.2rem 0.5rem","borderRadius":"4px"}},"children":["v3.2"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Optional products (extras and insurance)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/availability"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"backgroundColor":"#fbbf24","color":"white","fontSize":"0.8rem","padding":"0.2rem 0.5rem","borderRadius":"4px"}},"children":["Beta"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Order creation"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/orders/create"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"backgroundColor":"#fbbf24","color":"white","fontSize":"0.8rem","padding":"0.2rem 0.5rem","borderRadius":"4px"}},"children":["Beta"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Car reservation details"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/orders/details/cars/live"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"backgroundColor":"#fbbf24","color":"white","fontSize":"0.8rem","padding":"0.2rem 0.5rem","borderRadius":"4px"}},"children":["Beta"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Order cancellation"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/orders/cancel"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"backgroundColor":"#fbbf24","color":"white","fontSize":"0.8rem","padding":"0.2rem 0.5rem","borderRadius":"4px"}},"children":["Beta"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Reporting and reconciliation"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/orders/details"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"backgroundColor":"#0070C9","color":"white","fontSize":"0.8rem","padding":"0.2rem 0.5rem","borderRadius":"4px"}},"children":["v3.2"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"new-functionalities","__idx":3},"children":["New functionalities"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["There are some new functionalities that are not available in XML API but in Demand API:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"New functionality"},"children":["New functionality"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Demand API endpoint"},"children":["Demand API endpoint"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Version"},"children":["Version"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Availability"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/availability"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"backgroundColor":"#fbbf24","color":"white","fontSize":"0.8rem","padding":"0.2rem 0.5rem","borderRadius":"4px"}},"children":["Beta"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Order preview"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/orders/preview"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"backgroundColor":"#fbbf24","color":"white","fontSize":"0.8rem","padding":"0.2rem 0.5rem","borderRadius":"4px"}},"children":["Beta"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"field-mapping-overview","__idx":4},"children":["Field mapping overview"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The following table summarises common XML fields and their Demand API equivalents."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"XML field or concept"},"children":["XML field or concept"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Demand API field or resource"},"children":["Demand API field or resource"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Endpoint"},"children":["Endpoint"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["supplierName"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Supplier ID in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["supplier"]},"; resolve the supplier name using ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/cars/suppliers"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/search + /cars/suppliers"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Supplier.small_logo"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["logo"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/suppliers"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FuelPolicy"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["policies.fuel"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/search"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Mileage"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["policies.mileage"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/search"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Deposit"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["policies.deposit"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/search"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DamageExcess"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["policies.damage_excess"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/search"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TheftExcess"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["policies.theft_excess"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/search"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Price"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Pricing information distributed across ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["price"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["estimated_commission"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["policies.payment"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/search"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Location"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["route.pickup.depot"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["route.dropoff.depot"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/search"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Depot address and instructions"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Depot resource"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/depots"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Ratings.Average"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["score"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/depots/reviews/scores"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["NumRatings"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number_of_reviews"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/depots/reviews/scores"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ForwardURL"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["url.web"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/search"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["App redirect"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["url.app"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/search"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Availability"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Availability response"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/availability (Beta)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Extras and ancillary products"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["products[]"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/availability (Beta)"]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Not every XML field has a direct 1:1 equivalent. Some XML concepts are represented by nested Demand API objects or are available from a separate endpoint."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"search-result-mapping","__idx":5},"children":["Search result mapping"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Primary endpoint:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/demand/docs/open-api/3.2/demand-api/cars/search"},"children":["cars/search"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The XML ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SearchRS"]}," response returned most information needed to build a search-results page."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In Demand API, /cars/search returns the core dynamic information for each available offer, including:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Car ID."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Offer ID."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Policies."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Pricing."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Supplier ID."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Included insurance information."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Route information."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Redirect URLs."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The response also returns a top-level ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["search_token"]}," that identifies the context of the search."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Example:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"request_id\": \"01h00fr9y7qkbxtc6kyv97j49z\",\n  \"data\": [\n    {\n      \"car\": 344450,\n      \"offer\": 854389021,\n      \"supplier\": 137,\n      \"price\": {\n        \"currency\": \"EUR\",\n        \"total\": 311.60\n      },\n      \"route\": {\n        \"pickup\": {\n          \"depot\": 6029\n        },\n        \"dropoff\": {\n          \"depot\": 6029\n        }\n      }\n    }\n  ],\n  \"metadata\": {\n    \"next_page\": null,\n    \"total_results\": 1\n  },\n  \"search_token\": \"...\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use the returned identifiers to retrieve additional vehicle, supplier, and depot information from their corresponding endpoints."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"vehicle-details","__idx":6},"children":["Vehicle details"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Primary endpoint:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/demand/docs/open-api/3.2/demand-api/cars/details"},"children":["/cars/details"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Vehicle specifications are retrieved separately from /cars/details instead of being fully embedded in each search result."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The endpoint can return information such as:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Make"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Model"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Vehicle classification"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Fuel type"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Transmission"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Vehicle features"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Seat capacity"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Door count"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Luggage capacity"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Images"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Example:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"request_id\": \"01ksfat75dpscqj4cqhgdpjqtp\",\n  \"data\": [\n    {\n      \"id\": 218492,\n      \"capacity\": {\n        \"bags\": {\n          \"large\": 1,\n          \"small\": 1\n        },\n        \"doors\": \"4\",\n        \"seats\": \"5\"\n      },\n      \"country\": \"ie\",\n      \"features\": [\n        \"air_conditioning\"\n      ],\n      \"image\": \"https://cdn2.rcstatic.com/images/car_images/web/bmw/1_series_lrg.jpg\",\n      \"make\": \"BMW\",\n      \"model\": \"1 Series\",\n      \"specification\": {\n        \"code\": \"CDAR\",\n        \"description\": \"compact\",\n        \"fuel\": \"unspecified\",\n        \"transmission\": \"automatic\"\n      },\n      \"supplier\": 17\n    }\n  ]\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"policy-mappings","__idx":7},"children":["Policy mappings"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Policy shapes can differ between endpoints. Use the schema for the endpoint you are integrating rather than assuming that the same representation is returned everywhere."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"deposit-and-excess","__idx":8},"children":["Deposit and excess"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Primary endpoint:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/demand/docs/open-api/3.2/demand-api/cars/search"},"children":["/cars/search"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"XML"},"children":["XML"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Demand API"},"children":["Demand API"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Deposit"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["policies.deposit"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DamageExcess"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["policies.damage_excess"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TheftExcess"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["policies.theft_excess"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"XML API","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"XML","header":{"controls":{"copy":{}}},"source":"<DepositExcessFees>\n  <TheftExcess\n    amount=\"1500.0\"\n    currency=\"GBP\"\n    taxIncluded=\"true\" />\n  <DamageExcess\n    amount=\"1500.0\"\n    currency=\"GBP\"\n    taxIncluded=\"true\" />\n  <Deposit\n    amount=\"1500.0\"\n    currency=\"GBP\"\n    taxIncluded=\"true\" />\n</DepositExcessFees>\n","lang":"XML"},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Demand API","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"policies\": {\n    \"damage_excess\": {\n      \"amount\": 3000.00,\n      \"currency\": \"EUR\"\n    },\n    \"deposit\": {\n      \"amount\": 1500.00,\n      \"currency\": \"EUR\"\n    },\n    \"theft_excess\": {\n      \"amount\": 3000.00,\n      \"currency\": \"EUR\"\n    }\n  }\n}\n\n","lang":"json"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"fuel-policy","__idx":9},"children":["Fuel policy"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Primary endpoint:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/demand/docs/open-api/3.2/demand-api/cars/search"},"children":["/cars/search"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"XML"},"children":["XML"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Demand API"},"children":["Demand API"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FuelPolicy"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["policies.fuel"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"XML API","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"XML","header":{"controls":{"copy":{}}},"source":"<FuelPolicy type=\"RETURN_SAME\" />\n\n","lang":"XML"},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Demand API","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"policies\": {\n    \"fuel\": \"return_same\"\n  }\n}\n\n","lang":"json"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"mileage-policy","__idx":10},"children":["Mileage policy"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Primary endpoint:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/demand/docs/open-api/3.2/demand-api/cars/search"},"children":["/cars/search"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"XML"},"children":["XML"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Demand API"},"children":["Demand API"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["KnownFees/Mileage"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["policies.mileage"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"XML API","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"XML","header":{"controls":{"copy":{}}},"source":"<Fees>\n  <KnownFees>\n    <Fee\n      feeTypeName=\"MILEAGE\"\n      alwaysPayable=\"false\"\n      amount=\"0.5\"\n      currency=\"GBP\"\n      taxIncluded=\"true\"\n      perDuration=\"rental\"\n      feeDistance=\"1.0\"\n      distance=\"700.0\"\n      iskM=\"false\"\n      unlimited=\"false\" />\n  </KnownFees>\n</Fees>\n","lang":"XML"},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Demand API","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"policies\": {\n    \"mileage\": {\n      \"amount\": 0.61,\n      \"currency\": \"EUR\",\n      \"distance_limit\": 1000,\n      \"distance_unit\": \"kilometers\",\n      \"type\": \"limited\"\n    }\n  }\n}\n","lang":"json"},"children":[]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"pricing","__idx":11},"children":["Pricing"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Primary endpoint:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/demand/docs/open-api/3.2/demand-api/cars/search"},"children":["/cars/search"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The XML ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Price"]}," element contains several concepts that are represented separately in Demand API:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"XML"},"children":["XML"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Demand API"},"children":["Demand API"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Price"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["price.total"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Price.currency"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["price.currency"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Price.creditCardRequired"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["price.credit_card_required"]}," can be ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]},", or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]},"; review the endpoint schema for the semantics of each value."]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["price"]}," object can also include ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["extra_charges[]"]},", which provides a breakdown of applicable taxes and fees included in the total price."]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"XML API","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"xml","header":{"controls":{"copy":{}}},"source":"<Price\n  currency=\"EUR\"\n  baseCurrency=\"GBP\"\n  basePrice=\"465.8\"\n  commission=\"0.00\"\n  discount=\"0.00\"\n  driveAwayPrice=\"563.92\"\n  quoteAllowed=\"yes\"\n  creditCardRequired=\"false\">\n  563.92\n</Price>\n","lang":"xml"},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Demand API","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"price\": {\n    \"total\": 121.90,\n    \"currency\": \"EUR\",\n    \"credit_card_required\": false,\n    \"extra_charges\": [\n      {\n        \"charge\": \"aged_driver_fee\",\n        \"total_amount\": 21.90\n      },\n      {\n        \"charge\": \"one_way_fee\",\n        \"total_amount\": 50.00\n      }\n    ]\n  }\n}\n","lang":"json"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"related-pricing-and-payment-concepts","__idx":12},"children":["Related pricing and payment concepts"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Not every attribute in the XML ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Price"]}," element maps directly to the Demand API ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["price"]}," object."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Demand API represents some pricing concepts separately:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"XML concept"},"children":["XML concept"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Demand API"},"children":["Demand API"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Commission"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["estimated_commission"]}," where available."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Discount or promotional pricing."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deal"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Third-party insurance price"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["insurance.price"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Payment timing"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["policies.payment.timing"]}," - Supported values are: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pay_online_now"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pay_partial_online_now"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pay_at_pickup"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The XML ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Price"]}," element does not have a 1:1 equivalent in Demand API. When migrating, map each pricing, payment, discount, and commission concept to the corresponding Demand API field rather than treating the complete XML ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Price"]}," element as a single object."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"depot-information","__idx":13},"children":["Depot information"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Primary endpoints:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/demand/docs/open-api/3.2/demand-api/cars/search"},"children":["/cars/search"]}," and ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/demand/docs/open-api/3.2/demand-api/cars/depots"},"children":["/cars/depots"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The XML response included detailed pickup and drop-off location information directly in the search response."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Demand API separates the depot identifier from the depot metadata:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["/cars/search returns the pickup and drop-off depot IDs."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["/cars/depots returns the corresponding depot details."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"search-mapping","__idx":14},"children":["Search mapping"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"XML"},"children":["XML"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Demand API"},"children":["Demand API"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Pickup ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Location"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["route.pickup.depot"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Drop-off ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Location"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["route.dropoff.depot"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"XML API","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"XML","header":{"controls":{"copy":{}}},"source":"<Route>\n  <PickUp>\n    <Location \n      id=\"4608557\" \n      locationId=\"37766\" \n      locCode=\"LHR\" \n      locName=\"London Heathrow Airport\" \n      onAirport=\"no\" />\n  </PickUp>\n  <DropOff>\n    <Location \n      id=\"4608557\" \n      locationId=\"37766\" \n      locCode=\"LHR\" \n      locName=\"London Heathrow Airport\" \n      onAirport=\"no\" />\n  </DropOff>\n</Route>\n","lang":"XML"},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Demand API","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","data-highlight":"{15,18}","header":{"controls":{"copy":{}}},"source":"{\n  \"request_id\": \"01h00fr9y7qkbxtc6kyv97j49z\",\n  \"data\": [\n    {\n      \"car\": 122655,\n      \"policies\": {...}\n        },\n        \"fuel\": \"return_same\",\n        \"mileage\": {...},\n        \"payment\": {...}\n      },\n      \"price\": {...},\n      \"route\": {\n        \"dropoff\": {\n          \"depot\": 112314\n        },\n        \"pickup\": {\n          \"depot\": 112314\n        }\n      },\n...\n","lang":"json"},"children":[]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use /cars/depots to retrieve information such as:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Depot name."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Address."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Coordinates."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Pickup instructions."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Drop-off instructions."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"supplier-information","__idx":15},"children":["Supplier information"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Primary endpoints:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/demand/docs/open-api/3.2/demand-api/cars/search"},"children":["/cars/search"]}," and ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/demand/docs/open-api/3.2/demand-api/cars/suppliers"},"children":["/cars/suppliers"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The XML response returned supplier metadata directly as part of each result."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Demand API instead returns a supplier ID from /cars/search. Use that ID with /cars/suppliers to retrieve the supplier metadata."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"XML"},"children":["XML"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Demand API"},"children":["Demand API"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["supplierName"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/cars/suppliers → name"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Supplier.small_logo"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/cars/suppliers → logo"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"XML API","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"XML","header":{"controls":{"copy":{}}},"source":"<Supplier \n  long=\"-0.39796924\" \n  lat=\"51.47040086\" \n  dropOffLong=\"-0.39796924\" \n  dropOffLat=\"51.47040086\" \n  address=\"Vista Centre Salisbury Road, Cranford, Hounslow, London, UK, TW4 6JQ\" \n  dropOffAddress=\"Vista Centre Salisbury Road, Cranford, Hounslow, London, UK, TW4 6JQ&quot;\" \n  small_logo=\"https://cdn2.rcstatic.com/images/suppliers/wrp/flat/1463_logo_lrg.gif\" \n  locType=\"Off Airport - Shuttle Service\" \n  supplierName=\"Surprice\" \n  pickUpInstructions=\"Please call 00443300949033 on arrival to arrange the shuttle service. Then, follow the signs to the Short Stay Car Park and wait at the corresponding level. T2: Level 4, lift area near row H. T3: Level 3, lift area near row A. T4: Level 2, lift area near row E. T5: Level 1, lift area near row R.\" \n  dropOffInstructions=\"Please call 00443300949033 on arrival to arrange the shuttle service. Then, follow the signs to the Short Stay Car Park and wait at the corresponding level. T2: Level 4, lift area near row H. T3: Level 3, lift area near row A. T4: Level 2, lift area near row E. T5: Level 1, lift area near row R.\" />\n\n","lang":"XML"},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Demand API","disable":false},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Supplier name and logo can be retrieved using the supplier ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}," via the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/demand/docs/open-api/3.2/demand-api/cars/suppliers"},"children":["/cars/suppliers"]}," endpoint:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"request_id\": \"01fr9ez700exycb98w90w5r9sh\",\n  \"data\": [\n    {\n      \"id\": 62,\n      \"name\": \"Budget\",\n      \"logo\": \"https://example.com/path_to_the_logo.jpeg\"\n    }\n  ],\n  \"metadata\": {\n    \"next_page\": null,\n    \"total_results\": 1\n  }\n}\n","lang":"json"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Supplier-specific pickup and drop-off location details and instructions are available from /cars/depots."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"depot-review-scores","__idx":16},"children":["Depot review scores"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Primary endpoint:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/demand/docs/open-api/3.2/demand-api/cars/depotscores"},"children":["/cars/depots/reviews/scores"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"XML"},"children":["XML"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Demand API"},"children":["Demand API"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Ratings.Average"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["score"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["NumRatings"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number_of_reviews"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Cleanliness"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["breakdown.cleanliness.score"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DropOffTime"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["breakdown.drop_off_speed.score"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CollectTime"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["breakdown.pick_up_speed.score"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ValForMoney"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["breakdown.value_for_money.score"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"XML API","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"XML","header":{"controls":{"copy":{}}},"source":"<![CDATA[Surprice (Flex)]]>\n</Supplier>\n\n<Ratings>\n  <Average>7.1</Average>\n  <AverageText>Very good</AverageText>\n  <NumRatings>126</NumRatings>\n  <ValForMoney>6.7</ValForMoney>\n  <Efficiency>7.8</Efficiency>\n  <CollectTime>7.3</CollectTime>\n  <DropOffTime>8.2</DropOffTime>\n  <Cleanliness>7.5</Cleanliness>\n  <Condition>5.8</Condition>\n  <Locating>7.5</Locating>\n</Ratings>\n\n","lang":"XML"},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Demand API","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"request_id\": \"01fr9ez700exycb98w90w5r9sh\",\n  \"data\": [\n    {\n      \"id\": 5944,\n      \"breakdown\": {\n        \"cleanliness\": {\n          \"score\": 8.7\n        },\n        \"condition\": {\n          \"score\": 8.7\n        },\n        \"drop_off_speed\": {\n          \"score\": 8.7\n        },\n        \"friendliness\": {\n          \"score\": null\n        },\n        \"location\": {\n          \"score\": 8.7\n        },\n        \"pick_up_speed\": {\n          \"score\": 8.7\n        },\n        \"value_for_money\": {\n          \"score\": 8.7\n        }\n      },\n      \"number_of_reviews\": 105,\n      \"score\": 9.1\n    }\n  ],\n  \"metadata\": {\n    \"next_page\": null\n  }\n}\n","lang":"json"},"children":[]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"redirect-urls","__idx":17},"children":["Redirect URLs"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Primary endpoint:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/demand/docs/open-api/3.2/demand-api/cars/search"},"children":["/cars/search"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The XML ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ForwardURL"]}," is replaced by platform-specific redirect URLs."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"XML"},"children":["XML"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Demand API"},"children":["Demand API"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ForwardURL"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["url.web"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No equivalent app URL"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["url.app"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"XML API","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"XML","header":{"controls":{"copy":{}}},"source":"<ForwardURL>https:/rentalcars.com/SearchResults.do......</ForwardURL>\n\n","lang":"XML"},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Demand API","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"url\": {\n    \"app\": \"booking://search?affiliate_id=956509&driver_age=21&do_time=2025-11-09T12:00&pu_time=2025-11-02T12:00&do_loc_iata=CDG&pu_loc_iata=CDG\",\n    \"web\": \"https://cars.booking.com/search-results?vehicleId=737843316&aid=956509&prefcurrency=EUR&preflang=en\"\n  }\n}\n","lang":"json"},"children":[]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"beta-only-mappings","__idx":18},"children":["Beta-only mappings"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The following functionality is available through Demand API Beta and does not form part of the stable v3.2 Search, look and redirect migration."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"availability","__idx":19},"children":["Availability"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Primary endpoint:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/demand/docs/open-api/3.2-beta/demand-api/cars/availability"},"children":["/cars/availability"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The XML API returned most availability and booking information as part of search."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Demand API Beta introduces a dedicated /cars/availability step for validating the selected offer before booking."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The /cars/availability endpoint returns:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Latest availability."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Updated pricing."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Policies."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Payment requirements."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Optional products."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Route information."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Supplier information."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Search context."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For example:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"request_id\": \"01kxn1dxkb8hj1w0b7wd4xwa5t\",\n  \"data\": {\n    \"offer\": 853519316,\n    \"currency\": \"GBP\",\n    \"policies\": {\n      \"cancellation\": {\n        \"type\": \"free_cancellation\",\n        \"details\": {\n          \"context\": \"before_pickup\",\n          \"duration\": \"PT48H\"\n        }\n      },\n      \"damage_excess\": {\n        \"amount\": 1641.72\n      },\n      \"deposit\": {\n        \"amount\": 254.53\n      },\n      \"insurance_package\": \"inclusive\",\n      \"payment\": {\n        \"timing\": \"pay_online_now\"\n      },\n      \"fuel\": \"return_same\",\n      \"mileage\": {\n        \"distance_limit\": 1000,\n        \"distance_unit\": \"kilometers\",\n        \"amount\": 0.61,\n        \"currency\": \"EUR\",\n        \"type\": \"limited\"\n      },\n      \"theft_excess\": {\n        \"amount\": 1641.72\n      }\n    },\n    \"price\": {\n      \"base\": 394.51,\n      \"credit_card_required\": null,\n      \"total\": 394.51,\n      \"extra_charges\": []\n    },\n    \"products\": [\n      {\n        \"id\": \"14646288116010\",\n        \"type\": \"gps\",\n        \"maximum_available\": 1,\n        \"mode\": \"per_rental\",\n        \"price\": {\n          \"unit_amount\": {\n            \"display\": {\n              \"value\": 65.7,\n              \"currency\": \"GBP\"\n            },\n            \"pay\": {\n              \"value\": 77.45,\n              \"currency\": \"EUR\",\n              \"timing\": \"pay_at_pickup\"\n            }\n          }\n        }\n      }\n    ],\n    \"deal\": null,\n    \"special_offer\": null,\n    \"supplier\": 207,\n    \"route\": {\n      \"pickup\": {\n        \"depot\": 6054,\n        \"depot_location_type\": \"in_terminal\"\n      },\n      \"dropoff\": {\n        \"depot\": 6054,\n        \"depot_location_type\": \"in_terminal\"\n      }\n    },\n    \"insurance\": null,\n    \"search_token\": \"eyJhbGciOiJIUzI1NiJ9...\"\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Field shapes can differ between /cars/search and /cars/availability. Always follow the schema of the endpoint you are integrating."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"booking-capabilities","__idx":20},"children":["Booking capabilities"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Direct car rental booking is available in Beta and uses the Cars and Orders API collections."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Capability"},"children":["Capability"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Endpoint"},"children":["Endpoint"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Validate the selected car offer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/cars/availability"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Preview the order"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/orders/preview"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Create the order"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/orders/create"]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["See the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/demand/docs/cars/3.2/cars-tutorial"},"children":["Car rentals tutorial"]}," for the complete Search, look and book flow."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"post-booking-capabilities","__idx":21},"children":["Post-booking capabilities"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Selected post-booking functionality is also available in Beta."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Capability"},"children":["Capability"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Endpoint"},"children":["Endpoint"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Retrieve the latest car reservation details"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/orders/details/cars/live"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Cancel an order"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/orders/cancel"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Retrieve post-booking terms and conditions"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/orders/details/cars/terms-and-conditions"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Retrieve booking-related FAQs"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/orders/details/cars/faq"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"next-steps","__idx":22},"children":["Next steps"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After completing the XML field mappings:"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Return to Migrate from XML to Demand API v3.2 to continue the migration workflow."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Review the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/demand/docs/cars/overview"},"children":["Car rentals documentation"]}," for implementation guidance."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Use the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/demand/docs/open-api/3.2/demand-api/cars"},"children":["Demand API v3.2 Cars API reference"]}," for complete endpoint schemas."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If you are implementing direct booking, review the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/demand/docs/open-api/3.2-beta/demand-api"},"children":["Beta Cars API reference"]},"."]}]}]}]},"headings":[{"value":"XML to Demand API mapping reference","id":"xml-to-demand-api-mapping-reference","depth":1},{"value":"Overview","id":"overview","depth":2},{"value":"Endpoint mapping overview","id":"endpoint-mapping-overview","depth":2},{"value":"New functionalities","id":"new-functionalities","depth":3},{"value":"Field mapping overview","id":"field-mapping-overview","depth":2},{"value":"Search result mapping","id":"search-result-mapping","depth":2},{"value":"Vehicle details","id":"vehicle-details","depth":2},{"value":"Policy mappings","id":"policy-mappings","depth":2},{"value":"Deposit and excess","id":"deposit-and-excess","depth":3},{"value":"Fuel policy","id":"fuel-policy","depth":3},{"value":"Mileage policy","id":"mileage-policy","depth":3},{"value":"Pricing","id":"pricing","depth":2},{"value":"Related pricing and payment concepts","id":"related-pricing-and-payment-concepts","depth":3},{"value":"Depot information","id":"depot-information","depth":2},{"value":"Search mapping","id":"search-mapping","depth":3},{"value":"Supplier information","id":"supplier-information","depth":2},{"value":"Depot review scores","id":"depot-review-scores","depth":3},{"value":"Redirect URLs","id":"redirect-urls","depth":2},{"value":"Beta-only mappings","id":"beta-only-mappings","depth":2},{"value":"Availability","id":"availability","depth":3},{"value":"Booking capabilities","id":"booking-capabilities","depth":3},{"value":"Post-booking capabilities","id":"post-booking-capabilities","depth":3},{"value":"Next steps","id":"next-steps","depth":2}],"frontmatter":{"title":"Migrate your Car rentals integration","description":"Step-by-step guide to migrate your Car rentals integration from the legacy XML API to the Car Rental endpoints included in Demand API v3.2 Learn about architecture changes, endpoint differences, authentication, caching, multilingual support, and migration checklist.","tags":["cars","car rentals","migration","demand api","integration"],"api":["/cars/search","/cars/details","/cars/depots","/cars/suppliers","/cars/availability"],"keywords":["car rental migration","cars API migration","legacy XML API","demand API cars","search car rentals","book car rentals","car suppliers","car depots"],"x-redocly":{"seo":{"title":"Migrate Car Rentals integration – Demand API v3.1","description":"Detailed guide for migrating from the legacy XML Car rentals API to Demand API v3.1 cars endpoints. Covers authentication, caching, multilingual support, endpoint differences, and best practices."},"audience":["developer","partner","integrator"],"apiVersion":"v3.2","product":["cars"]},"seo":{"title":"XML to Demand API mapping reference"}},"lastModified":"2026-09-16T14:25:09.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/demand/docs/migration-guide/v3.2/cars/xml-to-3.2-mapping","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}