PUT api/Albums/PutAlbum/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Album
NameDescriptionTypeAdditional information
AlbumID

integer

None.

AlbumName

string

None.

AlbumType

string

None.

MediaImageID

integer

None.

ReleaseDate

date

None.

IsDeleted

boolean

None.

UserID

integer

None.

CreatedDate

date

None.

ModifiedDate

date

None.

subtitle

string

None.

Listencount

integer

None.

MediaImage

MediaImage

None.

AlbumSongs

Collection of AlbumSong

None.

CategoryAlbums

Collection of CategoryAlbum

None.

SubCategoryAlbums

Collection of SubCategoryAlbum

None.

AlbumRatings

Collection of AlbumRating

None.

TreasureAlbums

Collection of TreasureAlbum

None.

Request Formats

application/json, text/json

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

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

None.