POST api/building/getareabuilding

获取地图小区

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

Request 信息

URI 参数

None.

Body 参数

参数

WebNewBuildingMapModel
名称说明数据类型附加信息
BuildingOpenDate

开盘时间

string

None.

BuildingStatus

楼盘状态

integer

None.

BuildingType

小区或楼盘类型

integer

None.

BuildingPrice

均价价格

string

None.

RegionCode

城区code

string

None.

SLat

起始经度

decimal number

None.

SLng

起始纬度

decimal number

None.

ELat

结束经度

decimal number

None.

ELng

结束纬度

decimal number

None.

pageSize

数据容量

integer

None.

pageIndex

页索引

integer

None.

RefDate

页面刷新时间 防止列表出现重复数据

string

None.

Type

学校类别 (不传表示不限类别)

integer

None.

ShowBuldingUnit

是否显示幢数

integer

None.

City

城市

string

Required

Token

token

string

Required

Platform

string

None.

Request 数据格式

application/json, text/json

示例:
{
  "BuildingOpenDate": "sample string 1",
  "BuildingStatus": 2,
  "BuildingType": 3,
  "BuildingPrice": "sample string 4",
  "RegionCode": "sample string 5",
  "SLat": 6.0,
  "SLng": 7.0,
  "ELat": 8.0,
  "ELng": 9.0,
  "pageSize": 10,
  "pageIndex": 11,
  "RefDate": "sample string 12",
  "Type": 1,
  "ShowBuldingUnit": 13,
  "City": "sample string 14",
  "Token": "sample string 15",
  "Platform": "sample string 16"
}

application/xml, text/xml

示例:
<WebNewBuildingMapModel 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 16</Platform>
  <Token xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 15</Token>
  <City xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 14</City>
  <ELat>8</ELat>
  <ELng>9</ELng>
  <RefDate>sample string 12</RefDate>
  <SLat>6</SLat>
  <SLng>7</SLng>
  <ShowBuldingUnit>13</ShowBuldingUnit>
  <Type>1</Type>
  <pageIndex>11</pageIndex>
  <pageSize>10</pageSize>
  <BuildingPrice>sample string 4</BuildingPrice>
  <BuildingType>3</BuildingType>
  <RegionCode>sample string 5</RegionCode>
  <BuildingOpenDate>sample string 1</BuildingOpenDate>
  <BuildingStatus>2</BuildingStatus>
</WebNewBuildingMapModel>

application/x-www-form-urlencoded

示例:

Response 信息

输出返回说明

结果

WebAreaBuildingResult
名称说明数据类型附加信息
Building

小区(或学校)信息

Collection of WebAreaBuilding

None.

Unit

幢数(小区模式下有效)

Collection of WebHotSpot

None.

ErrorCode

API错误码

APIErrorCode

None.

Msg

附带消息

string

None.

Response 返回数据格式

application/json, text/json

示例:
{
  "Building": [
    {
      "id": 1,
      "BuildingName": "sample string 2",
      "BuildAvgPrice": 3.1,
      "RandAvgPrice": "sample string 4",
      "TrackEposStr": "sample string 5",
      "EposX": 1,
      "EposY": 1,
      "GisLat": 6.1,
      "GisLng": 7.1
    },
    {
      "id": 1,
      "BuildingName": "sample string 2",
      "BuildAvgPrice": 3.1,
      "RandAvgPrice": "sample string 4",
      "TrackEposStr": "sample string 5",
      "EposX": 1,
      "EposY": 1,
      "GisLat": 6.1,
      "GisLng": 7.1
    }
  ],
  "Unit": [
    {
      "id": 1,
      "HotName": "sample string 2",
      "ShortHotName": "sample string 3",
      "EposX": 1,
      "EposY": 1,
      "GisLat": 4.1,
      "GisLng": 5.1
    },
    {
      "id": 1,
      "HotName": "sample string 2",
      "ShortHotName": "sample string 3",
      "EposX": 1,
      "EposY": 1,
      "GisLat": 4.1,
      "GisLng": 5.1
    }
  ],
  "ErrorCode": 0,
  "Msg": "sample string 1"
}

application/xml, text/xml

示例:
<WebAreaBuildingResult 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 1</Msg>
  <Building>
    <WebAreaBuildingResult.WebAreaBuilding>
      <BuildAvgPrice>3.1</BuildAvgPrice>
      <BuildingName>sample string 2</BuildingName>
      <EposX>1</EposX>
      <EposY>1</EposY>
      <GisLat>6.1</GisLat>
      <GisLng>7.1</GisLng>
      <RandAvgPrice>sample string 4</RandAvgPrice>
      <TrackEposStr>sample string 5</TrackEposStr>
      <id>1</id>
    </WebAreaBuildingResult.WebAreaBuilding>
    <WebAreaBuildingResult.WebAreaBuilding>
      <BuildAvgPrice>3.1</BuildAvgPrice>
      <BuildingName>sample string 2</BuildingName>
      <EposX>1</EposX>
      <EposY>1</EposY>
      <GisLat>6.1</GisLat>
      <GisLng>7.1</GisLng>
      <RandAvgPrice>sample string 4</RandAvgPrice>
      <TrackEposStr>sample string 5</TrackEposStr>
      <id>1</id>
    </WebAreaBuildingResult.WebAreaBuilding>
  </Building>
  <Unit>
    <WebAreaBuildingResult.WebHotSpot>
      <EposX>1</EposX>
      <EposY>1</EposY>
      <GisLat>4.1</GisLat>
      <GisLng>5.1</GisLng>
      <HotName>sample string 2</HotName>
      <ShortHotName>sample string 3</ShortHotName>
      <id>1</id>
    </WebAreaBuildingResult.WebHotSpot>
    <WebAreaBuildingResult.WebHotSpot>
      <EposX>1</EposX>
      <EposY>1</EposY>
      <GisLat>4.1</GisLat>
      <GisLng>5.1</GisLng>
      <HotName>sample string 2</HotName>
      <ShortHotName>sample string 3</ShortHotName>
      <id>1</id>
    </WebAreaBuildingResult.WebHotSpot>
  </Unit>
</WebAreaBuildingResult>