Trip Comments
From EveryTrail API Developer Documentation
Contents |
URL
/api/trip/comments
Semantics
Get a list of comments for a trip
Parameters
| Parameter name | Parameter format | Required | Description |
|---|---|---|---|
| trip_id | int | yes | The id of the trip |
| after_date | date | no | Only return comments added after the supplied date (used for syncing) |
Success Response
<etTripCommentsResponse status="success"> <comments> ${commentXML} </comments> </etTripCommentsResponse>
${commentXML} - see Comment XML Format
Error Response
<etTripCommentsResponse status="error"> <tripID>${tripID}</tripID> ${error reponse} </etTripCommentsResponse>
- ${tripID}: id of the trip specified in the request
- ${error reponse}: See format in Error Reponse Format
Error Codes
| Code | Message |
|---|---|
| 105 | Invalid Trip Id |
