TYBA






protocol.GetAlbumsByGenreResponse

GetAlbumsByGenreResponse

This response acts as an acknowledgment to its corresponding request as well as containing a collection of albums matching your request parameters. There is meta data included prior to the list to indicate the number of results returned as well as the total matching results in the database. This is useful if you have subset the results.

ParameterOptionalMax AllowedDataTypeNotes
cidno1textclient id. used to track origin of any particular message
idno1database idgenre id
ixsyes1indicesstart (i0) and end (i1) index inclusive
tnno1integertotal number matching request
nno1integernumber of results returned
colno1listlist of albums.

Example xml:


  <siresp>
      <cid>Mum</cid>
      <fn>
          <getAlbumsByGenre>
              <id>584374858</id>
              <ixs>
                  <i0>0</i0>
                  <i1>9</i1>
              </ixs>
              <tn>30</tn>
              <n>3</n>
              <col>
                  <al>
                      <alid>432546325432</alid>
                      <alnm>Lungs</alnm>
                      <arnm>Florence and the Machine</arnm>
                      <arid>584374858</arid>
                      <trco>13</trco>
                      <cv>http://10.5.0.39:8080/art.cgi?id=ere&amp;fm=png</cv>
                      <cpl>1</cpl>
                  </al>
                  <al>
                      <alid>453454345</alid>
                      <alnm>All I Ever Wanted</alnm>
                      <arnm>Kelly Clarkson</arnm>
                      <arid>584374858</arid>
                      <trco>13</trco>
                      <cv>http://10.5.0.39:8080/art.cgi?id=ere&amp;fm=png</cv>
                      <cpl>1</cpl>
                  </al>
              </col>
          </getAlbumsByGenre>
      </fn>
  </siresp>

 

back to index