Destination
From EveryTrail API Developer Documentation
Contents |
URL
/api/destination/index
Semantics
Information about a destination
Parameters
| Parameter name | Parameter format | Required | Description |
|---|---|---|---|
| username | string | no | username of user performing the request |
| password | string | no | password of user performing the request |
| url | string | yes | url of the destination ("yosemite-national-park") |
| return_types | bitmask | no | A 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>
