/picture/addcomment

From EveryTrail API Developer Documentation

Jump to: navigation, search

Contents

URL

/api/picture/addcomment

Semantics

Add a comment to a picture

Parameters

Parameter nameParameter formatRequiredDescription
usernamestringyesusername for authentication
passwordstringyespassword for authentication
picture_idintyesid of the trip picture to on
commentstringyesthe comment

Success Response

<etPictureAddcommentResponse status="success">
  <pictureID>${picture ID}</pictureID>
</etPictureAddcommentResponse>

${picture ID}: ID of the picture

Error Response

<etPictureAddcommentResponse status="error">
  <pictureID>${picture ID}</pictureID>
  ${error reponse}
</etPictureAddcommentResponse>

${picture ID}: ID of the picture

${error reponse}: See format in Error Reponse Format

Personal tools