/trip/delete

From EveryTrail API Developer Documentation

Jump to: navigation, search

Contents

URL

/api/trip/delete

Semantics

Deletes a trip from the database, keeps all pictures, waypoints, and pictures in the user's account. This will perform a soft delete.

Parameters

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

Success Response

<etTripDeleteReponse status="success">
  <tripID>${trip ID}</tripID>
</etTripDeleteResponse>

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

Error Reponse

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

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

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

Personal tools