Add Favorite Trip

From EveryTrail API Developer Documentation

Jump to: navigation, search

Contents

URL

/api/user/addfavoritetrip

Semantics

Marks a trip as a favorite trip for a user

Parameters

Parameter nameParameter formatRequiredDescription
usernamestringyesusername for authentication
passwordstringyespassword for authentication
trip_idintyesid of the trip to mark as favorite

Success Response

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

${trip ID}: ID of the trip

Error Response

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

${trip ID}: ID of the trip

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

Old version

The documentation of the old version of this API can be found here

Personal tools