/guide/vote
From EveryTrail API Developer Documentation
Contents |
URL
/api/guide/vote
Semantics
Vote on a trip
Parameters
| Parameter name | Parameter format | Required | Description |
|---|---|---|---|
| username | string | yes | username for authentication |
| password | string | yes | password for authentication |
| url | string | yes | url of the guide |
| vote | int | yes | the vote (1-5, 1 being the worst, 5 the best) |
Success Response
<etGuideVoteResponse status="success"> <guideUrl>${guide Url}</guideUrl> <rating votes=""></rating> </etGuideVoteResponse>
Error Response
<etGuideVoteResponse status="error"> <guideUrl>${guide Url}</guideUrl> ${error reponse} </etGuideVoteResponse>
${error reponse}: See format in Error Reponse Format
