TYBA






protocol.CreatePlaylistResponse2

CreatePlaylistResponse2

This response acts as an acknowledgement to its corresponding request, as well as returning the database id that was assigned to the new playlist. This class may be phased out some time in the future as the 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

ParameterOptionalMax AllowedDataTypeNotes
cidno1textclient id. used to track origin of any particular message
nmno1textname of the new playlist to create
itemsyes1lista list of track,genre,album,playlist and/or artist id's
idno1database idplaylist id
rono1booleanis this a read only playlist
uidno1textuser id to bind playlist to. An empty value denotes a shared playlist

Example xml:


  <siresp>
      <cid>Mum</cid>
      <fn>
          <createPlaylist2>
              <nm>Dells chill out tunes</nm>
              <items>
                  <arid>45435434354343</arid>
                  <trid>12121212121</trid>
                  <trid>12121212121</trid>
                  <alid>232322323</alid>
              </items>
              <id>CBFGDSFDGD1212</id>
              <ro>1</ro>
              <uid>1</uid>
          </createPlaylist2>
      </fn>
  </siresp>

 

back to index