Trip Waypoints

From EveryTrail API Developer Documentation

Jump to: navigation, search

Contents

URL

/api/trip/waypoints

Semantics

Get a list of waypoints for a trip

Parameters

Parameter nameParameter formatRequiredDescription
username*stringnoThe username of the owner of the trip
password*stringnoThe password of the owner of the trip
trip_idintyesThe id of the trip
  • If the username and password are validated for the same user as trip owner, trips that are private will be returned

Success Response

<etTripWaypointsResponse status="success">
  <waypoints>
    ${waypointXML}
  </waypoints>
</etTripWaypointsResponse>

${waypointXML} - see Waypoint XML Format

Error Response

<etTripWaypointsResponse status="error">
  ${error response}
</etTripWaypointsResponse>

${error response}: See format in Error Reponse Format

Error Codes

CodeMessage
105Invalid Trip Id
109This trip is private
Personal tools