protocol.AddToPlaylistResponse
This response acts as an acknowledgement to its corresponding request. This class may be phased out some time in the future as a new class exists that is more flexible with respects to the generic type information on the supplied items allowing you to supply lists of any subclass of SiItem as well as a list of SiItem
Parameter | Optional | Max Allowed | DataType | Notes |
---|---|---|---|---|
cid | no | 1 | text | client id. used to track origin of any particular message |
id | no | 1 | database id | playlist id |
items | no | 1 | list | a list of track,genre,album,playlist, composer and/or artist id's |
tok | yes | 1 | api token | client token for privileged access. request from ideaworks |
Example xml:
<siresp> <cid>Mum</cid> <fn> <addToPlaylist> <id>3454543543543</id> <items> <arid>45435434354343</arid> <trid>12121212121</trid> <trid>12121212121</trid> <alid>232322323</alid> <plid>232322323</plid> <grid>232322323</grid> <cpid>232322323</cpid> </items> <tok>fggew32gfg24gf45f3g54</tok> </addToPlaylist> </fn> </siresp>