Destination

From EveryTrail API Developer Documentation

Jump to: navigation, search

Contents

URL

/api/destination/index

Semantics

Information about a destination

Parameters

Parameter nameParameter formatRequiredDescription
usernamestringnousername of user performing the request
passwordstringnopassword of user performing the request
urlstringyesurl of the destination ("yosemite-national-park")
return_typesbitmasknoA bitwise OR of the data to return (see below), default is minimum


ReturnTypes

  • 0x1: Basic data
  • 0x2: POIs
  • 0x8: track data
  • 0x10: waypoint data
  • 0x20: trips
  • 0x400: guides
  • 0x800: info
  • 0x1000: news
  • 0x2000: child destinations
  • 0x4000: destination pois
  • 0x8000: destination pictures (10)
  • 0x10000: only return guides associated with the partner_id of the destination
  • 0x100000: return destination features (hiking, picnic tables, etc.)

Success Response

<etDestinationIndexResponse status="success">
   ${destinationXML}
</etDestinationIndexResponse>

Error Reponse

<etDestinationIndexResponse status="error">
  ${error reponse}
</etDestinationIndexResponse>
Personal tools