获取用户信息集合

URL地址:api/App/User/GetUser

请求方式:GET

传递参数

None.

传递对象

UserQuery (检索条件对象)
名   称描   述参数类型附加信息
IdQuery

编号

integer

None.

WxIdQuery

微信id

string

None.

WxNameQuery

微信名称

string

None.

QQQuery

qq号

string

None.

EmailQuery

电子邮件

string

None.

PhoneQuery

电话号码

string

None.

SexQuery

性别

boolean

None.

AgeQuery

年龄

integer

None.

AddrQuery

地址

string

None.

ReTimeQuery

创建时间

date

None.

application/json, text/json

Sample:
{
  "IdQuery": 1,
  "WxIdQuery": "sample string 2",
  "WxNameQuery": "sample string 3",
  "QQQuery": "sample string 4",
  "EmailQuery": "sample string 5",
  "PhoneQuery": "sample string 6",
  "SexQuery": true,
  "AgeQuery": 8,
  "AddrQuery": "sample string 9",
  "ReTimeQuery": "2021-03-07T17:25:35.3096341+08:00"
}

application/xml, text/xml

Sample:
<UserQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models">
  <AddrQuery>sample string 9</AddrQuery>
  <AgeQuery>8</AgeQuery>
  <EmailQuery>sample string 5</EmailQuery>
  <IdQuery>1</IdQuery>
  <PhoneQuery>sample string 6</PhoneQuery>
  <QQQuery>sample string 4</QQQuery>
  <ReTimeQuery>2021-03-07T17:25:35.3096341+08:00</ReTimeQuery>
  <SexQuery>true</SexQuery>
  <WxIdQuery>sample string 2</WxIdQuery>
  <WxNameQuery>sample string 3</WxNameQuery>
</UserQuery>

application/x-www-form-urlencoded

Sample:

Sample not available.

返回对象

HttpResultMessageOfIListOfUserEntity (用户信息集合)
名   称描   述参数类型附加信息
StatusCode

HttpStatusCode

None.

Errors

Dictionary of string [key] and string [value]

None.

Msg

string

None.

message

string

None.

Result

Collection of UserEntity

None.

返回对象格式

application/json, text/json

Sample:
{
  "StatusCode": 100,
  "Errors": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "Msg": "sample string 1",
  "message": "sample string 2",
  "Result": [
    {
      "Id": 1,
      "WxId": "sample string 2",
      "WxName": "sample string 3",
      "QQ": "sample string 4",
      "Email": "sample string 5",
      "Phone": "sample string 6",
      "Sex": 7,
      "Age": 8,
      "Addr": "sample string 9",
      "ReTime": "2021-03-07T17:25:35.3252282+08:00",
      "OpenID": "sample string 11"
    },
    {
      "Id": 1,
      "WxId": "sample string 2",
      "WxName": "sample string 3",
      "QQ": "sample string 4",
      "Email": "sample string 5",
      "Phone": "sample string 6",
      "Sex": 7,
      "Age": 8,
      "Addr": "sample string 9",
      "ReTime": "2021-03-07T17:25:35.3252282+08:00",
      "OpenID": "sample string 11"
    }
  ]
}

application/xml, text/xml

Sample:
<HttpResultMessageOfArrayOfUserEntityj2mLa_SCg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Errors>
  <Msg>sample string 1</Msg>
  <Result>
    <UserEntity>
      <Addr>sample string 9</Addr>
      <Age>8</Age>
      <Email>sample string 5</Email>
      <Id>1</Id>
      <OpenID>sample string 11</OpenID>
      <Phone>sample string 6</Phone>
      <QQ>sample string 4</QQ>
      <ReTime>2021-03-07T17:25:35.3252282+08:00</ReTime>
      <Sex>7</Sex>
      <WxId>sample string 2</WxId>
      <WxName>sample string 3</WxName>
    </UserEntity>
    <UserEntity>
      <Addr>sample string 9</Addr>
      <Age>8</Age>
      <Email>sample string 5</Email>
      <Id>1</Id>
      <OpenID>sample string 11</OpenID>
      <Phone>sample string 6</Phone>
      <QQ>sample string 4</QQ>
      <ReTime>2021-03-07T17:25:35.3252282+08:00</ReTime>
      <Sex>7</Sex>
      <WxId>sample string 2</WxId>
      <WxName>sample string 3</WxName>
    </UserEntity>
  </Result>
  <StatusCode>Continue</StatusCode>
  <message>sample string 2</message>
</HttpResultMessageOfArrayOfUserEntityj2mLa_SCg>