POST api/SleepUser/SearchFollowUsers

搜索用户关注或者粉丝

Request Information

URI Parameters

None.

Body Parameters

SearchFollowUsersReq
NameDescriptionTypeAdditional information
key

用户昵称关键字或者用户精灵号

string

None.

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

application/xml, text/xml

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

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>