/guide/vote

From EveryTrail API Developer Documentation

Jump to: navigation, search

Contents

URL

/api/guide/vote

Semantics

Vote on a trip

Parameters

Parameter nameParameter formatRequiredDescription
usernamestringyesusername for authentication
passwordstringyespassword for authentication
urlstringyesurl of the guide
voteintyesthe 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

Personal tools