POST api/housereq/myreq

用户的求租或求购列表

默认返回json数据,若要返回xml格式数据在访问地址后加上xml=true

Request 信息

URI 参数

None.

Body 参数

参数

ReqMineModel
名称说明数据类型附加信息
CustId

注册用户id

integer

None.

ClientId

设备id

string

Required

ReqType

请求类型,卖房or出租

REQTYPE

Required

Pi

PageIndex 页码,默认1

integer

None.

Ps

PageSize 页容量,默认20,最大50

integer

None.

City

城市

string

Required

Token

token

string

Required

Platform

string

None.

Request 数据格式

application/json, text/json

示例:
{
  "CustId": 1,
  "ClientId": "sample string 1",
  "ReqType": 0,
  "Pi": 1,
  "Ps": 1,
  "City": "sample string 2",
  "Token": "sample string 3",
  "Platform": "sample string 4"
}

application/xml, text/xml

示例:
<MineModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.HouseReq">
  <Platform xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 4</Platform>
  <Token xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 3</Token>
  <City xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 2</City>
  <Pi xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">1</Pi>
  <Ps xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">1</Ps>
  <ClientId>sample string 1</ClientId>
  <CustId>1</CustId>
  <ReqType>ReqBuy</ReqType>
</MineModel>

application/x-www-form-urlencoded

示例:

Response 信息

输出返回说明

结果

ReqListResult
名称说明数据类型附加信息
List

Collection of BaseReq

None.

TotalCount

总记录数

integer

None.

TotalPage

总页数

integer

None.

ErrorCode

API错误码

APIErrorCode

None.

Msg

附带消息

string

None.

Response 返回数据格式

application/json, text/json

示例:
{
  "List": [
    {
      "Id": 1,
      "RegionCode": "sample string 2",
      "RegionName": "sample string 3",
      "BoardId": 4,
      "BoardName": "sample string 5",
      "RoomCount": 6,
      "LowArea": 7.1,
      "HighArea": 8.1,
      "LowPrice": 9.1,
      "HighPrice": 10.1,
      "Description": "sample string 11",
      "CreateTime": "2020-04-06T02:57:19.4198937+08:00",
      "Platform": "sample string 12",
      "Type": 0
    },
    {
      "Id": 1,
      "RegionCode": "sample string 2",
      "RegionName": "sample string 3",
      "BoardId": 4,
      "BoardName": "sample string 5",
      "RoomCount": 6,
      "LowArea": 7.1,
      "HighArea": 8.1,
      "LowPrice": 9.1,
      "HighPrice": 10.1,
      "Description": "sample string 11",
      "CreateTime": "2020-04-06T02:57:19.4198937+08:00",
      "Platform": "sample string 12",
      "Type": 0
    }
  ],
  "TotalCount": 1,
  "TotalPage": 2,
  "ErrorCode": 0,
  "Msg": "sample string 3"
}

application/xml, text/xml

示例:
<ReqListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.HouseReq">
  <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">SUCCESS</ErrorCode>
  <Msg xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 3</Msg>
  <TotalCount xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">1</TotalCount>
  <TotalPage xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">2</TotalPage>
  <List>
    <ReqListResult.BaseReq>
      <BoardId>4</BoardId>
      <BoardName>sample string 5</BoardName>
      <CreateTime>2020-04-06T02:57:19.4198937+08:00</CreateTime>
      <Description>sample string 11</Description>
      <HighArea>8.1</HighArea>
      <HighPrice>10.1</HighPrice>
      <Id>1</Id>
      <LowArea>7.1</LowArea>
      <LowPrice>9.1</LowPrice>
      <Platform>sample string 12</Platform>
      <RegionCode>sample string 2</RegionCode>
      <RegionName>sample string 3</RegionName>
      <RoomCount>6</RoomCount>
      <Type>ReqBuy</Type>
    </ReqListResult.BaseReq>
    <ReqListResult.BaseReq>
      <BoardId>4</BoardId>
      <BoardName>sample string 5</BoardName>
      <CreateTime>2020-04-06T02:57:19.4198937+08:00</CreateTime>
      <Description>sample string 11</Description>
      <HighArea>8.1</HighArea>
      <HighPrice>10.1</HighPrice>
      <Id>1</Id>
      <LowArea>7.1</LowArea>
      <LowPrice>9.1</LowPrice>
      <Platform>sample string 12</Platform>
      <RegionCode>sample string 2</RegionCode>
      <RegionName>sample string 3</RegionName>
      <RoomCount>6</RoomCount>
      <Type>ReqBuy</Type>
    </ReqListResult.BaseReq>
  </List>
</ReqListResult>