POST api/SleepUser/GetFollowUsers

获取用户关注列表或者粉丝列表

Request Information

URI Parameters

None.

Body Parameters

GetFollowUsersReq
NameDescriptionTypeAdditional information
uid

当前用户id

string

None.

getUid

获取信息的用户id

string

None.

type

为1获取关注列表,为2获取粉丝列表

integer

None.

count

integer

None.

page

integer

None.

maxTime

同获取用户动态接口,当page大于1时将返回值的minTime赋给此值

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",
  "getUid": "sample string 2",
  "type": 3,
  "count": 4,
  "page": 5,
  "maxTime": "sample string 6",
  "pid": 7,
  "version": "sample string 8",
  "imei": "sample string 9",
  "system": "sample string 10",
  "token": "sample string 11",
  "language": "sample string 12",
  "timeZone": "sample string 13"
}

application/xml, text/xml

Sample:
<GetFollowUsersReq 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 9</imei>
  <language xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 12</language>
  <pid xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">7</pid>
  <system xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 10</system>
  <timeZone xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 13</timeZone>
  <token xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 11</token>
  <version xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 8</version>
  <count>4</count>
  <getUid>sample string 2</getUid>
  <maxTime>sample string 6</maxTime>
  <page>5</page>
  <type>3</type>
  <uid>sample string 1</uid>
</GetFollowUsersReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetFollowUsersRes
NameDescriptionTypeAdditional information
users

Collection of GetFollowUserModel

None.

minTime

用于请求下一页时赋给maxTime

string

None.

followSum

关注或者粉丝的总数

integer

None.

Message

消息

string

None.

Status

状态,默认情况下,1为成功。0为失败。99为权限验证失败。

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "users": [
    {
      "uid": "sample string 1",
      "usercode": "sample string 2",
      "nickName": "sample string 3",
      "headUrl": "sample string 4",
      "isMutualConcern": 5,
      "isVip": 6,
      "medal": {
        "id": 1,
        "name": "sample string 2",
        "description": "sample string 3",
        "getImgUrl": "sample string 4",
        "noGetImgUrl": "sample string 5",
        "type": 6,
        "level": 7,
        "isGet": 8,
        "headUrl": "sample string 9"
      }
    },
    {
      "uid": "sample string 1",
      "usercode": "sample string 2",
      "nickName": "sample string 3",
      "headUrl": "sample string 4",
      "isMutualConcern": 5,
      "isVip": 6,
      "medal": {
        "id": 1,
        "name": "sample string 2",
        "description": "sample string 3",
        "getImgUrl": "sample string 4",
        "noGetImgUrl": "sample string 5",
        "type": 6,
        "level": 7,
        "isGet": 8,
        "headUrl": "sample string 9"
      }
    }
  ],
  "minTime": "sample string 1",
  "followSum": 2,
  "Message": "sample string 3",
  "Status": 4
}

application/xml, text/xml

Sample:
<GetFollowUsersRes 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 3</Message>
  <Status xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">4</Status>
  <followSum>2</followSum>
  <minTime>sample string 1</minTime>
  <users>
    <GetFollowUserModel>
      <headUrl>sample string 4</headUrl>
      <isMutualConcern>5</isMutualConcern>
      <isVip>6</isVip>
      <medal xmlns:d4p1="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Help">
        <d4p1:description>sample string 3</d4p1:description>
        <d4p1:getImgUrl>sample string 4</d4p1:getImgUrl>
        <d4p1:headUrl>sample string 9</d4p1:headUrl>
        <d4p1:id>1</d4p1:id>
        <d4p1:isGet>8</d4p1:isGet>
        <d4p1:level>7</d4p1:level>
        <d4p1:name>sample string 2</d4p1:name>
        <d4p1:noGetImgUrl>sample string 5</d4p1:noGetImgUrl>
        <d4p1:type>6</d4p1:type>
      </medal>
      <nickName>sample string 3</nickName>
      <uid>sample string 1</uid>
      <usercode>sample string 2</usercode>
    </GetFollowUserModel>
    <GetFollowUserModel>
      <headUrl>sample string 4</headUrl>
      <isMutualConcern>5</isMutualConcern>
      <isVip>6</isVip>
      <medal xmlns:d4p1="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Help">
        <d4p1:description>sample string 3</d4p1:description>
        <d4p1:getImgUrl>sample string 4</d4p1:getImgUrl>
        <d4p1:headUrl>sample string 9</d4p1:headUrl>
        <d4p1:id>1</d4p1:id>
        <d4p1:isGet>8</d4p1:isGet>
        <d4p1:level>7</d4p1:level>
        <d4p1:name>sample string 2</d4p1:name>
        <d4p1:noGetImgUrl>sample string 5</d4p1:noGetImgUrl>
        <d4p1:type>6</d4p1:type>
      </medal>
      <nickName>sample string 3</nickName>
      <uid>sample string 1</uid>
      <usercode>sample string 2</usercode>
    </GetFollowUserModel>
  </users>
</GetFollowUsersRes>