POST api/broker/getsimplelist

获取经纪人列表

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

Request 信息

URI 参数

None.

Body 参数

参数

BrokerListModel
名称说明数据类型附加信息
RegionCode

区域编号

string

None.

BoardId

版块id

integer

None.

CompanyId

公司id

integer

None.

StoreId

门店id

integer

None.

IsExpert

是否小区专家经纪人

boolean

None.

Keyword

关键字

string

None.

Lat

纬度

decimal number

None.

Lng

经度

decimal number

None.

IsGisCoord

是否是Gis坐标 手机定位获取到的坐标为WGS,默认WGS

boolean

None.

HasExpertBuildings

是否包含专家小区

boolean

None.

LevelSort

是否等级排序

integer

None.

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

示例:
{
  "RegionCode": "sample string 1",
  "BoardId": 1,
  "CompanyId": 1,
  "StoreId": 1,
  "IsExpert": true,
  "Keyword": "sample string 3",
  "Lat": 1.0,
  "Lng": 1.0,
  "IsGisCoord": true,
  "HasExpertBuildings": true,
  "LevelSort": 1,
  "Pi": 1,
  "Ps": 1,
  "City": "sample string 6",
  "Token": "sample string 7",
  "Platform": "sample string 8"
}

application/xml, text/xml

示例:
<BrokerListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.Broker">
  <Platform xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 8</Platform>
  <Token xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 7</Token>
  <City xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 6</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>
  <BoardId>1</BoardId>
  <CompanyId>1</CompanyId>
  <HasExpertBuildings>true</HasExpertBuildings>
  <IsExpert>true</IsExpert>
  <IsGisCoord>true</IsGisCoord>
  <Keyword>sample string 3</Keyword>
  <Lat>1</Lat>
  <LevelSort>1</LevelSort>
  <Lng>1</Lng>
  <RegionCode>sample string 1</RegionCode>
  <StoreId>1</StoreId>
</BrokerListModel>

application/x-www-form-urlencoded

示例:

Response 信息

输出返回说明

结果

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

经纪人列表

Collection of SimpleBroker

None.

TotalCount

总记录数

integer

None.

TotalPage

总页数

integer

None.

ErrorCode

API错误码

APIErrorCode

None.

Msg

附带消息

string

None.

Response 返回数据格式

application/json, text/json

示例:
{
  "Brokers": [
    {
      "IsOnline": true,
      "ReplyRate": 2.0,
      "Level": 3,
      "CompanyName": "sample string 4",
      "ServiceBoards": [
        {
          "BoardId": 1,
          "RegionCode": "sample string 2",
          "Name": "sample string 3"
        },
        {
          "BoardId": 1,
          "RegionCode": "sample string 2",
          "Name": "sample string 3"
        }
      ],
      "ServiceBuildings": [
        {
          "Id": 1,
          "Name": "sample string 2"
        },
        {
          "Id": 1,
          "Name": "sample string 2"
        }
      ],
      "ExpertBuildings": [
        {
          "Id": 1,
          "Name": "sample string 2"
        },
        {
          "Id": 1,
          "Name": "sample string 2"
        }
      ],
      "Tel": "sample string 5",
      "Id": 6,
      "Name": "sample string 7",
      "Photo": "sample string 8"
    },
    {
      "IsOnline": true,
      "ReplyRate": 2.0,
      "Level": 3,
      "CompanyName": "sample string 4",
      "ServiceBoards": [
        {
          "BoardId": 1,
          "RegionCode": "sample string 2",
          "Name": "sample string 3"
        },
        {
          "BoardId": 1,
          "RegionCode": "sample string 2",
          "Name": "sample string 3"
        }
      ],
      "ServiceBuildings": [
        {
          "Id": 1,
          "Name": "sample string 2"
        },
        {
          "Id": 1,
          "Name": "sample string 2"
        }
      ],
      "ExpertBuildings": [
        {
          "Id": 1,
          "Name": "sample string 2"
        },
        {
          "Id": 1,
          "Name": "sample string 2"
        }
      ],
      "Tel": "sample string 5",
      "Id": 6,
      "Name": "sample string 7",
      "Photo": "sample string 8"
    }
  ],
  "TotalCount": 1,
  "TotalPage": 2,
  "ErrorCode": 0,
  "Msg": "sample string 3"
}

application/xml, text/xml

示例:
<SimpleBrokerListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.Broker">
  <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>
  <Brokers>
    <SimpleBroker>
      <Id>6</Id>
      <Name>sample string 7</Name>
      <Photo>sample string 8</Photo>
      <ExpertBuildings>
        <ExpertBuilding>
          <Id>1</Id>
          <Name>sample string 2</Name>
        </ExpertBuilding>
        <ExpertBuilding>
          <Id>1</Id>
          <Name>sample string 2</Name>
        </ExpertBuilding>
      </ExpertBuildings>
    </SimpleBroker>
    <SimpleBroker>
      <Id>6</Id>
      <Name>sample string 7</Name>
      <Photo>sample string 8</Photo>
      <ExpertBuildings>
        <ExpertBuilding>
          <Id>1</Id>
          <Name>sample string 2</Name>
        </ExpertBuilding>
        <ExpertBuilding>
          <Id>1</Id>
          <Name>sample string 2</Name>
        </ExpertBuilding>
      </ExpertBuildings>
    </SimpleBroker>
  </Brokers>
</SimpleBrokerListResult>