Add to a Member Playlist

Adds a track or a whole album to a playlist, depending on which parameter type is supplied. If a track type add is requested then only the track identified will be added to the playlist. If an album type add is requested then all tracks in the album will be added to the playlist. No duplicate tracks will be added to the playlist regardless of the request type.

Request:

GET /addtoplaylist/{serviceToken}/{memberAccountID}/{playlistID}/{type}/{ID}

Parameter Type Status
ServiceToken String Mandatory
memberAccountID String Mandatory
playlistID String Mandatory
type String Mandatory
ID String Mandatory

 

Notes
type This parameter cane have the value of either “track” or “album”
ID Depending on the “type” parameter sent in this will be the ID value of either a track or album.

Successful Response

<responsecode>

<code>OK</code>

</responsecode>

Error Response:

<responseplaylists>

<error>

<code>5</code>

<description>Invalid Token</description>

</error>

</responseplaylists>

 

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

Comments

Article is closed for comments.