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.

details
summary
This documentation section contains an API solution that is soon to sunset. You can still access the topic by clicking the expand icon.
# Leg

## Fields

| Field | Description | Type | Min/max | Notes |
|  --- | --- | --- | --- | --- |
| [Route](/connectivity/docs/api-reference/route)/`Leg` | Details of the starting point, destination, and transport method. | object | 1..1 | - |
| `Leg`/[Departure](/connectivity/docs/api-reference/departure) | Departure times. | object | 0..1 | - |
| `Leg`/[Junction](/connectivity/docs/api-reference/junction) | Motorway/highway junction/exit to take. | object | 0..1 | - |
| `Leg`/[Line](/connectivity/docs/api-reference/line) | Public transport line details. | object | 0..1 | - |
| `Leg`/[Motorway](/connectivity/docs/api-reference/motorway) | Motorway/highway details. | object | 0..1 | - |
| `Leg`/[Start](/connectivity/docs/api-reference/start) | Starting point details. | object | 0..1 | - |
| `Leg`/[TransportType](/connectivity/docs/api-reference/transporttype) | Transportation method. | object | 0..1 | - |


## XML


```xml
<Leg>
  <Departure ... />
  <Junction ... />
  <Line ... />
  <Motorway ... />
  <Start ... />
  <TransportType ... />
</Leg>
```

## Related endpoints

* [/ota/OTA_HotelDescriptiveContentNotif](/connectivity/docs/ota-hoteldescriptivecontentnotif)