/guide/data

From EveryTrail API Developer Documentation

Jump to: navigation, search

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 nameParameter formatRequiredDescription
usernamestringyesusername of user performing the request
passwordstringyespassword of user performing the request
urlstringyesurl of the trip ("half-dome-hike")
enabled_typesbitmasknoA bitwise OR of the data to return (see below), default is all
receipt_datastringnobase64 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

POI XML Format

Error Reponse

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