The functionality supported by `AreaInfo` and `HotelInfo > RelativePositions` was sunset on June 30, 2023
Booking.com deprecated 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 sunset this functionality on June 30, 2023. Booking.com automatically generates the nearby places and the property's relative position information. Please see the deprecation policy documentation for more details.
| Field | Description | Type | Min/max | Notes |
|---|---|---|---|---|
Attractions/Attraction | Details of an attraction. | object | 0..* | - |
Attraction/@AttractionCategoryCode | The Attraction Category Code. | ACC | 1..1 | - |
Attraction/@AttractionName | The attraction name (in @LanguageCode). | string | 1..1 | - |
Attraction/@Distance | Distance from property to attraction (in @DistanceUnit). | float | 1..1 | - |
Attraction/@DistanceUnit | The measurement unit for @Distance. | enum | 0..1 | Accepts: meters, kilometers, feet, miles. Default: meters |
Attraction/@LanguageCode | The Booking.com Language Code used for the attraction information. | BCL | 0..1 | Default: en |
<Attraction
AttractionCategoryCode="29"
AttractionName="Morning market"
Distance="1.2"
DistanceUnit="miles"
LanguageCode="en"/>
<Attraction
AttractionCategoryCode="41"
AttractionName="Sushi restaurant"
Distance="3"/>