POST api/broker/getsimpleinfo

获取经纪人信息【经纪人App我的】

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

Request 信息

URI 参数

None.

Body 参数

参数

SimpleModel
名称说明数据类型附加信息
City

城市

string

Required

Token

token

string

Required

Platform

string

None.

Request 数据格式

application/json, text/json

示例:
{
  "City": "sample string 1",
  "Token": "sample string 2",
  "Platform": "sample string 3"
}

application/xml, text/xml

示例:
<SimpleModel 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 3</Platform>
  <Token xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 2</Token>
  <City xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 1</City>
</SimpleModel>

application/x-www-form-urlencoded

示例:

Response 信息

输出返回说明

结果

SimpleResult
名称说明数据类型附加信息
CustName

客户名

string

None.

Tel

电话

string

None.

Photo

头像

string

None.

CompanyName

公司名

string

None.

StoreName

门店名

string

None.

CustType

客户类型

integer

None.

ServiceName

服务名

string

None.

ExpireDate

服务到期时间

date

None.

ServiceBoards

服务商圈

Collection of ServiceBoard

None.

ServiceBuildings

服务小区

Collection of ServiceBuilding

None.

Level

等级

integer

None.

IsEnableAutoRfresh

是否开启智能刷新

boolean

None.

Version

版本

decimal number

None.

CreditCertificate

身份验证

boolean

None.

PhotoCertificate

头像认证

boolean

None.

PracticeCertificate

执业认证

boolean

None.

IsExpert

是否专家

boolean

None.

CardCertificate

名片认证

boolean

None.

ErrorCode

API错误码

APIErrorCode

None.

Msg

附带消息

string

None.

Response 返回数据格式

application/json, text/json

示例:
{
  "CustName": "sample string 1",
  "Tel": "sample string 2",
  "Photo": "sample string 3",
  "CompanyName": "sample string 4",
  "StoreName": "sample string 5",
  "CustType": 6,
  "ServiceName": "sample string 7",
  "ExpireDate": "2020-04-04T07:29:25.9195176+08:00",
  "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": 8,
  "IsEnableAutoRfresh": true,
  "Version": 10.0,
  "CreditCertificate": true,
  "PhotoCertificate": true,
  "PracticeCertificate": true,
  "IsExpert": true,
  "CardCertificate": true,
  "ErrorCode": 0,
  "Msg": "sample string 16"
}

application/xml, text/xml

示例:
<SimpleResult 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 16</Msg>
  <CardCertificate>true</CardCertificate>
  <CompanyName>sample string 4</CompanyName>
  <CreditCertificate>true</CreditCertificate>
  <CustName>sample string 1</CustName>
  <CustType>6</CustType>
  <ExpireDate>2020-04-04T07:29:25.9195176+08:00</ExpireDate>
  <IsEnableAutoRfresh>true</IsEnableAutoRfresh>
  <IsExpert>true</IsExpert>
  <Level>8</Level>
  <Photo>sample string 3</Photo>
  <PhotoCertificate>true</PhotoCertificate>
  <PracticeCertificate>true</PracticeCertificate>
  <ServiceBoards>
    <ServiceBoard>
      <BoardId>1</BoardId>
      <Name>sample string 3</Name>
      <RegionCode>sample string 2</RegionCode>
    </ServiceBoard>
    <ServiceBoard>
      <BoardId>1</BoardId>
      <Name>sample string 3</Name>
      <RegionCode>sample string 2</RegionCode>
    </ServiceBoard>
  </ServiceBoards>
  <ServiceBuildings>
    <ServiceBuilding>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </ServiceBuilding>
    <ServiceBuilding>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </ServiceBuilding>
  </ServiceBuildings>
  <ServiceName>sample string 7</ServiceName>
  <StoreName>sample string 5</StoreName>
  <Tel>sample string 2</Tel>
  <Version>10</Version>
</SimpleResult>