DELETE api/Songs/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Song
NameDescriptionTypeAdditional information
SongID

integer

None.

SongTitle

string

None.

Duration

string

None.

SongType

string

None.

Lyrics

string

None.

Details

string

None.

MediaSoundID

integer

None.

IsDeleted

boolean

None.

UserID

integer

None.

CreatedDate

date

None.

ModifiedDate

date

None.

AlbumSongs

Collection of AlbumSong

None.

MediaSound

MediaSound

None.

SongArtists

Collection of SongArtist

None.

SongInFavorites

Collection of SongInFavorite

None.

WeeklyTopSongs

Collection of WeeklyTopSong

None.

Response Formats

application/json, text/json

Sample:
{
  "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": "2018-05-09T22:50:17.0672353+00:00",
  "ModifiedDate": "2018-05-09T22:50:17.0672353+00:00",
  "AlbumSongs": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "AlbumSongID": 1,
        "AlbumID": 2,
        "SongID": 3,
        "IsDeleted": true,
        "UserID": 5,
        "CreatedDate": "2018-05-09T22:50:17.0672353+00:00",
        "ModifiedDate": "2018-05-09T22:50:17.0672353+00:00",
        "PositionNo": 7,
        "Album": {
          "$id": "4",
          "AlbumID": 1,
          "AlbumName": "sample string 2",
          "AlbumType": "sample string 3",
          "MediaImageID": 4,
          "ReleaseDate": "2018-05-09T22:50:17.0672353+00:00",
          "IsDeleted": true,
          "UserID": 6,
          "CreatedDate": "2018-05-09T22:50:17.0672353+00:00",
          "ModifiedDate": "2018-05-09T22:50:17.0672353+00:00",
          "subtitle": "sample string 8",
          "MediaImage": {
            "$id": "5",
            "MediaImageID": 1,
            "ImageFileName": "sample string 2",
            "IsDeleted": true,
            "UserID": 4,
            "CreatedDate": "2018-05-09T22:50:17.0672353+00:00",
            "ModifiedDate": "2018-05-09T22:50:17.0672353+00:00",
            "Albums": {
              "$id": "6",
              "$values": [
                {
                  "$ref": "4"
                },
                {
                  "$ref": "4"
                }
              ]
            },
            "Artists": {
              "$id": "7",
              "$values": [
                {
                  "$id": "8",
                  "ArtistID": 1,
                  "ArtistName": "sample string 2",
                  "MediaImageID": 3,
                  "Biography": "sample string 4",
                  "IsDeleted": true,
                  "UserID": 6,
                  "CreatedDate": "2018-05-09T22:50:17.0672353+00:00",
                  "ModifiedDate": "2018-05-09T22:50:17.0672353+00:00",
                  "MediaImage": {
                    "$ref": "5"
                  },
                  "SongArtists": {
                    "$id": "9",
                    "$values": [
                      {
                        "$id": "10",
                        "SongArtistID": 1,
                        "SongID": 2,
                        "ArtistID": 3,
                        "ArtistType": "sample string 4",
                        "IsDeleted": true,
                        "UserID": 6,
                        "CreatedDate": "2018-05-09T22:50:17.0672353+00:00",
                        "ModifiedDate": "2018-05-09T22:50:17.0672353+00:00",
                        "Artist": {
                          "$ref": "8"
                        },
                        "Song": {
                          "$ref": "1"
                        }
                      },
                      {
                        "$ref": "10"
                      }
                    ]
                  }
                },
                {
                  "$ref": "8"
                }
              ]
            },
            "Categories": {
              "$id": "11",
              "$values": [
                {
                  "$id": "12",
                  "CategoryID": 1,
                  "CategoryName": "sample string 2",
                  "MediaImageID": 1,
                  "IsDeleted": true,
                  "UserID": 1,
                  "CreatedDate": "2018-05-09T22:50:17.0672353+00:00",
                  "ModifiedDate": "2018-05-09T22:50:17.0672353+00:00",
                  "RootCategoryID": 1,
                  "subtitle": "sample string 3",
                  "MediaImage": {
                    "$ref": "5"
                  },
                  "CategoryAlbums": {
                    "$id": "13",
                    "$values": [
                      {
                        "$id": "14",
                        "CategoryAlbumID": 1,
                        "CategoryID": 2,
                        "AlbumID": 3,
                        "IsDeleted": true,
                        "UserID": 5,
                        "CreatedDate": "2018-05-09T22:50:17.0672353+00:00",
                        "ModifiedDate": "2018-05-09T22:50:17.0672353+00:00",
                        "PositionNo": 7,
                        "Album": {
                          "$ref": "4"
                        },
                        "Category": {
                          "$ref": "12"
                        }
                      },
                      {
                        "$ref": "14"
                      }
                    ]
                  }
                },
                {
                  "$ref": "12"
                }
              ]
            },
            "SubCategories": {
              "$id": "15",
              "$values": [
                {
                  "$id": "16",
                  "SubCategoryID": 1,
                  "SubCategoryName": "sample string 2",
                  "MediaImageID": 3,
                  "IsDeleted": true,
                  "UserID": 5,
                  "CreatedDate": "2018-05-09T22:50:17.0672353+00:00",
                  "ModifiedDate": "2018-05-09T22:50:17.0672353+00:00",
                  "CategoryID": 7,
                  "ParentSubCategoryID": 8,
                  "PositionNo": 9,
                  "subtitle": "sample string 10",
                  "MediaImage": {
                    "$ref": "5"
                  },
                  "SubCategoryAlbums": {
                    "$id": "17",
                    "$values": [
                      {
                        "$id": "18",
                        "SubCategoryAlbumID": 1,
                        "SubCategoryID": 2,
                        "AlbumID": 3,
                        "IsDeleted": true,
                        "UserID": "sample string 5",
                        "CreatedDate": "2018-05-09T22:50:17.0672353+00:00",
                        "ModifiedDate": "2018-05-09T22:50:17.0672353+00:00",
                        "PositionNo": 7,
                        "Album": {
                          "$ref": "4"
                        },
                        "SubCategory": {
                          "$ref": "16"
                        }
                      },
                      {
                        "$ref": "18"
                      }
                    ]
                  }
                },
                {
                  "$ref": "16"
                }
              ]
            },
            "JalsoScreens": {
              "$id": "19",
              "$values": [
                {
                  "$id": "20",
                  "JalsoScreenID": 1,
                  "ScreenType": "sample string 2",
                  "ScreenName": "sample string 3",
                  "MediaImageID": 4,
                  "PositionNo": 5,
                  "IsDeleted": true,
                  "CreatedUserID": "sample string 7",
                  "CreatedDate": "2018-05-09T22:50:17.0672353+00:00",
                  "ModifiedUserID": "sample string 9",
                  "ModifiedDate": "2018-05-09T22:50:17.0672353+00:00",
                  "MediaImage": {
                    "$ref": "5"
                  }
                },
                {
                  "$ref": "20"
                }
              ]
            },
            "SectionItems": {
              "$id": "21",
              "$values": [
                {
                  "$id": "22",
                  "SectionItemID": 1,
                  "SectionID": 1,
                  "Title": "sample string 2",
                  "Itemtype": 1,
                  "image": "sample string 3",
                  "CreatedDate": "2018-05-09T22:50:17.0672353+00:00",
                  "ModifiedDate": "2018-05-09T22:50:17.0672353+00:00",
                  "UserID": 1,
                  "IsDeleted": true,
                  "Subtitle": "sample string 4",
                  "MediaImageID": 1,
                  "idofitem": 1,
                  "PositionNo": 1,
                  "URL": "sample string 5",
                  "MediaImage": {
                    "$ref": "5"
                  },
                  "Section": {
                    "$id": "23",
                    "SectionId": 1,
                    "Name": "sample string 2",
                    "PositionNo": 1,
                    "IsDeleted": true,
                    "CreatedDate": "2018-05-09T22:50:17.0672353+00:00",
                    "ModifiedDate": "2018-05-09T22:50:17.0672353+00:00",
                    "UserID": 1,
                    "SectionItems": {
                      "$id": "24",
                      "$values": [
                        {
                          "$ref": "22"
                        },
                        {
                          "$ref": "22"
                        }
                      ]
                    }
                  }
                },
                {
                  "$ref": "22"
                }
              ]
            },
            "TreasureAlbums": {
              "$id": "25",
              "$values": [
                {
                  "$id": "26",
                  "TreasureAlbumId": 1,
                  "AlbumId": 1,
                  "Title": "sample string 2",
                  "MediaImageID": 1,
                  "IsDeleted": true,
                  "UserID": 1,
                  "CreatedDate": "2018-05-09T22:50:17.0672353+00:00",
                  "ModifiedDate": "2018-05-09T22:50:17.0672353+00:00",
                  "RedirectURL": "sample string 3",
                  "Isactive": true,
                  "TreasureID": 1,
                  "Album": {
                    "$ref": "4"
                  },
                  "MediaImage": {
                    "$ref": "5"
                  },
                  "Treasure": {
                    "$id": "27",
                    "TreasureId": 1,
                    "Title": "sample string 2",
                    "Starttime": "2018-05-09T22:50:17.0672353+00:00",
                    "Endtime": "2018-05-09T22:50:17.0672353+00:00",
                    "IsDeleted": true,
                    "UserID": 1,
                    "CreatedDate": "2018-05-09T22:50:17.0672353+00:00",
                    "ModifiedDate": "2018-05-09T22:50:17.0672353+00:00",
                    "Isactive": true,
                    "IsLIVE": true,
                    "TreasureAlbums": {
                      "$id": "28",
                      "$values": [
                        {
                          "$ref": "26"
                        },
                        {
                          "$ref": "26"
                        }
                      ]
                    }
                  },
                  "TreasureHistories": {
                    "$id": "29",
                    "$values": [
                      {
                        "$id": "30",
                        "Id": 1,
                        "TreasureAlbumId": 1,
                        "UserID": "sample string 2",
                        "CreatedDate": "2018-05-09T22:50:17.0672353+00:00",
                        "TreasureAlbum": {
                          "$ref": "26"
                        }
                      },
                      {
                        "$ref": "30"
                      }
                    ]
                  }
                },
                {
                  "$ref": "26"
                }
              ]
            }
          },
          "AlbumSongs": {
            "$id": "31",
            "$values": [
              {
                "$ref": "3"
              },
              {
                "$ref": "3"
              }
            ]
          },
          "CategoryAlbums": {
            "$id": "32",
            "$values": [
              {
                "$ref": "14"
              },
              {
                "$ref": "14"
              }
            ]
          },
          "SubCategoryAlbums": {
            "$id": "33",
            "$values": [
              {
                "$ref": "18"
              },
              {
                "$ref": "18"
              }
            ]
          },
          "AlbumRatings": {
            "$id": "34",
            "$values": [
              {
                "$id": "35",
                "AlbumRatingID": 1,
                "AlbumID": 2,
                "UserID": "sample string 3",
                "rate": 4,
                "CreatedDate": "2018-05-09T22:50:17.0672353+00:00",
                "ModifiedDate": "2018-05-09T22:50:17.0672353+00:00",
                "Album": {
                  "$ref": "4"
                }
              },
              {
                "$ref": "35"
              }
            ]
          },
          "TreasureAlbums": {
            "$id": "36",
            "$values": [
              {
                "$ref": "26"
              },
              {
                "$ref": "26"
              }
            ]
          }
        },
        "Song": {
          "$ref": "1"
        }
      },
      {
        "$ref": "3"
      }
    ]
  },
  "MediaSound": {
    "$id": "37",
    "MediaSoundID": 1,
    "SoundFileName": "sample string 2",
    "IsDeleted": true,
    "UserID": 4,
    "CreatedDate": "2018-05-09T22:50:17.0672353+00:00",
    "ModifiedDate": "2018-05-09T22:50:17.0672353+00:00",
    "Songs": {
      "$id": "38",
      "$values": [
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        }
      ]
    }
  },
  "SongArtists": {
    "$id": "39",
    "$values": [
      {
        "$ref": "10"
      },
      {
        "$ref": "10"
      }
    ]
  },
  "SongInFavorites": {
    "$id": "40",
    "$values": [
      {
        "$id": "41",
        "SongInFavoriteId": 1,
        "UserId": "sample string 2",
        "SongId": 3,
        "CreatedDate": "2018-05-09T22:50:17.0672353+00:00",
        "ModifiedDate": "2018-05-09T22:50:17.0672353+00:00",
        "IsDeleted": true,
        "Song": {
          "$ref": "1"
        }
      },
      {
        "$ref": "41"
      }
    ]
  },
  "WeeklyTopSongs": {
    "$id": "42",
    "$values": [
      {
        "$id": "43",
        "WeeklyTopSongID": 1,
        "SongID": 2,
        "PositionNo": 3,
        "UpdatedUserID": "sample string 4",
        "UpdatedDate": "2018-05-09T22:50:17.0672353+00:00",
        "Song": {
          "$ref": "1"
        }
      },
      {
        "$ref": "43"
      }
    ]
  }
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.