POST api/msg/getattentionbrokers

获取我关注的经纪人

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

Request 信息

URI 参数

None.

Body 参数

参数

AttentionBrokerModel
名称说明数据类型附加信息
Cid

设备id

string

None.

CustId

用户Id

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

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

application/xml, text/xml

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

application/x-www-form-urlencoded

示例:

Response 信息

输出返回说明

结果

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

关注的经纪人列表

Collection of AttentionBroker

None.

TotalCount

总记录数

integer

None.

TotalPage

总页数

integer

None.

ErrorCode

API错误码

APIErrorCode

None.

Msg

附带消息

string

None.

Response 返回数据格式

application/json, text/json

示例:
{
  "Brokers": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "Photo": "sample string 3",
      "Phone": "sample string 4",
      "CompanyName": "sample string 5",
      "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"
        }
      ],
      "Level": 6,
      "CreateTime": "2020-04-04T07:57:16.7483726+08:00"
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "Photo": "sample string 3",
      "Phone": "sample string 4",
      "CompanyName": "sample string 5",
      "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"
        }
      ],
      "Level": 6,
      "CreateTime": "2020-04-04T07:57:16.7483726+08:00"
    }
  ],
  "TotalCount": 1,
  "TotalPage": 2,
  "ErrorCode": 0,
  "Msg": "sample string 3"
}

application/xml, text/xml

示例:
<AttentionBrokerResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.Msg">
  <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>
    <AttentionBrokerResult.AttentionBroker>
      <CompanyName>sample string 5</CompanyName>
      <CreateTime>2020-04-04T07:57:16.7483726+08:00</CreateTime>
      <Id>1</Id>
      <Level>6</Level>
      <Name>sample string 2</Name>
      <Phone>sample string 4</Phone>
      <Photo>sample string 3</Photo>
      <ServiceBoards xmlns:d4p1="http://schemas.datacontract.org/2004/07/API.Models.API.Broker">
        <d4p1:ServiceBoard>
          <d4p1:BoardId>1</d4p1:BoardId>
          <d4p1:Name>sample string 3</d4p1:Name>
          <d4p1:RegionCode>sample string 2</d4p1:RegionCode>
        </d4p1:ServiceBoard>
        <d4p1:ServiceBoard>
          <d4p1:BoardId>1</d4p1:BoardId>
          <d4p1:Name>sample string 3</d4p1:Name>
          <d4p1:RegionCode>sample string 2</d4p1:RegionCode>
        </d4p1:ServiceBoard>
      </ServiceBoards>
      <ServiceBuildings xmlns:d4p1="http://schemas.datacontract.org/2004/07/API.Models.API.Broker">
        <d4p1:ServiceBuilding>
          <d4p1:Id>1</d4p1:Id>
          <d4p1:Name>sample string 2</d4p1:Name>
        </d4p1:ServiceBuilding>
        <d4p1:ServiceBuilding>
          <d4p1:Id>1</d4p1:Id>
          <d4p1:Name>sample string 2</d4p1:Name>
        </d4p1:ServiceBuilding>
      </ServiceBuildings>
    </AttentionBrokerResult.AttentionBroker>
    <AttentionBrokerResult.AttentionBroker>
      <CompanyName>sample string 5</CompanyName>
      <CreateTime>2020-04-04T07:57:16.7483726+08:00</CreateTime>
      <Id>1</Id>
      <Level>6</Level>
      <Name>sample string 2</Name>
      <Phone>sample string 4</Phone>
      <Photo>sample string 3</Photo>
      <ServiceBoards xmlns:d4p1="http://schemas.datacontract.org/2004/07/API.Models.API.Broker">
        <d4p1:ServiceBoard>
          <d4p1:BoardId>1</d4p1:BoardId>
          <d4p1:Name>sample string 3</d4p1:Name>
          <d4p1:RegionCode>sample string 2</d4p1:RegionCode>
        </d4p1:ServiceBoard>
        <d4p1:ServiceBoard>
          <d4p1:BoardId>1</d4p1:BoardId>
          <d4p1:Name>sample string 3</d4p1:Name>
          <d4p1:RegionCode>sample string 2</d4p1:RegionCode>
        </d4p1:ServiceBoard>
      </ServiceBoards>
      <ServiceBuildings xmlns:d4p1="http://schemas.datacontract.org/2004/07/API.Models.API.Broker">
        <d4p1:ServiceBuilding>
          <d4p1:Id>1</d4p1:Id>
          <d4p1:Name>sample string 2</d4p1:Name>
        </d4p1:ServiceBuilding>
        <d4p1:ServiceBuilding>
          <d4p1:Id>1</d4p1:Id>
          <d4p1:Name>sample string 2</d4p1:Name>
        </d4p1:ServiceBuilding>
      </ServiceBuildings>
    </AttentionBrokerResult.AttentionBroker>
  </Brokers>
</AttentionBrokerResult>