/trip/addcomment

From EveryTrail API Developer Documentation

Jump to: navigation, search

Contents

URL

/api/trip/addcomment

Semantics

Add a comment to a trip

Parameters

Parameter nameParameter formatRequiredDescription
usernamestringyesusername for authentication
passwordstringyespassword for authentication
trip_idintyesid of the trip comment on
commentstringyesthe comment

Success Response

<etTripAddcommentResponse status="success">
  <tripId>${trip ID}</tripId>
</etTripAddcommentResponse>

${trip ID}: ID of the trip

Error Response

<etTripAddcommentResponse status="error">
  <tripID>${trip ID}</tripID>
  ${error reponse}
</etTripAddcommentResponse>

${trip ID}: ID of the trip

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

Personal tools