POST api/building/getdetail

小区详细信息

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

Request 信息

URI 参数

None.

Body 参数

参数

BuildingDetailModel
名称说明数据类型附加信息
Id

小区Id

integer

Required

HasTrade

是否返回二手房

boolean

None.

HasLease

是否返回出租房

boolean

None.

HasRoundBrokers

是否返回周边经纪人

boolean

None.

City

城市

string

Required

Token

token

string

Required

Platform

string

None.

Request 数据格式

application/json, text/json

示例:
{
  "Id": 1,
  "HasTrade": true,
  "HasLease": true,
  "HasRoundBrokers": true,
  "City": "sample string 5",
  "Token": "sample string 6",
  "Platform": "sample string 7"
}

application/xml, text/xml

示例:
<BuildingDetailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.Building">
  <Platform xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 7</Platform>
  <Token xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 6</Token>
  <City xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 5</City>
  <HasLease>true</HasLease>
  <HasRoundBrokers>true</HasRoundBrokers>
  <HasTrade>true</HasTrade>
  <Id>1</Id>
</BuildingDetailModel>

application/x-www-form-urlencoded

示例:

Response 信息

输出返回说明

结果

BuildingDetailResult
名称说明数据类型附加信息
Id

小区Id

integer

None.

BuildingName

小区名

string

None.

RegionCode

区域Code

string

None.

BoardId

版块id

integer

None.

BoardName

版块名

string

None.

Photo

主图

string

None.

BuildingType

小区类型

string

None.

Address

地址

string

None.

BuildingSize

建筑面积

string

None.

BirthYear

建筑年代

string

None.

TotalHouse

总户数

integer

None.

TradeCount

二手房数量

integer

None.

LeaseCount

出租房数量

integer

None.

HalfYearExCount

半年内成交套数

integer

None.

RegionName

区域名

string

None.

Schools

周边学校

string

None.

ProjectIntru

简介

string

None.

FloorStatus

楼层状态

string

None.

CompanyName

开发商

string

None.

MatialComp

物业公司

string

None.

VolumeRate

容积率

string

None.

GreenRate

绿化率

string

None.

ProjectArea

占地面积

string

None.

MotoPos

车位

string

None.

FixManagePrice

物业费

decimal number

None.

GisLat

纬度

decimal number

None.

GisLng

经度

decimal number

None.

BusLines

公交线路

string

None.

SubWayLines

地铁线路

string

None.

BuildAvgPrice

挂牌均价

decimal number

None.

HangRate

挂牌均价涨幅

decimal number

None.

TradeExPriceRate

成交价涨幅

decimal number

None.

TradeExPriceAvg

成交均价

decimal number

None.

SellCount

半年成交套数

integer

None.

BuildingIds

学区Ids

string

None.

PriceChart

小区+城区挂牌走势

HangPriceChart

None.

Exchanges

成交记录

Collection of Exchange

None.

TradeHouses

二手房房源

Collection of RecommendHouse

None.

LeaseHouses

出租房房源

Collection of RecommendHouse

None.

Imgs

小区图片

Collection of BuildingImg

None.

RoundBrokers

周边经纪人

Collection of RoundBroker

None.

ErrorCode

API错误码

APIErrorCode

None.

Msg

附带消息

string

None.

Response 返回数据格式

application/json, text/json

