POST api/SongInFavorites/PostSongInFavorite
Request Information
URI Parameters
None.
Body Parameters
SongInFavoriteName | Description | Type | Additional information |
---|---|---|---|
SongInFavoriteId | integer |
None. |
|
UserId | string |
None. |
|
SongId | integer |
None. |
|
CreatedDate | date |
None. |
|
ModifiedDate | date |
None. |
|
IsDeleted | boolean |
None. |
|
Song | Song |
None. |
Request Formats
application/json, text/json
Sample:
{ "SongInFavoriteId": 1, "UserId": "sample string 2", "SongId": 3, "CreatedDate": "2019-02-18T19:16:55.858495+00:00", "ModifiedDate": "2019-02-18T19:16:55.858495+00:00", "IsDeleted": true, "Song": { "$id": "2", "SongID": 1, "SongTitle": "sample string 2", "Duration": "sample string 3", "SongType": "sample string 4", "Lyrics": "sample string 5", "Details": "sample string 6", "MediaSoundID": 7, "IsDeleted": true, "UserID": 9, "CreatedDate": "2019-02-18T19:16:55.858495+00:00", "ModifiedDate": "2019-02-18T19:16:55.858495+00:00", "AlbumSongs": { "$id": "3", "$values": [ { "$id": "4", "AlbumSongID": 1, "AlbumID": 2, "SongID": 3, "IsDeleted": true, "UserID": 5, "CreatedDate": "2019-02-18T19:16:55.858495+00:00", "ModifiedDate": "2019-02-18T19:16:55.858495+00:00", "PositionNo": 7, "Album": { "$id": "5", "AlbumID": 1, "AlbumName": "sample string 2", "AlbumType": "sample string 3", "MediaImageID": 4, "ReleaseDate": "2019-02-18T19:16:55.858495+00:00", "IsDeleted": true, "UserID": 6, "CreatedDate": "2019-02-18T19:16:55.858495+00:00", "ModifiedDate": "2019-02-18T19:16:55.858495+00:00", "subtitle": "sample string 8", "Listencount": 1, "downloadable": true, "MediaImage": { "$id": "6", "MediaImageID": 1, "ImageFileName": "sample string 2", "IsDeleted": true, "UserID": 4, "CreatedDate": "2019-02-18T19:16:55.858495+00:00", "ModifiedDate": "2019-02-18T19:16:55.858495+00:00", "Albums": { "$id": "7", "$values": [ { "$ref": "5" }, { "$ref": "5" } ] }, "Artists": { "$id": "8", "$values": [ { "$id": "9", "ArtistID": 1, "ArtistName": "sample string 2", "MediaImageID": 3, "Biography": "sample string 4", "IsDeleted": true, "UserID": 6, "CreatedDate": "2019-02-18T19:16:55.858495+00:00", "ModifiedDate": "2019-02-18T19:16:55.858495+00:00", "MediaImage": { "$ref": "6" }, "SongArtists": { "$id": "10", "$values": [ { "$id": "11", "SongArtistID": 1, "SongID": 2, "ArtistID": 3, "ArtistType": "sample string 4", "IsDeleted": true, "UserID": 6, "CreatedDate": "2019-02-18T19:16:55.858495+00:00", "ModifiedDate": "2019-02-18T19:16:55.858495+00:00", "Artist": { "$ref": "9" }, "Song": { "$ref": "2" } }, { "$ref": "11" } ] } }, { "$ref": "9" } ] }, "Categories": { "$id": "12", "$values": [ { "$id": "13", "CategoryID": 1, "CategoryName": "sample string 2", "MediaImageID": 1, "IsDeleted": true, "UserID": 1, "CreatedDate": "2019-02-18T19:16:55.858495+00:00", "ModifiedDate": "2019-02-18T19:16:55.858495+00:00", "RootCategoryID": 1, "subtitle": "sample string 3", "MediaImage": { "$ref": "6" }, "CategoryAlbums": { "$id": "14", "$values": [ { "$id": "15", "CategoryAlbumID": 1, "CategoryID": 2, "AlbumID": 3, "IsDeleted": true, "UserID": 5, "CreatedDate": "2019-02-18T19:16:55.858495+00:00", "ModifiedDate": "2019-02-18T19:16:55.858495+00:00", "PositionNo": 7, "Album": { "$ref": "5" }, "Category": { "$ref": "13" } }, { "$ref": "15" } ] } }, { "$ref": "13" } ] }, "SubCategories": { "$id": "16", "$values": [ { "$id": "17", "SubCategoryID": 1, "SubCategoryName": "sample string 2", "MediaImageID": 3, "IsDeleted": true, "UserID": 5, "CreatedDate": "2019-02-18T19:16:55.858495+00:00", "ModifiedDate": "2019-02-18T19:16:55.858495+00:00", "CategoryID": 7, "ParentSubCategoryID": 8, "PositionNo": 9, "subtitle": "sample string 10", "MediaImage": { "$ref": "6" }, "SubCategoryAlbums": { "$id": "18", "$values": [ { "$id": "19", "SubCategoryAlbumID": 1, "SubCategoryID": 2, "AlbumID": 3, "IsDeleted": true, "UserID": "sample string 5", "CreatedDate": "2019-02-18T19:16:55.858495+00:00", "ModifiedDate": "2019-02-18T19:16:55.858495+00:00", "PositionNo": 7, "Album": { "$ref": "5" }, "SubCategory": { "$ref": "17" } }, { "$ref": "19" } ] } }, { "$ref": "17" } ] }, "JalsoScreens": { "$id": "20", "$values": [ { "$id": "21", "JalsoScreenID": 1, "ScreenType": "sample string 2", "ScreenName": "sample string 3", "MediaImageID": 4, "PositionNo": 5, "IsDeleted": true, "CreatedUserID": "sample string 7", "CreatedDate": "2019-02-18T19:16:55.858495+00:00", "ModifiedUserID": "sample string 9", "ModifiedDate": "2019-02-18T19:16:55.858495+00:00", "MediaImage": { "$ref": "6" } }, { "$ref": "21" } ] }, "SectionItems": { "$id": "22", "$values": [ { "$id": "23", "SectionItemID": 1, "SectionID": 1, "Title": "sample string 2", "Itemtype": 1, "image": "sample string 3", "CreatedDate": "2019-02-18T19:16:55.858495+00:00", "ModifiedDate": "2019-02-18T19:16:55.858495+00:00", "UserID": 1, "IsDeleted": true, "Subtitle": "sample string 4", "MediaImageID": 1, "idofitem": 1, "PositionNo": 1, "URL": "sample string 5", "IsShowHome": true, "BackgroundMediaImageID": 1, "MediaImage": { "$ref": "6" }, "Section": { "$id": "24", "SectionId": 1, "Name": "sample string 2", "PositionNo": 1, "IsDeleted": true, "CreatedDate": "2019-02-18T19:16:55.858495+00:00", "ModifiedDate": "2019-02-18T19:16:55.858495+00:00", "UserID": 1, "SectionItems": { "$id": "25", "$values": [ { "$ref": "23" }, { "$ref": "23" } ] } }, "MediaImage1": { "$ref": "6" } }, { "$ref": "23" } ] }, "TreasureAlbums": { "$id": "26", "$values": [ { "$id": "27", "TreasureAlbumId": 1, "AlbumId": 1, "Title": "sample string 2", "MediaImageID": 1, "IsDeleted": true, "UserID": 1, "CreatedDate": "2019-02-18T19:16:55.858495+00:00", "ModifiedDate": "2019-02-18T19:16:55.858495+00:00", "RedirectURL": "sample string 3", "Isactive": true, "TreasureID": 1, "Starttime": "2019-02-18T19:16:55.858495+00:00", "Endtime": "2019-02-18T19:16:55.858495+00:00", "IsLIVE": true, "Album": { "$ref": "5" }, "MediaImage": { "$ref": "6" }, "Treasure": { "$id": "28", "TreasureId": 1, "Title": "sample string 2", "Starttime": "2019-02-18T19:16:55.858495+00:00", "Endtime": "2019-02-18T19:16:55.858495+00:00", "IsDeleted": true, "UserID": 1, "CreatedDate": "2019-02-18T19:16:55.858495+00:00", "ModifiedDate": "2019-02-18T19:16:55.858495+00:00", "Isactive": true, "IsLIVE": true, "TreasureAlbums": { "$id": "29", "$values": [ { "$ref": "27" }, { "$ref": "27" } ] } }, "TreasureHistories": { "$id": "30", "$values": [ { "$id": "31", "Id": 1, "TreasureAlbumId": 1, "UserID": "sample string 2", "CreatedDate": "2019-02-18T19:16:55.858495+00:00", "TreasureAlbum": { "$ref": "27" } }, { "$ref": "31" } ] } }, { "$ref": "27" } ] }, "SectionItems1": { "$id": "32", "$values": [ { "$ref": "23" }, { "$ref": "23" } ] } }, "AlbumSongs": { "$id": "33", "$values": [ { "$ref": "4" }, { "$ref": "4" } ] }, "CategoryAlbums": { "$id": "34", "$values": [ { "$ref": "15" }, { "$ref": "15" } ] }, "SubCategoryAlbums": { "$id": "35", "$values": [ { "$ref": "19" }, { "$ref": "19" } ] }, "AlbumRatings": { "$id": "36", "$values": [ { "$id": "37", "AlbumRatingID": 1, "AlbumID": 2, "UserID": "sample string 3", "rate": 4, "CreatedDate": "2019-02-18T19:16:55.858495+00:00", "ModifiedDate": "2019-02-18T19:16:55.858495+00:00", "Album": { "$ref": "5" } }, { "$ref": "37" } ] }, "TreasureAlbums": { "$id": "38", "$values": [ { "$ref": "27" }, { "$ref": "27" } ] } }, "Song": { "$ref": "2" } }, { "$ref": "4" } ] }, "MediaSound": { "$id": "39", "MediaSoundID": 1, "SoundFileName": "sample string 2", "IsDeleted": true, "UserID": 4, "CreatedDate": "2019-02-18T19:16:55.858495+00:00", "ModifiedDate": "2019-02-18T19:16:55.858495+00:00", "Songs": { "$id": "40", "$values": [ { "$ref": "2" }, { "$ref": "2" } ] } }, "SongArtists": { "$id": "41", "$values": [ { "$ref": "11" }, { "$ref": "11" } ] }, "SongInFavorites": { "$id": "42", "$values": [ { "$ref": "1" }, { "$ref": "1" } ] }, "WeeklyTopSongs": { "$id": "43", "$values": [ { "$id": "44", "WeeklyTopSongID": 1, "SongID": 2, "PositionNo": 3, "UpdatedUserID": "sample string 4", "UpdatedDate": "2019-02-18T19:16:55.858495+00:00", "Song": { "$ref": "2" } }, { "$ref": "44" } ] } } }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SongInFavoriteName | Description | Type | Additional information |
---|---|---|---|
SongInFavoriteId | integer |
None. |
|
UserId | string |
None. |
|
SongId | integer |
None. |
|
CreatedDate | date |
None. |
|
ModifiedDate | date |
None. |
|
IsDeleted | boolean |
None. |
|
Song | Song |
None. |
Response Formats
application/json, text/json
Sample:
{ "SongInFavoriteId": 1, "UserId": "sample string 2", "SongId": 3, "CreatedDate": "2019-02-18T19:16:56.0147941+00:00", "ModifiedDate": "2019-02-18T19:16:55.9991688+00:00", "IsDeleted": true, "Song": { "$id": "2", "SongID": 1, "SongTitle": "sample string 2", "Duration": "sample string 3", "SongType": "sample string 4", "Lyrics": "sample string 5", "Details": "sample string 6", "MediaSoundID": 7, "IsDeleted": true, "UserID": 9, "CreatedDate": "2019-02-18T19:16:56.0147941+00:00", "ModifiedDate": "2019-02-18T19:16:56.0147941+00:00", "AlbumSongs": { "$id": "3", "$values": [ { "$id": "4", "AlbumSongID": 1, "AlbumID": 2, "SongID": 3, "IsDeleted": true, "UserID": 5, "CreatedDate": "2019-02-18T19:16:56.0147941+00:00", "ModifiedDate": "2019-02-18T19:16:56.0147941+00:00", "PositionNo": 7, "Album": { "$id": "5", "AlbumID": 1, "AlbumName": "sample string 2", "AlbumType": "sample string 3", "MediaImageID": 4, "ReleaseDate": "2019-02-18T19:16:56.0147941+00:00", "IsDeleted": true, "UserID": 6, "CreatedDate": "2019-02-18T19:16:56.0147941+00:00", "ModifiedDate": "2019-02-18T19:16:56.0147941+00:00", "subtitle": "sample string 8", "Listencount": 1, "downloadable": true, "MediaImage": { "$id": "6", "MediaImageID": 1, "ImageFileName": "sample string 2", "IsDeleted": true, "UserID": 4, "CreatedDate": "2019-02-18T19:16:56.0147941+00:00", "ModifiedDate": "2019-02-18T19:16:56.0147941+00:00", "Albums": { "$id": "7", "$values": [ { "$ref": "5" }, { "$ref": "5" } ] }, "Artists": { "$id": "8", "$values": [ { "$id": "9", "ArtistID": 1, "ArtistName": "sample string 2", "MediaImageID": 3, "Biography": "sample string 4", "IsDeleted": true, "UserID": 6, "CreatedDate": "2019-02-18T19:16:56.0147941+00:00", "ModifiedDate": "2019-02-18T19:16:56.0147941+00:00", "MediaImage": { "$ref": "6" }, "SongArtists": { "$id": "10", "$values": [ { "$id": "11", "SongArtistID": 1, "SongID": 2, "ArtistID": 3, "ArtistType": "sample string 4", "IsDeleted": true, "UserID": 6, "CreatedDate": "2019-02-18T19:16:56.0147941+00:00", "ModifiedDate": "2019-02-18T19:16:56.0147941+00:00", "Artist": { "$ref": "9" }, "Song": { "$ref": "2" } }, { "$ref": "11" } ] } }, { "$ref": "9" } ] }, "Categories": { "$id": "12", "$values": [ { "$id": "13", "CategoryID": 1, "CategoryName": "sample string 2", "MediaImageID": 1, "IsDeleted": true, "UserID": 1, "CreatedDate": "2019-02-18T19:16:56.0147941+00:00", "ModifiedDate": "2019-02-18T19:16:56.0147941+00:00", "RootCategoryID": 1, "subtitle": "sample string 3", "MediaImage": { "$ref": "6" }, "CategoryAlbums": { "$id": "14", "$values": [ { "$id": "15", "CategoryAlbumID": 1, "CategoryID": 2, "AlbumID": 3, "IsDeleted": true, "UserID": 5, "CreatedDate": "2019-02-18T19:16:56.0147941+00:00", "ModifiedDate": "2019-02-18T19:16:56.0147941+00:00", "PositionNo": 7, "Album": { "$ref": "5" }, "Category": { "$ref": "13" } }, { "$ref": "15" } ] } }, { "$ref": "13" } ] }, "SubCategories": { "$id": "16", "$values": [ { "$id": "17", "SubCategoryID": 1, "SubCategoryName": "sample string 2", "MediaImageID": 3, "IsDeleted": true, "UserID": 5, "CreatedDate": "2019-02-18T19:16:56.0147941+00:00", "ModifiedDate": "2019-02-18T19:16:56.0147941+00:00", "CategoryID": 7, "ParentSubCategoryID": 8, "PositionNo": 9, "subtitle": "sample string 10", "MediaImage": { "$ref": "6" }, "SubCategoryAlbums": { "$id": "18", "$values": [ { "$id": "19", "SubCategoryAlbumID": 1, "SubCategoryID": 2, "AlbumID": 3, "IsDeleted": true, "UserID": "sample string 5", "CreatedDate": "2019-02-18T19:16:56.0147941+00:00", "ModifiedDate": "2019-02-18T19:16:56.0147941+00:00", "PositionNo": 7, "Album": { "$ref": "5" }, "SubCategory": { "$ref": "17" } }, { "$ref": "19" } ] } }, { "$ref": "17" } ] }, "JalsoScreens": { "$id": "20", "$values": [ { "$id": "21", "JalsoScreenID": 1, "ScreenType": "sample string 2", "ScreenName": "sample string 3", "MediaImageID": 4, "PositionNo": 5, "IsDeleted": true, "CreatedUserID": "sample string 7", "CreatedDate": "2019-02-18T19:16:56.0147941+00:00", "ModifiedUserID": "sample string 9", "ModifiedDate": "2019-02-18T19:16:56.0147941+00:00", "MediaImage": { "$ref": "6" } }, { "$ref": "21" } ] }, "SectionItems": { "$id": "22", "$values": [ { "$id": "23", "SectionItemID": 1, "SectionID": 1, "Title": "sample string 2", "Itemtype": 1, "image": "sample string 3", "CreatedDate": "2019-02-18T19:16:56.0147941+00:00", "ModifiedDate": "2019-02-18T19:16:56.0147941+00:00", "UserID": 1, "IsDeleted": true, "Subtitle": "sample string 4", "MediaImageID": 1, "idofitem": 1, "PositionNo": 1, "URL": "sample string 5", "IsShowHome": true, "BackgroundMediaImageID": 1, "MediaImage": { "$ref": "6" }, "Section": { "$id": "24", "SectionId": 1, "Name": "sample string 2", "PositionNo": 1, "IsDeleted": true, "CreatedDate": "2019-02-18T19:16:56.0147941+00:00", "ModifiedDate": "2019-02-18T19:16:56.0147941+00:00", "UserID": 1, "SectionItems": { "$id": "25", "$values": [ { "$ref": "23" }, { "$ref": "23" } ] } }, "MediaImage1": { "$ref": "6" } }, { "$ref": "23" } ] }, "TreasureAlbums": { "$id": "26", "$values": [ { "$id": "27", "TreasureAlbumId": 1, "AlbumId": 1, "Title": "sample string 2", "MediaImageID": 1, "IsDeleted": true, "UserID": 1, "CreatedDate": "2019-02-18T19:16:56.0147941+00:00", "ModifiedDate": "2019-02-18T19:16:56.0147941+00:00", "RedirectURL": "sample string 3", "Isactive": true, "TreasureID": 1, "Starttime": "2019-02-18T19:16:56.0147941+00:00", "Endtime": "2019-02-18T19:16:56.0147941+00:00", "IsLIVE": true, "Album": { "$ref": "5" }, "MediaImage": { "$ref": "6" }, "Treasure": { "$id": "28", "TreasureId": 1, "Title": "sample string 2", "Starttime": "2019-02-18T19:16:56.0147941+00:00", "Endtime": "2019-02-18T19:16:56.0147941+00:00", "IsDeleted": true, "UserID": 1, "CreatedDate": "2019-02-18T19:16:56.0147941+00:00", "ModifiedDate": "2019-02-18T19:16:56.0147941+00:00", "Isactive": true, "IsLIVE": true, "TreasureAlbums": { "$id": "29", "$values": [ { "$ref": "27" }, { "$ref": "27" } ] } }, "TreasureHistories": { "$id": "30", "$values": [ { "$id": "31", "Id": 1, "TreasureAlbumId": 1, "UserID": "sample string 2", "CreatedDate": "2019-02-18T19:16:56.0147941+00:00", "TreasureAlbum": { "$ref": "27" } }, { "$ref": "31" } ] } }, { "$ref": "27" } ] }, "SectionItems1": { "$id": "32", "$values": [ { "$ref": "23" }, { "$ref": "23" } ] } }, "AlbumSongs": { "$id": "33", "$values": [ { "$ref": "4" }, { "$ref": "4" } ] }, "CategoryAlbums": { "$id": "34", "$values": [ { "$ref": "15" }, { "$ref": "15" } ] }, "SubCategoryAlbums": { "$id": "35", "$values": [ { "$ref": "19" }, { "$ref": "19" } ] }, "AlbumRatings": { "$id": "36", "$values": [ { "$id": "37", "AlbumRatingID": 1, "AlbumID": 2, "UserID": "sample string 3", "rate": 4, "CreatedDate": "2019-02-18T19:16:56.0147941+00:00", "ModifiedDate": "2019-02-18T19:16:56.0147941+00:00", "Album": { "$ref": "5" } }, { "$ref": "37" } ] }, "TreasureAlbums": { "$id": "38", "$values": [ { "$ref": "27" }, { "$ref": "27" } ] } }, "Song": { "$ref": "2" } }, { "$ref": "4" } ] }, "MediaSound": { "$id": "39", "MediaSoundID": 1, "SoundFileName": "sample string 2", "IsDeleted": true, "UserID": 4, "CreatedDate": "2019-02-18T19:16:56.0147941+00:00", "ModifiedDate": "2019-02-18T19:16:56.0147941+00:00", "Songs": { "$id": "40", "$values": [ { "$ref": "2" }, { "$ref": "2" } ] } }, "SongArtists": { "$id": "41", "$values": [ { "$ref": "11" }, { "$ref": "11" } ] }, "SongInFavorites": { "$id": "42", "$values": [ { "$ref": "1" }, { "$ref": "1" } ] }, "WeeklyTopSongs": { "$id": "43", "$values": [ { "$id": "44", "WeeklyTopSongID": 1, "SongID": 2, "PositionNo": 3, "UpdatedUserID": "sample string 4", "UpdatedDate": "2019-02-18T19:16:56.0147941+00:00", "Song": { "$ref": "2" } }, { "$ref": "44" } ] } } }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.