Skip to main content

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 PathData TypeTypeDescription
Pull_ListDestinations_RQCRoot element
Pull_ListDestinations_RQ/AuthenticationC, MAuthentication details
Pull_ListDestinations_RQ/Authentication/AccessKeyString(100)MAccess key
Pull_ListDestinations_RQ/Authentication/SecretKeyString(100)MSecret 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 PathData TypeTypeDescription
Pull_ListDestinations_RSCRoot element
Pull_ListDestinations_RS/StatusString(100)MSee ListStatuses
Pull_ListDestinations_RS/Status@IDIntegerMSee ListStatuses
Pull_ListDestinations_RS/ResponseIDString(32)MUnique response ID
Pull_ListDestinations_RS/DestinationsC, MA collection of destinations
Pull_ListDestinations_RS/Destinations/DestinationString(200)MDescription of a destination
Pull_ListDestinations_RS/Destinations/Destination@DestinationIDIntegerMUnique destination ID