示例:
{
  "Id": 1,
  "BuildingName": "sample string 2",
  "RegionCode": "sample string 3",
  "BoardId": 4,
  "BoardName": "sample string 5",
  "Photo": "sample string 6",
  "BuildingType": "sample string 7",
  "Address": "sample string 8",
  "BuildingSize": "sample string 9",
  "BirthYear": "sample string 10",
  "TotalHouse": 11,
  "TradeCount": 12,
  "LeaseCount": 13,
  "HalfYearExCount": 14,
  "RegionName": "sample string 15",
  "Schools": "sample string 16",
  "ProjectIntru": "sample string 17",
  "FloorStatus": "sample string 18",
  "CompanyName": "sample string 19",
  "MatialComp": "sample string 20",
  "VolumeRate": "sample string 21",
  "GreenRate": "sample string 22",
  "ProjectArea": "sample string 23",
  "MotoPos": "sample string 24",
  "FixManagePrice": 25.1,
  "GisLat": 26.1,
  "GisLng": 27.1,
  "BusLines": "sample string 28",
  "SubWayLines": "sample string 29",
  "BuildAvgPrice": 30.1,
  "HangRate": 31.1,
  "TradeExPriceRate": 32.0,
  "TradeExPriceAvg": 33.0,
  "SellCount": 34,
  "BuildingIds": "sample string 35",
  "PriceChart": {
    "Labels": [
      "sample string 1",
      "sample string 2"
    ],
    "BuildingPrice": [
      1,
      2
    ],
    "RegionPrice": [
      1,
      2
    ],
    "BuildingRate": [
      1.1,
      2.1
    ],
    "RegionRate": [
      1.1,
      2.1
    ],
    "BuildingName": "sample string 1",
    "BuildingID": 2
  },
  "Exchanges": [
    {
      "Addr": "sample string 1",
      "Area": "sample string 2",
      "Price": "sample string 3",
      "Single": "sample string 4",
      "ExDate": "sample string 5",
      "ExCompany": "sample string 6"
    },
    {
      "Addr": "sample string 1",
      "Area": "sample string 2",
      "Price": "sample string 3",
      "Single": "sample string 4",
      "ExDate": "sample string 5",
      "ExCompany": "sample string 6"
    }
  ],
  "TradeHouses": [
    {
      "Id": 1,
      "BuildingId": 2,
      "Name": "sample string 3",
      "HouseCommend": "sample string 4",
      "BoardName": "sample string 5",
      "RentWay": "sample string 6",
      "Pic": "sample string 7",
      "Area": 8.1,
      "Price": 9.1,
      "PriceUnit": "sample string 10",
      "RoomCount": 11,
      "HollCount": 12,
      "DeckName": "sample string 13",
      "Floor": 14,
      "FloorCount": 15,
      "IsTaxless": true,
      "IsSchoolHouse": true,
      "IsUrgentSale": true,
      "IsHot": true,
      "Direct": "sample string 20",
      "IsUrgentRent": true
    },
    {
      "Id": 1,
      "BuildingId": 2,
      "Name": "sample string 3",
      "HouseCommend": "sample string 4",
      "BoardName": "sample string 5",
      "RentWay": "sample string 6",
      "Pic": "sample string 7",
      "Area": 8.1,
      "Price": 9.1,
      "PriceUnit": "sample string 10",
      "RoomCount": 11,
      "HollCount": 12,
      "DeckName": "sample string 13",
      "Floor": 14,
      "FloorCount": 15,
      "IsTaxless": true,
      "IsSchoolHouse": true,
      "IsUrgentSale": true,
      "IsHot": true,
      "Direct": "sample string 20",
      "IsUrgentRent": true
    }
  ],
  "LeaseHouses": [
    {
      "Id": 1,
      "BuildingId": 2,
      "Name": "sample string 3",
      "HouseCommend": "sample string 4",
      "BoardName": "sample string 5",
      "RentWay": "sample string 6",
      "Pic": "sample string 7",
      "Area": 8.1,
      "Price": 9.1,
      "PriceUnit": "sample string 10",
      "RoomCount": 11,
      "HollCount": 12,
      "DeckName": "sample string 13",
      "Floor": 14,
      "FloorCount": 15,
      "IsTaxless": true,
      "IsSchoolHouse": true,
      "IsUrgentSale": true,
      "IsHot": true,
      "Direct": "sample string 20",
      "IsUrgentRent": true
    },
    {
      "Id": 1,
      "BuildingId": 2,
      "Name": "sample string 3",
      "HouseCommend": "sample string 4",
      "BoardName": "sample string 5",
      "RentWay": "sample string 6",
      "Pic": "sample string 7",
      "Area": 8.1,
      "Price": 9.1,
      "PriceUnit": "sample string 10",
      "RoomCount": 11,
      "HollCount": 12,
      "DeckName": "sample string 13",
      "Floor": 14,
      "FloorCount": 15,
      "IsTaxless": true,
      "IsSchoolHouse": true,
      "IsUrgentSale": true,
      "IsHot": true,
      "Direct": "sample string 20",
      "IsUrgentRent": true
    }
  ],
  "Imgs": [
    {
      "Title": "sample string 1",
      "Path": "sample string 2",
      "FileName": "sample string 3"
    },
    {
      "Title": "sample string 1",
      "Path": "sample string 2",
      "FileName": "sample string 3"
    }
  ],
  "RoundBrokers": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "TradeCount": 3,
      "LeaseCount": 4,
      "Photo": "sample string 5",
      "IsExpert": true,
      "Level": 7,
      "CompanyName": "sample string 8",
      "StoreName": "sample string 9"
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "TradeCount": 3,
      "LeaseCount": 4,
      "Photo": "sample string 5",
      "IsExpert": true,
      "Level": 7,
      "CompanyName": "sample string 8",
      "StoreName": "sample string 9"
    }
  ],
  "ErrorCode": 0,
  "Msg": "sample string 36"
}

