Download purchased track

Download a purchased track.

OAuth User token

 \ Example request

GET http://media.geo.7digital.com/media/user/downloadtrack?trackid=123456&releaseid=123456&formatid=17&country=GB&errorUrl=http%3a%2f%2fexample.com%2ferror&oauth_consumer_key=YOUR_KEY_HERE&...

Example Response

HTTP/1.1 200 OK
Date: Thu, 19 Nov 2009 11:27:47 GMT
Content-Length: 7256280
Content-Disposition: attachment; filename="David Hasselhoff - Jump In My Car.mp3";
Content-Type: audio/mpeg

Specific Error Codes

  • 1001 - Error: Missing "parameter name" query parameter. Not all mandatory parameters were specified in the request.
  • 1002 - Invalid value for "parameter name": parameter value. Value for parameter in error message is not valid.
  • 2002 - No licences found for the download request. Either the track ID supplied does not exist or has not been purchased by the user supplied, or the user does not exist, or the track is no longer available for download.
Query Params
string
required

The unique identifier of the user. For information on creating users click here.

int32
required

The MassiveMusic ID of the track to be downloaded.

int32
required

The MassiveMusic ID of the release the track that is being delivered appears on.

int32
required

The MassiveMusic ID of the format requested (from the list provided for each track by the purchasing API or locker response).

string
required

ISO 2-character code of the country the end user resides in.

string

URL encoded callback URL in the event of an error.

Language
LoadingLoading…