Getfor_stylesforgenre, Genreid, Pagenumber] [pagesize] {userdata – Qsonix Integration User Manual

Page 20

Advertising
background image

Qsonix Integration Guide

Page | 20

][ObjectID][MatchString]

SearchTerm

The search term that was searched for.

String(255)

PageNumber

The page number being returned.

Int32

TotalPages

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

Int32

TotalResults

Count of the number of matches available.

Int32

ObjectType

The type of object that this search result pertains to. Valid values are:

TRACK, ALBUM, ARTIST, GENRE

String(20)

ObjectID

The unique identifier of the object matched.

Int32

MatchString

The string value that was matched and contained the keyword.

String(512)

ExtendedData1

This contains additional data about the search result. The data contained

depends on the ObjectType being returned as follows:

TRACK: Album Title
ALBUM: Album Artist Name
ARTIST: <not used>
GENRE: <not used>

ExtendedData2

This contains additional data about the search result. The data contained
depends on the ObjectType being returned as follows:

TRACK: Album Artist Name
ALBUM: <not used>

ARTIST: <not used>
GENRE: <not used>

GetFor_StylesForGenre

[GenreID]

[PageNumber] [PageSize] {UserData}

DESCRIPTION

Retrieves a list of styles for the specified genre.

PARAMETERS

GenreID

The unique genre ID to retrieve a list of styles for.

Int32

PageNumber

Specifies the page number to be retrieved.

Int32

PageSize

Specifies the number of rows in each page.

Int32

RESPONSE DEFINITION

GETFOR_STYLESFORGENRE[GenreID][PageNumber][TotalPages][TotalStyles][UserData][Genr

eID][GenreName] [AlbumCount]

GenreID

The genre ID of the parent of the styles being returned.

Int32

PageNumber

The page number being returned.

Int32

TotalPages

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

Int32

TotalStyles

Count of the number of styles returned.

Int32

GenreID

The unique genre ID for the style being returned. Genres and styles are
essentially the same data type.

Int32

Advertising