/trip/addcomment
From EveryTrail API Developer Documentation
Contents |
URL
/api/trip/addcomment
Semantics
Add a comment to a trip
Parameters
| Parameter name | Parameter format | Required | Description |
|---|---|---|---|
| username | string | yes | username for authentication |
| password | string | yes | password for authentication |
| trip_id | int | yes | id of the trip comment on |
| comment | string | yes | the 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
