POST api/v2/Users/UpdateMusicSource

Request Information

URI Parameters

None.

Body Parameters

InputUpdateMusicSource
NameDescriptionTypeAdditional information
UserID

integer

Required

MusicSource

Collection of myMusicsource

Required

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "MusicSource": [
    {
      "MSourceID": 1,
      "Source": "sample string 2",
      "DeviceType": 0
    },
    {
      "MSourceID": 1,
      "Source": "sample string 2",
      "DeviceType": 0
    }
  ]
}

application/xml, text/xml

Sample:
<InputUpdateMusicSource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Musika.Models.API.Input">
  <MusicSource>
    <myMusicsource>
      <DeviceType>IOS</DeviceType>
      <MSourceID>1</MSourceID>
      <Source>sample string 2</Source>
    </myMusicsource>
    <myMusicsource>
      <DeviceType>IOS</DeviceType>
      <MSourceID>1</MSourceID>
      <Source>sample string 2</Source>
    </myMusicsource>
  </MusicSource>
  <UserID>1</UserID>
</InputUpdateMusicSource>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.