List Destinations - Pull_ListDestinations
Destinations are POIs to which you can define distances from the property.
Use Cases
- Display featured destinations on homepage
- Build destination-based navigation
- Create destination landing pages
- Group properties by popular destinations
- Marketing campaigns by destination
Best Practices
- Cache for Days: Destinations change infrequently - cache for 24-48 hours
- Use for Marketing: Display destinations prominently for discovery
- Property Count: Show property count to indicate destination popularity
- SEO: Create destination landing pages for SEO
Request
XML request
<Pull_ListDestinations_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
</Pull_ListDestinations_RQ>
Request fields
| XML Path | Data Type | Type | Description |
|---|---|---|---|
| Pull_ListDestinations_RQ | C | Root element | |
| Pull_ListDestinations_RQ/Authentication | C, M | Authentication details | |
| Pull_ListDestinations_RQ/Authentication/AccessKey | String(100) | M | Access key |
| Pull_ListDestinations_RQ/Authentication/SecretKey | String(100) | M | Secret key |
Response
XML response
<Pull_ListDestinations_RS>
<Status ID="0">Success</Status>
<ResponseID>2d1eff43b6bc4647b1df7f0af73db5d1</ResponseID>
<Destinations>
<Destination DestinationID="2">Central Barcelona</Destination>
<Destination DestinationID="3">La Sagrada Familia</Destination>
<Destination DestinationID="4">Metro</Destination>
<Destination DestinationID="5">Gothic Church of Sta. Maria del Mar</Destination>
<Destination DestinationID="7">Boqueria Street</Destination>
<Destination DestinationID="8">Sea</Destination>
<Destination DestinationID="9">Tourist bus stops nearby</Destination>
<Destination DestinationID="10">Bogatell beach</Destination>
<Destination DestinationID="11">Ramblas</Destination>
<Destination DestinationID="13">Paseo del Borne</Destination>
<Destination DestinationID="14">Main Square</Destination>
<Destination DestinationID="15">Hachesche Hofe</Destination>
<Destination DestinationID="17">Pl. Catalunya</Destination>
...
</Destinations>
</Pull_ListDestinations_RS>
Response fields
| XML Path | Data Type | Type | Description |
|---|---|---|---|
| Pull_ListDestinations_RS | C | Root element | |
| Pull_ListDestinations_RS/Status | String(100) | M | See ListStatuses |
| Pull_ListDestinations_RS/Status@ID | Integer | M | See ListStatuses |
| Pull_ListDestinations_RS/ResponseID | String(32) | M | Unique response ID |
| Pull_ListDestinations_RS/Destinations | C, M | A collection of destinations | |
| Pull_ListDestinations_RS/Destinations/Destination | String(200) | M | Description of a destination |
| Pull_ListDestinations_RS/Destinations/Destination@DestinationID | Integer | M | Unique destination ID |