Trip Comments

From EveryTrail API Developer Documentation

Jump to: navigation, search

Contents

URL

/api/trip/comments

Semantics

Get a list of comments for a trip

Parameters

Parameter nameParameter formatRequiredDescription
trip_idintyesThe id of the trip
after_datedatenoOnly return comments added after the supplied date (used for syncing)

Success Response

<etTripCommentsResponse status="success">
  <comments>
    ${commentXML}
  </comments>
</etTripCommentsResponse>

${commentXML} - see Comment XML Format

Error Response

<etTripCommentsResponse status="error">
  <tripID>${tripID}</tripID>
  ${error reponse}
</etTripCommentsResponse>
  • ${tripID}: id of the trip specified in the request
  • ${error reponse}: See format in Error Reponse Format

Error Codes

CodeMessage
105Invalid Trip Id
Personal tools