GET Songs/Favorites/{userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SongFavoritesDTO
NameDescriptionTypeAdditional information
UserId

string

None.

SongId

integer

None.

SongTitle

string

None.

Duration

string

None.

SongType

string

None.

Description

string

None.

Singers

string

None.

Composers

string

None.

Lyricists

string

None.

Lyrics

string

None.

MediaSoundID

integer

None.

SoundFileName

string

None.

AlbumSongID

integer

None.

AlbumID

integer

None.

AlbumImage

string

None.

Artists

Collection of SongArtistDTO

None.

SoundEngineer

string

None.

VoiceOverArtist

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "2",
    "UserId": "sample string 1",
    "SongId": 2,
    "SongTitle": "sample string 3",
    "Duration": "sample string 4",
    "SongType": "sample string 5",
    "Description": "sample string 2, sample string 2",
    "Singers": "",
    "Composers": "",
    "Lyricists": "",
    "Lyrics": "sample string 10",
    "MediaSoundID": 11,
    "SoundFileName": "sample string 12",
    "AlbumSongID": 13,
    "AlbumID": 14,
    "AlbumImage": "sample string 15",
    "Artists": {
      "$id": "3",
      "$values": [
        {
          "$id": "4",
          "ArtistID": 1,
          "ArtistName": "sample string 2",
          "ArtistType": "sample string 3",
          "ImageFile": "sample string 4"
        },
        {
          "$ref": "4"
        }
      ]
    },
    "SoundEngineer": "",
    "VoiceOverArtist": ""
  },
  {
    "$ref": "2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSongFavoritesDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JalsoApi.ViewModel">
  <SongFavoritesDTO>
    <AlbumID>14</AlbumID>
    <AlbumImage>sample string 15</AlbumImage>
    <AlbumSongID>13</AlbumSongID>
    <Artists>
      <SongArtistDTO>
        <ArtistID>1</ArtistID>
        <ArtistName>sample string 2</ArtistName>
        <ArtistType>sample string 3</ArtistType>
        <ImageFile>sample string 4</ImageFile>
      </SongArtistDTO>
      <SongArtistDTO>
        <ArtistID>1</ArtistID>
        <ArtistName>sample string 2</ArtistName>
        <ArtistType>sample string 3</ArtistType>
        <ImageFile>sample string 4</ImageFile>
      </SongArtistDTO>
    </Artists>
    <Composers></Composers>
    <Description>sample string 2, sample string 2</Description>
    <Duration>sample string 4</Duration>
    <Lyricists></Lyricists>
    <Lyrics>sample string 10</Lyrics>
    <MediaSoundID>11</MediaSoundID>
    <Singers></Singers>
    <SongId>2</SongId>
    <SongTitle>sample string 3</SongTitle>
    <SongType>sample string 5</SongType>
    <SoundEngineer></SoundEngineer>
    <SoundFileName>sample string 12</SoundFileName>
    <UserId>sample string 1</UserId>
    <VoiceOverArtist></VoiceOverArtist>
  </SongFavoritesDTO>
  <SongFavoritesDTO>
    <AlbumID>14</AlbumID>
    <AlbumImage>sample string 15</AlbumImage>
    <AlbumSongID>13</AlbumSongID>
    <Artists>
      <SongArtistDTO>
        <ArtistID>1</ArtistID>
        <ArtistName>sample string 2</ArtistName>
        <ArtistType>sample string 3</ArtistType>
        <ImageFile>sample string 4</ImageFile>
      </SongArtistDTO>
      <SongArtistDTO>
        <ArtistID>1</ArtistID>
        <ArtistName>sample string 2</ArtistName>
        <ArtistType>sample string 3</ArtistType>
        <ImageFile>sample string 4</ImageFile>
      </SongArtistDTO>
    </Artists>
    <Composers></Composers>
    <Description>sample string 2, sample string 2</Description>
    <Duration>sample string 4</Duration>
    <Lyricists></Lyricists>
    <Lyrics>sample string 10</Lyrics>
    <MediaSoundID>11</MediaSoundID>
    <Singers></Singers>
    <SongId>2</SongId>
    <SongTitle>sample string 3</SongTitle>
    <SongType>sample string 5</SongType>
    <SoundEngineer></SoundEngineer>
    <SoundFileName>sample string 12</SoundFileName>
    <UserId>sample string 1</UserId>
    <VoiceOverArtist></VoiceOverArtist>
  </SongFavoritesDTO>
</ArrayOfSongFavoritesDTO>