POST api/collector/getnewlist

获取新房收藏列表

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

Request 信息

URI 参数

None.

Body 参数

参数

NewCollectorListModel
名称说明数据类型附加信息
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

示例:
{
  "Pi": 1,
  "Ps": 1,
  "City": "sample string 1",
  "Token": "sample string 2",
  "Platform": "sample string 3"
}

application/xml, text/xml

示例:
<NewCollectorListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.Collector">
  <Platform xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 3</Platform>
  <Token xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 2</Token>
  <City xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 1</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>
</NewCollectorListModel>

application/x-www-form-urlencoded

示例:

Response 信息

输出返回说明

返回结果

NewCollectorListResult
名称说明数据类型附加信息
News

新房收藏数据

Collection of TradeCollectorListResult.NewCollector

None.

TotalCount

总记录数

integer

None.

TotalPage

总页数

integer

None.

ErrorCode

API错误码

APIErrorCode

None.

Msg

附带消息

string

None.

Response 返回数据格式

application/json, text/json

示例:
{
  "News": [
    {
      "NewId": 1,
      "Deck": "sample string 2",
      "NewHouseType": "sample string 3",
      "Id": 4,
      "HouseCommend": "sample string 5",
      "BuildingId": 6,
      "BuildingName": "sample string 7",
      "Pics": "sample string 8",
      "BoardId": 9,
      "BoardName": "sample string 10",
      "RoomCount": 11,
      "HollCount": 12,
      "Floor": 13,
      "FloorCount": 14,
      "BldgArea": 15.0,
      "RefPrice": 16.0,
      "PriceUnit": "sample string 17"
    },
    {
      "NewId": 1,
      "Deck": "sample string 2",
      "NewHouseType": "sample string 3",
      "Id": 4,
      "HouseCommend": "sample string 5",
      "BuildingId": 6,
      "BuildingName": "sample string 7",
      "Pics": "sample string 8",
      "BoardId": 9,
      "BoardName": "sample string 10",
      "RoomCount": 11,
      "HollCount": 12,
      "Floor": 13,
      "FloorCount": 14,
      "BldgArea": 15.0,
      "RefPrice": 16.0,
      "PriceUnit": "sample string 17"
    }
  ],
  "TotalCount": 1,
  "TotalPage": 2,
  "ErrorCode": 0,
  "Msg": "sample string 3"
}

application/xml, text/xml

示例:
<NewCollectorListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.Collector">
  <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>
  <News>
    <NewCollector>
      <BldgArea>15</BldgArea>
      <BoardId>9</BoardId>
      <BoardName>sample string 10</BoardName>
      <BuildingId>6</BuildingId>
      <BuildingName>sample string 7</BuildingName>
      <Floor>13</Floor>
      <FloorCount>14</FloorCount>
      <HollCount>12</HollCount>
      <HouseCommend>sample string 5</HouseCommend>
      <Id>4</Id>
      <Pics>sample string 8</Pics>
      <PriceUnit>sample string 17</PriceUnit>
      <RefPrice>16</RefPrice>
      <RoomCount>11</RoomCount>
      <Deck>sample string 2</Deck>
      <NewHouseType>sample string 3</NewHouseType>
      <NewId>1</NewId>
    </NewCollector>
    <NewCollector>
      <BldgArea>15</BldgArea>
      <BoardId>9</BoardId>
      <BoardName>sample string 10</BoardName>
      <BuildingId>6</BuildingId>
      <BuildingName>sample string 7</BuildingName>
      <Floor>13</Floor>
      <FloorCount>14</FloorCount>
      <HollCount>12</HollCount>
      <HouseCommend>sample string 5</HouseCommend>
      <Id>4</Id>
      <Pics>sample string 8</Pics>
      <PriceUnit>sample string 17</PriceUnit>
      <RefPrice>16</RefPrice>
      <RoomCount>11</RoomCount>
      <Deck>sample string 2</Deck>
      <NewHouseType>sample string 3</NewHouseType>
      <NewId>1</NewId>
    </NewCollector>
  </News>
</NewCollectorListResult>