POST api/HSUSer/GetUserListByHome

Request Information

URI Parameters

None.

Body Parameters

LJUserReq
NameDescriptionTypeAdditional information
key

用户名/ID号/卡号

string

None.

address

地址

string

None.

JG

机构ID

integer

None.

userType

integer

None.

homeId

string

None.

id

integer

None.

f1

string

None.

f2

string

None.

f3

string

None.

b1

boolean

None.

pageSize

页大小,默认请传10

integer

None.

pageIndex

页索引,默认从1开始

integer

None.

AccessKey

(必填)基础token,RSA公钥加密(填充模式:RSA_PKCS1_OAEP_PADDING)>base64

string

None.

SysTarget

(必填)终端设备,WXMiniProgram=4,WX=1,ANDROID=2,IOS=3

integer

None.

UserToken

用户token-在指定拉取用户信息时需要提供

string

None.

Timestamp

(必填)时间戳,数据格式:yyyyMMddHHmmss

string

None.

Sign

(必填)签名。步骤:1、将所有不为空字段的入参key转成大写(不含Sign)以字典序拼凑成URL键值对 2、将key=AccessKey(未RSA加密)加入到第1步拼成的字符串末尾进行MD5加密并转大写,即可得到签名

string

None.

Request Formats

application/json, text/json

Sample:
{
  "key": "sample string 1",
  "address": "sample string 2",
  "JG": 1,
  "userType": 1,
  "homeId": "sample string 3",
  "id": 1,
  "f1": "sample string 4",
  "f2": "sample string 5",
  "f3": "sample string 6",
  "b1": true,
  "pageSize": 8,
  "pageIndex": 9,
  "AccessKey": "sample string 10",
  "SysTarget": 11,
  "UserToken": "sample string 12",
  "Timestamp": "sample string 13",
  "Sign": "sample string 14"
}

application/xml, text/xml

Sample:
<LJUserReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OpenApi.Models.Req">
  <AccessKey xmlns="http://schemas.datacontract.org/2004/07/OpenApi.Models">sample string 10</AccessKey>
  <Sign xmlns="http://schemas.datacontract.org/2004/07/OpenApi.Models">sample string 14</Sign>
  <SysTarget xmlns="http://schemas.datacontract.org/2004/07/OpenApi.Models">11</SysTarget>
  <Timestamp xmlns="http://schemas.datacontract.org/2004/07/OpenApi.Models">sample string 13</Timestamp>
  <UserToken xmlns="http://schemas.datacontract.org/2004/07/OpenApi.Models">sample string 12</UserToken>
  <pageIndex>9</pageIndex>
  <pageSize>8</pageSize>
  <b1>true</b1>
  <f1>sample string 4</f1>
  <f2>sample string 5</f2>
  <f3>sample string 6</f3>
  <id>1</id>
  <key i:nil="true" />
  <JG>1</JG>
  <address>sample string 2</address>
  <homeId>sample string 3</homeId>
  <key>sample string 1</key>
  <userType>1</userType>
</LJUserReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PageDataOfListOfUserInfo
NameDescriptionTypeAdditional information
RecordTotal

integer

None.

PageSize

integer

None.

PageIndex

integer

None.

PageTotal

integer

None.

ListData

Collection of UserInfo

None.

Ext1

decimal number

None.

Ext2

decimal number

None.

Ext3

decimal number

None.

