PUT api/MediaSounds/PutMediaSound/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

MediaSound
NameDescriptionTypeAdditional information
MediaSoundID

integer

None.

SoundFileName

string

None.

IsDeleted

boolean

None.

UserID

integer

None.

CreatedDate

date

None.

ModifiedDate

date

None.

Songs

Collection of Song

None.

Request Formats

application/json, text/json

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

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.