Getfor_tracksforalbum, Albumid, Pagenumber] [pagesize] {userdata – Qsonix Integration User Manual

Page 23

Advertising
background image

Qsonix Integration Guide

Page | 23

leading 1 to the id, ex: 11980 will return results from 1980 through 1989
inclusive).

Int16

PageNumber

Specifies the page number to be retrieved.

Int32

PageSize

Specifies the number of rows in each page.

Int32

RESPONSE DEFINITION

GETFOR_ALBUMSFORPERIOD[PeriodID][PageNumber][TotalPages][TotalAlbums][UserData][A
lbumID][AlbumTitle][AlbumArtistID][AlbumArtistName][Year][TrackCount]

PeriodID

The period ID of the albums being returned.

Int16

PageNumber

The page number being returned.

Int32

TotalPages

Indicates how many pages are available at the page size specified.

Int32

TotalAlbums

Count of the number of albums returned.

Int32

AlbumID

The unique album ID for the album being returned.

Int32

AlbumTitle

The album title.

String(100)

AlbumArtistID

Unique artist identifier for the artist that is the primary artist on the album.

Int32

AlbumArtistName Name of the primary artist for the album.

String(255)

Year

The release year of the album.

Int16

TrackCount

Total number of tracks associated with the album.

Int32

GetFor_TracksForAlbum

[AlbumID]

[PageNumber] [PageSize] {UserData}

DESCRIPTION

Retrieves a list of tracks for the specified album.

PARAMETERS

AlbumID

The unique album ID to retrieve a list of tracks for.

Int32

PageNumber

Specifies the page number to be retrieved.

Int32

PageSize

Specifies the number of rows in each page.

Int32

RESPONSE DEFINITION

GETFOR_TRACKSFORALBUM[AlbumID][PageNumber][TotalPages][TotalTracks][UserData][Tra
ckID][TrackTitle][TrackNumber][TrackDurationInSeconds][TrackDurationAsString][OutputIsPlayin
gThisTrack]

AlbumID

The album ID of the tracks being returned.

Int32

PageNumber

The page number being returned.

Int32

TotalPages

Indicates how many pages are available at the page size specified.

Int32

TotalTracks

Count of the number of tracks returned.

Int32

TrackID

The unique track ID for the track being returned.

Int32

TrackTitle

The track title.

String(512)

TrackNumber

The number of this track from the original recording.

uInt8

TrackDurationInS
econds

Duration of the track. This is returned as an integer value in seconds.

Int32

Advertising