PUT api/MediaImages/PutMediaImage/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

MediaImage
NameDescriptionTypeAdditional information
MediaImageID

integer

None.

ImageFileName

string

None.

IsDeleted

boolean

None.

UserID

integer

None.

CreatedDate

date

None.

ModifiedDate

date

None.

Albums

Collection of Album

None.

Artists

Collection of Artist

None.

Categories

Collection of Category

None.

SubCategories

Collection of SubCategory

None.

JalsoScreens

Collection of JalsoScreen

None.

SectionItems

Collection of SectionItem

None.

TreasureAlbums

Collection of TreasureAlbum

None.

Request Formats

application/json, text/json

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

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.