/waypoint/edit
From EveryTrail API Developer Documentation
Contents |
URL
/api/waypoint/edit
Semantics
Edit a waypoint
Parameters
| Parameter name | Parameter format | Required | Description |
|---|---|---|---|
| username | string | yes | username of user performing the request |
| password | string | yes | password of user performing the request |
| waypoint_id | int | yes | The ID of the waypoint |
| lat | float | no | Latitude |
| lon | float | no | Longitude |
| ele | int | no | Elevation (meters) |
| name | string | no | waypoint name |
| description | string | no | waypoint description |
Success Response
<etWaypointEditResponse status="success"> <waypointId>${waypoint ID}</waypointId> </etWaypointEditResponse>
Error Reponse
<etWaypointEditResponse status="error"> <waypointId>${waypoint ID}</waypointId> ${error reponse} </etWaypointEditResponse>
${error reponse}: See format in Error Reponse Format
