POST api/building/getroundbroker

获取周边经纪人,默认专家排序

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

Request 信息

URI 参数

None.

Body 参数

参数

RoundBrokerModel
名称说明数据类型附加信息
BuildingId

小区id

integer

None.

Limit

取多少条,默认4条

integer

None.

IsExpert

是否专家

boolean

None.

IsRoundFill

专家模式下是否取周边的经纪人填充

boolean

None.

Type

是否限制拥有出租或二手房

HouseType

None.

GisLat

纬度

decimal number

Required

GisLng

经度

decimal number

Required

City

城市

string

Required

Token

token

string

Required

Platform

string

None.

Request 数据格式

application/json, text/json

示例:
{
  "BuildingId": 1,
  "Limit": 1,
  "IsExpert": true,
  "IsRoundFill": true,
  "Type": 1,
  "GisLat": 3.1,
  "GisLng": 4.1,
  "City": "sample string 5",
  "Token": "sample string 6",
  "Platform": "sample string 7"
}

application/xml, text/xml

示例:
<RoundBrokerModel 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>
  <BuildingId>1</BuildingId>
  <GisLat>3.1</GisLat>
  <GisLng>4.1</GisLng>
  <IsExpert>true</IsExpert>
  <IsRoundFill>true</IsRoundFill>
  <Limit>1</Limit>
  <Type>ES</Type>
</RoundBrokerModel>

application/x-www-form-urlencoded

示例:

Response 信息

输出返回说明

结果

RoundBrokerResult
名称说明数据类型附加信息
Brokers

周边经纪人

Collection of RoundBroker

None.

ErrorCode

API错误码

APIErrorCode

None.

Msg

附带消息

string

None.

Response 返回数据格式

application/json, text/json

示例:
{
  "Brokers": [
    {
      "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 1"
}

application/xml, text/xml

示例:
<RoundBrokerResult 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>
  <Brokers>
    <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>
  </Brokers>
</RoundBrokerResult>