Last edit: Mar 08, 2023.
The functionality supported by AreaInfo
and HotelInfo > RelativePositions
are soon to sunset
Booking.com is deprecating the functionality of specifying/retrieving nearby attractions and the property's relative position information using AreaInfo
and HotelInfo > RelativePositions
as of March 15, 2023, and will sunset on June 30, 2023.
Booking.com automatically generates the nearby places and the property's relative position information. Please see [the deprecation policy documentation][property-area-info] for more details.
This documentation section contains an API solution that is soon to sunset. You can still access the topic by clicking the expand icon.
Route¶
Fields¶
Field | Description | Type | Min/max | Notes |
---|---|---|---|---|
TPA_Extensions/Route |
Details of a travel route. | object | 0..1 | - |
Route /Leg |
Details of the starting point, destination, and transport method. | object | 1..1 | - |
Route /JourneyTime |
Travel time details. | object | 1..1 | - |
Route /Price |
Travel price details. | object | 0..1 | - |
XML¶
<Route>
<Leg>
...
</Leg>
<JourneyTime ... />
<Price ... />
</Route>