/guide/deletedownload
From EveryTrail API Developer Documentation
Contents |
URL
/api/guide/deletedownload
Semantics
Remove a guide download from a user's account. If the guide was "pending", it will be removed completely. Otherwise the status will either change to "deleted" or "deleted from bundle". In both cases, if a subsequent call is made to download the guide, it will be restored, and the user will not be charged twice.
Parameters
| Parameter name | Parameter format | Required | Description |
|---|---|---|---|
| username | string | yes | username of user performing the request |
| password | string | yes | password of user performing the request |
| url | string | yes | url of the trip ("half-dome-hike") |
Success Response
<etGuideDeletedownloadReponse status="success"> <guideUrl>${guideUrl}</guideUrl> <status>${status}</status> ${guideXML} </etGuideDeletedownloadReponse>
${status}
0: pending
1: paid
2: deleted
3: bundled
4: deleted from bundle
Error Reponse
<etGuideDeletedownloadReponse status="error"> <guideUrl>${guideUrl}</guideUrl> ${error reponse} </etGuideDeletedownloadReponse>
