POST api/SleepUser/CollectMusics

获取用户收藏列表

Request Information

URI Parameters

None.

Body Parameters

GetUserMedalsReq
NameDescriptionTypeAdditional information
uid

string

None.

pid

integer

None.

version

string

None.

imei

string

None.

system

string

None.

token

string

None.

language

string

None.

timeZone

string

None.

Request Formats

application/json, text/json

Sample:
{
  "uid": "sample string 1",
  "pid": 2,
  "version": "sample string 3",
  "imei": "sample string 4",
  "system": "sample string 5",
  "token": "sample string 6",
  "language": "sample string 7",
  "timeZone": "sample string 8"
}

application/xml, text/xml

Sample:
<GetUserMedalsReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Controllers">
  <imei xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 4</imei>
  <language xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 7</language>
  <pid xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">2</pid>
  <system xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 5</system>
  <timeZone xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 8</timeZone>
  <token xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 6</token>
  <version xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 3</version>
  <uid>sample string 1</uid>
</GetUserMedalsReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CollectMusicsRes
NameDescriptionTypeAdditional information
albums

Collection of Album

None.

State

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "albums": [
    {
      "isList": 1,
      "name": "sample string 2",
      "author": "sample string 3",
      "desctription": "sample string 4",
      "coverImg": "sample string 5",
      "loadingColor": "sample string 6",
      "createTime": "sample string 7",
      "style": 8,
      "musics": [
        {
          "id": 1,
          "name": "sample string 2",
          "author": "sample string 3",
          "desctription": "sample string 4",
          "reader": "sample string 5",
          "composer": "sample string 6",
          "coverImg": "sample string 7",
          "loadingColor": "sample string 8",
          "createTime": "sample string 9",
          "duration": 10,
          "isCollect": 11,
          "musicUrl": "sample string 12",
          "backgroundImg": "sample string 13",
          "isFree": 14,
          "moduleId": 15
        },
        {
          "id": 1,
          "name": "sample string 2",
          "author": "sample string 3",
          "desctription": "sample string 4",
          "reader": "sample string 5",
          "composer": "sample string 6",
          "coverImg": "sample string 7",
          "loadingColor": "sample string 8",
          "createTime": "sample string 9",
          "duration": 10,
          "isCollect": 11,
          "musicUrl": "sample string 12",
          "backgroundImg": "sample string 13",
          "isFree": 14,
          "moduleId": 15
        }
      ],
      "moduleId": 9,
      "type": 10,
      "isNew": 11,
      "isFree": 12,
      "duration": 13,
      "sortTime": "2020-07-13T13:34:40.9214919+08:00"
    },
    {
      "isList": 1,
      "name": "sample string 2",
      "author": "sample string 3",
      "desctription": "sample string 4",
      "coverImg": "sample string 5",
      "loadingColor": "sample string 6",
      "createTime": "sample string 7",
      "style": 8,
      "musics": [
        {
          "id": 1,
          "name": "sample string 2",
          "author": "sample string 3",
          "desctription": "sample string 4",
          "reader": "sample string 5",
          "composer": "sample string 6",
          "coverImg": "sample string 7",
          "loadingColor": "sample string 8",
          "createTime": "sample string 9",
          "duration": 10,
          "isCollect": 11,
          "musicUrl": "sample string 12",
          "backgroundImg": "sample string 13",
          "isFree": 14,
          "moduleId": 15
        },
        {
          "id": 1,
          "name": "sample string 2",
          "author": "sample string 3",
          "desctription": "sample string 4",
          "reader": "sample string 5",
          "composer": "sample string 6",
          "coverImg": "sample string 7",
          "loadingColor": "sample string 8",
          "createTime": "sample string 9",
          "duration": 10,
          "isCollect": 11,
          "musicUrl": "sample string 12",
          "backgroundImg": "sample string 13",
          "isFree": 14,
          "moduleId": 15
        }
      ],
      "moduleId": 9,
      "type": 10,
      "isNew": 11,
      "isFree": 12,
      "duration": 13,
      "sortTime": "2020-07-13T13:34:40.9214919+08:00"
    }
  ],
  "State": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<CollectMusicsRes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Controllers">
  <Message xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 2</Message>
  <State xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">1</State>
  <albums>
    <Album>
      <author>sample string 3</author>
      <coverImg>sample string 5</coverImg>
      <createTime>sample string 7</createTime>
      <desctription>sample string 4</desctription>
      <duration>13</duration>
      <isFree>12</isFree>
      <isList>1</isList>
      <isNew>11</isNew>
      <loadingColor>sample string 6</loadingColor>
      <moduleId>9</moduleId>
      <musics>
        <Music>
          <author>sample string 3</author>
          <backgroundImg>sample string 13</backgroundImg>
          <composer>sample string 6</composer>
          <coverImg>sample string 7</coverImg>
          <createTime>sample string 9</createTime>
          <desctription>sample string 4</desctription>
          <duration>10</duration>
          <id>1</id>
          <isCollect>11</isCollect>
          <isFree>14</isFree>
          <loadingColor>sample string 8</loadingColor>
          <moduleId>15</moduleId>
          <musicUrl>sample string 12</musicUrl>
          <name>sample string 2</name>
          <reader>sample string 5</reader>
        </Music>
        <Music>
          <author>sample string 3</author>
          <backgroundImg>sample string 13</backgroundImg>
          <composer>sample string 6</composer>
          <coverImg>sample string 7</coverImg>
          <createTime>sample string 9</createTime>
          <desctription>sample string 4</desctription>
          <duration>10</duration>
          <id>1</id>
          <isCollect>11</isCollect>
          <isFree>14</isFree>
          <loadingColor>sample string 8</loadingColor>
          <moduleId>15</moduleId>
          <musicUrl>sample string 12</musicUrl>
          <name>sample string 2</name>
          <reader>sample string 5</reader>
        </Music>
      </musics>
      <name>sample string 2</name>
      <sortTime>2020-07-13T13:34:40.9214919+08:00</sortTime>
      <style>8</style>
      <type>10</type>
    </Album>
    <Album>
      <author>sample string 3</author>
      <coverImg>sample string 5</coverImg>
      <createTime>sample string 7</createTime>
      <desctription>sample string 4</desctription>
      <duration>13</duration>
      <isFree>12</isFree>
      <isList>1</isList>
      <isNew>11</isNew>
      <loadingColor>sample string 6</loadingColor>
      <moduleId>9</moduleId>
      <musics>
        <Music>
          <author>sample string 3</author>
          <backgroundImg>sample string 13</backgroundImg>
          <composer>sample string 6</composer>
          <coverImg>sample string 7</coverImg>
          <createTime>sample string 9</createTime>
          <desctription>sample string 4</desctription>
          <duration>10</duration>
          <id>1</id>
          <isCollect>11</isCollect>
          <isFree>14</isFree>
          <loadingColor>sample string 8</loadingColor>
          <moduleId>15</moduleId>
          <musicUrl>sample string 12</musicUrl>
          <name>sample string 2</name>
          <reader>sample string 5</reader>
        </Music>
        <Music>
          <author>sample string 3</author>
          <backgroundImg>sample string 13</backgroundImg>
          <composer>sample string 6</composer>
          <coverImg>sample string 7</coverImg>
          <createTime>sample string 9</createTime>
          <desctription>sample string 4</desctription>
          <duration>10</duration>
          <id>1</id>
          <isCollect>11</isCollect>
          <isFree>14</isFree>
          <loadingColor>sample string 8</loadingColor>
          <moduleId>15</moduleId>
          <musicUrl>sample string 12</musicUrl>
          <name>sample string 2</name>
          <reader>sample string 5</reader>
        </Music>
      </musics>
      <name>sample string 2</name>
      <sortTime>2020-07-13T13:34:40.9214919+08:00</sortTime>
      <style>8</style>
      <type>10</type>
    </Album>
  </albums>
</CollectMusicsRes>