TYBA






protocol.MovePlaylistItemRequest

MovePlaylistItemRequest

This request allows you to move items around in the specified playlist. Negative values reference from the end of the queue in reverse. i.e -1 is the last item in the list then -2 etc. Source and destinations indices are supplied as parameters.

ParameterOptionalMax AllowedDataTypeNotes
cidno1textclient id. used to track origin of any particular message
idno1Database idplaylist id
i0no1integersource index
i1no1integerdestination index
tokyes1api tokenclient token for privileged access. request from ideaworks

Example xml:


  <sireq>
      <cid>Mum</cid>
      <fn>
          <movePlaylistItem>
              <id>1</id>
              <i0>0</i0>
              <i1>-1</i1>
              <tok>fggew32gfg24gf45f3g54</tok>
          </movePlaylistItem>
      </fn>
  </sireq>

 

back to index