TYBA






protocol.AddToPlaylistRequest2

AddToPlaylistRequest2

This request allows you to add all tracks in the database that match the supplied item ids to the supplied playlist. This version of class adds looser genric typing to itmes supplied to this class.

ParameterOptionalMax AllowedDataTypeNotes
cidno1textclient id. used to track origin of any particular message
idno1database idplaylist id
itemsno1lista list of track,genre,album,playlist, composer and/or artist id's
tokyes1api tokenclient token for privileged access. request from ideaworks

Example xml:


  <sireq>
      <cid>Mum</cid>
      <fn>
          <addToPlaylist2>
              <id>45435434354343</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>
          </addToPlaylist2>
      </fn>
  </sireq>

 

back to index