POST api/SleepUser/SearchUserInAll

从所用用户中搜索

Request Information

URI Parameters

None.

Body Parameters

SearchUserInAllReq
NameDescriptionTypeAdditional information
key

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

string

None.

uid

当前用户id

string

None.

count

integer

None.

page

integer

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

application/xml, text/xml

Sample:
<SearchUserInAllReq 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 7</imei>
  <language xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 10</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 11</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>3</count>
  <key>sample string 1</key>
  <page>4</page>
  <uid>sample string 2</uid>
</SearchUserInAllReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SearchUserInAllRes
NameDescriptionTypeAdditional information
users

Collection of GetFollowUserModel

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"
      }
    }
  ],
  "Message": "sample string 1",
  "Status": 2
}

application/xml, text/xml

Sample:
<SearchUserInAllRes 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 1</Message>
  <Status xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">2</Status>
  <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>
</SearchUserInAllRes>