POST api/Artists/ScanAllUserLibrary

Request Information

URI Parameters

None.

Body Parameters

InputAllUserSanning
NameDescriptionTypeAdditional information
UserID

integer

Required

AllMusicSource

Collection of allMusicSource

Required

DeviceType

string

Required

ArtistNames

Collection of allArtistName

Required

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "AllMusicSource": [
    {
      "MSourceID": 1,
      "MSourceName": "sample string 2"
    },
    {
      "MSourceID": 1,
      "MSourceName": "sample string 2"
    }
  ],
  "DeviceType": "sample string 2",
  "ArtistNames": [
    {
      "Name": "sample string 1"
    },
    {
      "Name": "sample string 1"
    }
  ]
}

application/xml, text/xml

Sample:
<InputAllUserSanning xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Musika.Models.API.Input">
  <AllMusicSource>
    <allMusicSource>
      <MSourceID>1</MSourceID>
      <MSourceName>sample string 2</MSourceName>
    </allMusicSource>
    <allMusicSource>
      <MSourceID>1</MSourceID>
      <MSourceName>sample string 2</MSourceName>
    </allMusicSource>
  </AllMusicSource>
  <ArtistNames>
    <allArtistName>
      <Name>sample string 1</Name>
    </allArtistName>
    <allArtistName>
      <Name>sample string 1</Name>
    </allArtistName>
  </ArtistNames>
  <DeviceType>sample string 2</DeviceType>
  <UserID>1</UserID>
</InputAllUserSanning>

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.