POST api/Sleep/UserSumInfo

获取用户历史记录(睡眠精灵)

Request Information

URI Parameters

None.

Body Parameters

UserSumInfoReq
NameDescriptionTypeAdditional information
uid

string

None.

secret

同之前的,产品id为97

string

None.

page

integer

None.

count

integer

None.

pid

integer

None.

version

string

None.

language

zn-ch中文,en英文

string

None.

system

string

None.

token

string

None.

timeZone

string

None.

Request Formats

application/json, text/json

Sample:
{
  "uid": "sample string 1",
  "secret": "sample string 2",
  "page": 3,
  "count": 4,
  "pid": 5,
  "version": "sample string 6",
  "language": "sample string 7",
  "system": "sample string 8",
  "token": "sample string 9",
  "timeZone": "sample string 10"
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UserSumInfoRes
NameDescriptionTypeAdditional information
allDayCount

总的坚持天数

integer

None.

continueLearnDays

连续学习天数

integer

None.

allLearnCount

总学习课程

integer

None.

allLearnTime

总学习时间

integer

None.

collectList

收藏列表

Collection of Album

None.

historyList

浏览记录

Collection of Album

None.

activeDays

用户活跃日期

Collection of string

None.

State

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "allDayCount": 1,
  "continueLearnDays": 2,
  "allLearnCount": 3,
  "allLearnTime": 4,
  "collectList": [
    {
      "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-09-22T19:04:39.431918+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-09-22T19:04:39.431918+08:00"
    }
  ],
  "historyList": [
    {
      "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-09-22T19:04:39.431918+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-09-22T19:04:39.431918+08:00"
    }
  ],
  "activeDays": [
    "sample string 1",
    "sample string 2"
  ],
  "State": 5,
  "Message": "sample string 6"
}

application/xml, text/xml

Sample:
<UserSumInfoRes 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 6</Message>
  <State xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">5</State>
  <activeDays xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </activeDays>
  <allDayCount>1</allDayCount>
  <allLearnCount>3</allLearnCount>
  <allLearnTime>4</allLearnTime>
  <collectList>
    <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-09-22T19:04:39.431918+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-09-22T19:04:39.431918+08:00</sortTime>
      <style>8</style>
      <type>10</type>
    </Album>
  </collectList>
  <continueLearnDays>2</continueLearnDays>
  <historyList>
    <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-09-22T19:04:39.431918+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-09-22T19:04:39.431918+08:00</sortTime>
      <style>8</style>
      <type>10</type>
    </Album>
  </historyList>
</UserSumInfoRes>