TYBA






protocol.GetPlaylistsRequest

GetPlaylistsRequest

This request allows you to get all the playlists. An optional indices parameter can be passed if you wish to subset the returned list if you have a limit on the number of results you can display on your user interface. There is also an optional parameter that allows you to just get a slice of results around a matching string. This is useful if you are randomly jumping around in the results for example alphabetically. This class may be phased out some time in the future as a new class exists that will also return the index of the matched text in all the matching results which is useful for paging results where you may want to know where you matched results sit in the grand scheme of matched results

ParameterOptionalMax AllowedDataTypeNotes
cidno1textclient id. used to track origin of any particular message
ixsyes1indicesstart (i0) and end (i1) index inclusive
sliyes1slicepivot returned results around matching string (ss) with number of items before (w0) and after (w1) matching string

Example xml:


  <sireq>
      <cid>Mum</cid>
      <fn>
          <getPlaylists>
              <ixs>
                  <i0>0</i0>
                  <i1>9</i1>
              </ixs>
              <sli>
                  <ss>a</ss>
                  <w0>50</w0>
                  <w1>50</w1>
              </sli>
          </getPlaylists>
      </fn>
  </sireq>

 

back to index