Ext4

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "RecordTotal": 1,
  "PageSize": 2,
  "PageIndex": 3,
  "PageTotal": 4,
  "ListData": [
    {
      "Id": 1,
      "UserID": "sample string 2",
      "Nick": "sample string 3",
      "Img": "sample string 4",
      "LoginName": "sample string 5",
      "Mobile": "sample string 6",
      "Score": 7.0,
      "TotalScore": 8.0,
      "Date": "sample string 9",
      "IsWX": 10,
      "QRImg": "sample string 11",
      "Address": "sample string 12",
      "XqName": "sample string 13",
      "CityName": "sample string 14",
      "hasHome": true,
      "homeCard": "sample string 16",
      "homeUserCount": 17,
      "homeName": "sample string 18",
      "userType": 19,
      "hsOrdCount": 20
    },
    {
      "Id": 1,
      "UserID": "sample string 2",
      "Nick": "sample string 3",
      "Img": "sample string 4",
      "LoginName": "sample string 5",
      "Mobile": "sample string 6",
      "Score": 7.0,
      "TotalScore": 8.0,
      "Date": "sample string 9",
      "IsWX": 10,
      "QRImg": "sample string 11",
      "Address": "sample string 12",
      "XqName": "sample string 13",
      "CityName": "sample string 14",
      "hasHome": true,
      "homeCard": "sample string 16",
      "homeUserCount": 17,
      "homeName": "sample string 18",
      "userType": 19,
      "hsOrdCount": 20
    }
  ],
  "Ext1": 5.0,
  "Ext2": 6.0,
  "Ext3": 7.0,
  "Ext4": 8.0
}

application/xml, text/xml

Sample:
<PageDataOfArrayOfUserInfokLhutqbd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopMallBusiness.DTOModel">
  <Ext1>5</Ext1>
  <Ext2>6</Ext2>
  <Ext3>7</Ext3>
  <Ext4>8</Ext4>
  <ListData xmlns:d2p1="http://schemas.datacontract.org/2004/07/OpenApi.Models.DTO">
    <d2p1:UserInfo>
      <d2p1:Address>sample string 12</d2p1:Address>
      <d2p1:CityName>sample string 14</d2p1:CityName>
      <d2p1:Date>sample string 9</d2p1:Date>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Img>sample string 4</d2p1:Img>
      <d2p1:IsWX>10</d2p1:IsWX>
      <d2p1:LoginName>sample string 5</d2p1:LoginName>
      <d2p1:Mobile>sample string 6</d2p1:Mobile>
      <d2p1:Nick>sample string 3</d2p1:Nick>
      <d2p1:QRImg>sample string 11</d2p1:QRImg>
      <d2p1:Score>7</d2p1:Score>
      <d2p1:TotalScore>8</d2p1:TotalScore>
      <d2p1:UserID>sample string 2</d2p1:UserID>
      <d2p1:XqName>sample string 13</d2p1:XqName>
      <d2p1:hasHome>true</d2p1:hasHome>
      <d2p1:homeCard>sample string 16</d2p1:homeCard>
      <d2p1:homeName>sample string 18</d2p1:homeName>
      <d2p1:homeUserCount>17</d2p1:homeUserCount>
      <d2p1:hsOrdCount>20</d2p1:hsOrdCount>
      <d2p1:userType>19</d2p1:userType>
    </d2p1:UserInfo>
    <d2p1:UserInfo>
      <d2p1:Address>sample string 12</d2p1:Address>
      <d2p1:CityName>sample string 14</d2p1:CityName>
      <d2p1:Date>sample string 9</d2p1:Date>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Img>sample string 4</d2p1:Img>
      <d2p1:IsWX>10</d2p1:IsWX>
      <d2p1:LoginName>sample string 5</d2p1:LoginName>
      <d2p1:Mobile>sample string 6</d2p1:Mobile>
      <d2p1:Nick>sample string 3</d2p1:Nick>
      <d2p1:QRImg>sample string 11</d2p1:QRImg>
      <d2p1:Score>7</d2p1:Score>
      <d2p1:TotalScore>8</d2p1:TotalScore>
      <d2p1:UserID>sample string 2</d2p1:UserID>
      <d2p1:XqName>sample string 13</d2p1:XqName>
      <d2p1:hasHome>true</d2p1:hasHome>
      <d2p1:homeCard>sample string 16</d2p1:homeCard>
      <d2p1:homeName>sample string 18</d2p1:homeName>
      <d2p1:homeUserCount>17</d2p1:homeUserCount>
      <d2p1:hsOrdCount>20</d2p1:hsOrdCount>
      <d2p1:userType>19</d2p1:userType>
    </d2p1:UserInfo>
  </ListData>
  <PageIndex>3</PageIndex>
  <PageSize>2</PageSize>
  <PageTotal>4</PageTotal>
  <RecordTotal>1</RecordTotal>
</PageDataOfArrayOfUserInfokLhutqbd>