Validate Download

Validate Download

Returns the availability of a download and whether this can be downloaded immediately. Downloads that can not be downloaded immediately will be emailed when requested.

POST /validatemusicdownloadrequest/{serviceToken}

Parameter Type Status
ServiceToken String Mandatory
Request Body XML Mandatory

Request body

The following are mandatory for a POST request
<membertoken>{membertoken}</membertoken> This element should contain the memberToken
<downloadtype>track</downloadtype> This element should be: 
  • track
  • playlist
  • album
  • favourites
<identifier>01f85a9be3d626e0</identifier> Identifier should be: 
  • track:
    • one content id (encrypted)
    • multiple content ids, separated by commas
  • playlist:
    • encrypted playlist id
  • album:
    • encrypted album id
  • favourites:
    • zero, one, or multiple content ids. Encrypted and comma separated if multiple. If none are provided, all of the member’s favourites will be downloaded, otherwise only the specified

Format should be an encrypted format identifier returned from getserviceinfo

Alternatively specify "wav" or "aiff" or "mp3" in the fileformat field to get the best available formats for these types.


<trimstartsecs>0</trimstartsecs><trimendsecs>0</trimendsecs> Trim values are in seconds only and are only used for single track downloads. Use 0 for both values otherwise

If you would like to request a download with all versions related to the requested tracks (used in track, playlist and favourite downloads), set the "includeversioncheck" parameter to true.

NOTE: when the downloadtype is album,includeversions parameter will be ignored and always return track versions.


Successful Response

The responsevalidatemusicdownload returns an array of valid music downloads objects.

The downloadallowed element indicates if the download is permitted for the memberoken.

The directdownloadallowed element indicates if the download is immediate or needs to go via the email process.



Error Response:





<description>Invalid Token</description>




Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Article is closed for comments.