application/xml, text/xml

示例:
<BuildingDetailResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.Building">
  <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 36</Msg>
  <Address>sample string 8</Address>
  <BirthYear>sample string 10</BirthYear>
  <BoardId>4</BoardId>
  <BoardName>sample string 5</BoardName>
  <BuildAvgPrice>30.1</BuildAvgPrice>
  <BuildingIds>sample string 35</BuildingIds>
  <BuildingName>sample string 2</BuildingName>
  <BuildingSize>sample string 9</BuildingSize>
  <BuildingType>sample string 7</BuildingType>
  <BusLines>sample string 28</BusLines>
  <CompanyName>sample string 19</CompanyName>
  <Exchanges>
    <BuildingExchangeResult.Exchange>
      <Addr>sample string 1</Addr>
      <Area>sample string 2</Area>
      <ExCompany>sample string 6</ExCompany>
      <ExDate>sample string 5</ExDate>
      <Price>sample string 3</Price>
      <Single>sample string 4</Single>
    </BuildingExchangeResult.Exchange>
    <BuildingExchangeResult.Exchange>
      <Addr>sample string 1</Addr>
      <Area>sample string 2</Area>
      <ExCompany>sample string 6</ExCompany>
      <ExDate>sample string 5</ExDate>
      <Price>sample string 3</Price>
      <Single>sample string 4</Single>
    </BuildingExchangeResult.Exchange>
  </Exchanges>
  <FixManagePrice>25.1</FixManagePrice>
  <FloorStatus>sample string 18</FloorStatus>
  <GisLat>26.1</GisLat>
  <GisLng>27.1</GisLng>
  <GreenRate>sample string 22</GreenRate>
  <HalfYearExCount>14</HalfYearExCount>
  <HangRate>31.1</HangRate>
  <Id>1</Id>
  <Imgs>
    <BuildingDetailResult.BuildingImg>
      <FileName>sample string 3</FileName>
      <Path>sample string 2</Path>
      <Title>sample string 1</Title>
    </BuildingDetailResult.BuildingImg>
    <BuildingDetailResult.BuildingImg>
      <FileName>sample string 3</FileName>
      <Path>sample string 2</Path>
      <Title>sample string 1</Title>
    </BuildingDetailResult.BuildingImg>
  </Imgs>
  <LeaseCount>13</LeaseCount>
  <LeaseHouses xmlns:d2p1="http://schemas.datacontract.org/2004/07/API.Models.API.House">
    <d2p1:RecommendHouse>
      <d2p1:Area>8.1</d2p1:Area>
      <d2p1:BoardName>sample string 5</d2p1:BoardName>
      <d2p1:BuildingId>2</d2p1:BuildingId>
      <d2p1:DeckName>sample string 13</d2p1:DeckName>
      <d2p1:Direct>sample string 20</d2p1:Direct>
      <d2p1:Floor>14</d2p1:Floor>
      <d2p1:FloorCount>15</d2p1:FloorCount>
      <d2p1:HollCount>12</d2p1:HollCount>
      <d2p1:HouseCommend>sample string 4</d2p1:HouseCommend>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsHot>true</d2p1:IsHot>
      <d2p1:IsSchoolHouse>true</d2p1:IsSchoolHouse>
      <d2p1:IsTaxless>true</d2p1:IsTaxless>
      <d2p1:IsUrgentRent>true</d2p1:IsUrgentRent>
      <d2p1:IsUrgentSale>true</d2p1:IsUrgentSale>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:Pic>sample string 7</d2p1:Pic>
      <d2p1:Price>9.1</d2p1:Price>
      <d2p1:PriceUnit>sample string 10</d2p1:PriceUnit>
      <d2p1:RentWay>sample string 6</d2p1:RentWay>
      <d2p1:RoomCount>11</d2p1:RoomCount>
    </d2p1:RecommendHouse>
    <d2p1:RecommendHouse>
      <d2p1:Area>8.1</d2p1:Area>
      <d2p1:BoardName>sample string 5</d2p1:BoardName>
      <d2p1:BuildingId>2</d2p1:BuildingId>
      <d2p1:DeckName>sample string 13</d2p1:DeckName>
      <d2p1:Direct>sample string 20</d2p1:Direct>
      <d2p1:Floor>14</d2p1:Floor>
      <d2p1:FloorCount>15</d2p1:FloorCount>
      <d2p1:HollCount>12</d2p1:HollCount>
      <d2p1:HouseCommend>sample string 4</d2p1:HouseCommend>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsHot>true</d2p1:IsHot>
      <d2p1:IsSchoolHouse>true</d2p1:IsSchoolHouse>
      <d2p1:IsTaxless>true</d2p1:IsTaxless>
      <d2p1:IsUrgentRent>true</d2p1:IsUrgentRent>
      <d2p1:IsUrgentSale>true</d2p1:IsUrgentSale>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:Pic>sample string 7</d2p1:Pic>
      <d2p1:Price>9.1</d2p1:Price>
      <d2p1:PriceUnit>sample string 10</d2p1:PriceUnit>
      <d2p1:RentWay>sample string 6</d2p1:RentWay>
      <d2p1:RoomCount>11</d2p1:RoomCount>
    </d2p1:RecommendHouse>
  </LeaseHouses>
  <MatialComp>sample string 20</MatialComp>
  <MotoPos>sample string 24</MotoPos>
  <Photo>sample string 6</Photo>
  <PriceChart>
    <BuildingID>2</BuildingID>
    <BuildingName>sample string 1</BuildingName>
    <BuildingPrice xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:long>1</d3p1:long>
      <d3p1:long>2</d3p1:long>
    </BuildingPrice>
    <BuildingRate xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:float>1.1</d3p1:float>
      <d3p1:float>2.1</d3p1:float>
    </BuildingRate>
    <Labels xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Labels>
    <RegionPrice xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:long>1</d3p1:long>
      <d3p1:long>2</d3p1:long>
    </RegionPrice>
    <RegionRate xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:float>1.1</d3p1:float>
      <d3p1:float>2.1</d3p1:float>
    </RegionRate>
  </PriceChart>
  <ProjectArea>sample string 23</ProjectArea>
  <ProjectIntru>sample string 17</ProjectIntru>
  <RegionCode>sample string 3</RegionCode>
  <RegionName>sample string 15</RegionName>
  <RoundBrokers>
    <RoundBrokerResult.RoundBroker>
      <CompanyName>sample string 8</CompanyName>
      <Id>1</Id>
      <IsExpert>true</IsExpert>
      <LeaseCount>4</LeaseCount>
      <Level>7</Level>
      <Name>sample string 2</Name>
      <Photo>sample string 5</Photo>
      <StoreName>sample string 9</StoreName>
      <TradeCount>3</TradeCount>
    </RoundBrokerResult.RoundBroker>
    <RoundBrokerResult.RoundBroker>
      <CompanyName>sample string 8</CompanyName>
      <Id>1</Id>
      <IsExpert>true</IsExpert>
      <LeaseCount>4</LeaseCount>
      <Level>7</Level>
      <Name>sample string 2</Name>
      <Photo>sample string 5</Photo>
      <StoreName>sample string 9</StoreName>
      <TradeCount>3</TradeCount>
    </RoundBrokerResult.RoundBroker>
  </RoundBrokers>
  <Schools>sample string 16</Schools>
  <SellCount>34</SellCount>
  <SubWayLines>sample string 29</SubWayLines>
  <TotalHouse>11</TotalHouse>
  <TradeCount>12</TradeCount>
  <TradeExPriceAvg>33</TradeExPriceAvg>
  <TradeExPriceRate>32</TradeExPriceRate>
  <TradeHouses xmlns:d2p1="http://schemas.datacontract.org/2004/07/API.Models.API.House">
    <d2p1:RecommendHouse>
      <d2p1:Area>8.1</d2p1:Area>
      <d2p1:BoardName>sample string 5</d2p1:BoardName>
      <d2p1:BuildingId>2</d2p1:BuildingId>
      <d2p1:DeckName>sample string 13</d2p1:DeckName>
      <d2p1:Direct>sample string 20</d2p1:Direct>
      <d2p1:Floor>14</d2p1:Floor>
      <d2p1:FloorCount>15</d2p1:FloorCount>
      <d2p1:HollCount>12</d2p1:HollCount>
      <d2p1:HouseCommend>sample string 4</d2p1:HouseCommend>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsHot>true</d2p1:IsHot>
      <d2p1:IsSchoolHouse>true</d2p1:IsSchoolHouse>
      <d2p1:IsTaxless>true</d2p1:IsTaxless>
      <d2p1:IsUrgentRent>true</d2p1:IsUrgentRent>
      <d2p1:IsUrgentSale>true</d2p1:IsUrgentSale>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:Pic>sample string 7</d2p1:Pic>
      <d2p1:Price>9.1</d2p1:Price>
      <d2p1:PriceUnit>sample string 10</d2p1:PriceUnit>
      <d2p1:RentWay>sample string 6</d2p1:RentWay>
      <d2p1:RoomCount>11</d2p1:RoomCount>
    </d2p1:RecommendHouse>
    <d2p1:RecommendHouse>
      <d2p1:Area>8.1</d2p1:Area>
      <d2p1:BoardName>sample string 5</d2p1:BoardName>
      <d2p1:BuildingId>2</d2p1:BuildingId>
      <d2p1:DeckName>sample string 13</d2p1:DeckName>
      <d2p1:Direct>sample string 20</d2p1:Direct>
      <d2p1:Floor>14</d2p1:Floor>
      <d2p1:FloorCount>15</d2p1:FloorCount>
      <d2p1:HollCount>12</d2p1:HollCount>
      <d2p1:HouseCommend>sample string 4</d2p1:HouseCommend>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsHot>true</d2p1:IsHot>
      <d2p1:IsSchoolHouse>true</d2p1:IsSchoolHouse>
      <d2p1:IsTaxless>true</d2p1:IsTaxless>
      <d2p1:IsUrgentRent>true</d2p1:IsUrgentRent>
      <d2p1:IsUrgentSale>true</d2p1:IsUrgentSale>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:Pic>sample string 7</d2p1:Pic>
      <d2p1:Price>9.1</d2p1:Price>
      <d2p1:PriceUnit>sample string 10</d2p1:PriceUnit>
      <d2p1:RentWay>sample string 6</d2p1:RentWay>
      <d2p1:RoomCount>11</d2p1:RoomCount>
    </d2p1:RecommendHouse>
  </TradeHouses>
  <VolumeRate>sample string 21</VolumeRate>
</BuildingDetailResult>