/guide/data
From EveryTrail API Developer Documentation
Contents |
URL
/api/guide/data
Semantics
Call to get the data for a guide, this is the same as the /guide/download call.
Parameters
| Parameter name | Parameter format | Required | Description |
|---|---|---|---|
| username | string | yes | username of user performing the request |
| password | string | yes | password of user performing the request |
| url | string | yes | url of the trip ("half-dome-hike") |
| enabled_types | bitmask | no | A bitwise OR of the data to return (see below), default is all |
| receipt_data | string | no | base64 encoded receipt data from apple purchase |
ReturnTypes
- 0x1: Basic data
- 0x2: POIs
- 0x4: Child Guides (for guide sets)
- 0x8: track data
- 0x16: waypoint data
Success Response
< etGuideDataResponse status="success"> ${guideXML} </etGuideDataResponse >
${guideXML}: | Guide XML format
Error Reponse
< etGuideDataResponse status="error"> ${error reponse} </etGuideDataResponse >
