GET api/AlbumsV2/GetAlbumsById/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of AlbumDetailsDTO
NameDescriptionTypeAdditional information
AlbumID

integer

None.

AlbumName

string

None.

AlbumType

string

None.

MediaImageID

integer

None.

ImageFileName

string

None.

CategoryID

integer

None.

CategoryName

string

None.

PositionNo

integer

None.

ReleaseDate

date

None.

CreatedDate

date

None.

ModifiedDate

date

None.

IsFavorite

boolean

None.

Favcount

integer

None.

Listencount

integer

None.

subtitle

string

None.

RatingAvg

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "2",
    "AlbumID": 1,
    "AlbumName": "sample string 2",
    "AlbumType": "sample string 3",
    "MediaImageID": 4,
    "ImageFileName": "sample string 5",
    "CategoryID": 6,
    "CategoryName": "sample string 7",
    "PositionNo": 8,
    "ReleaseDate": "2018-07-16T23:47:32.7711908+00:00",
    "CreatedDate": "2018-07-16T23:47:32.7711908+00:00",
    "ModifiedDate": "2018-07-16T23:47:32.7711908+00:00",
    "IsFavorite": true,
    "Favcount": 11,
    "Listencount": 12,
    "subtitle": "sample string 13",
    "RatingAvg": 14.1
  },
  {
    "$ref": "2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAlbumDetailsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JalsoApi.ViewModel">
  <AlbumDetailsDTO>
    <AlbumID>1</AlbumID>
    <AlbumName>sample string 2</AlbumName>
    <AlbumType>sample string 3</AlbumType>
    <CategoryID>6</CategoryID>
    <CategoryName>sample string 7</CategoryName>
    <CreatedDate>2018-07-16T23:47:32.7711908+00:00</CreatedDate>
    <Favcount>11</Favcount>
    <ImageFileName>sample string 5</ImageFileName>
    <IsFavorite>true</IsFavorite>
    <Listencount>12</Listencount>
    <MediaImageID>4</MediaImageID>
    <ModifiedDate>2018-07-16T23:47:32.7711908+00:00</ModifiedDate>
    <PositionNo>8</PositionNo>
    <RatingAvg>14.1</RatingAvg>
    <ReleaseDate>2018-07-16T23:47:32.7711908+00:00</ReleaseDate>
    <subtitle>sample string 13</subtitle>
  </AlbumDetailsDTO>
  <AlbumDetailsDTO>
    <AlbumID>1</AlbumID>
    <AlbumName>sample string 2</AlbumName>
    <AlbumType>sample string 3</AlbumType>
    <CategoryID>6</CategoryID>
    <CategoryName>sample string 7</CategoryName>
    <CreatedDate>2018-07-16T23:47:32.7711908+00:00</CreatedDate>
    <Favcount>11</Favcount>
    <ImageFileName>sample string 5</ImageFileName>
    <IsFavorite>true</IsFavorite>
    <Listencount>12</Listencount>
    <MediaImageID>4</MediaImageID>
    <ModifiedDate>2018-07-16T23:47:32.7711908+00:00</ModifiedDate>
    <PositionNo>8</PositionNo>
    <RatingAvg>14.1</RatingAvg>
    <ReleaseDate>2018-07-16T23:47:32.7711908+00:00</ReleaseDate>
    <subtitle>sample string 13</subtitle>
  </AlbumDetailsDTO>
</ArrayOfAlbumDetailsDTO>