/trip/removefavorite

From EveryTrail API Developer Documentation

Jump to: navigation, search

Contents

URL

/api/trip/removefavorite

Semantics

Removes a trip from a user's list of favorite trips

Parameters

Parameter nameParameter formatRequiredDescription
usernamestringyesusername of user performing the request
passwordstringyespassword of user performing the request
trip_idintyesid of the trip

Success Response

<etTripRemovefavoriteReponse status="success">
  <tripID>${trip ID}</tripID>
</etTripCompleteResponse>

${trip ID}: ID of trip on the server as int

Error Reponse

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

${trip ID}: ID of the trip on the server

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

Personal tools