POST api/publish/publishroblist

经纪人获取抢到的卖房出租(客户)列表 for 经纪人

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

Request 信息

URI 参数

None.

Body 参数

参数

PublishRobListModel
名称说明数据类型附加信息
PublishType

请求类型,卖房or出租

PUBLISHTYPE

Required

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

示例:
{
  "PublishType": 0,
  "Pi": 1,
  "Ps": 1,
  "City": "sample string 1",
  "Token": "sample string 2",
  "Platform": "sample string 3"
}

application/xml, text/xml

示例:
<PublishRobListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.Publish">
  <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>
  <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>
  <PublishType>Sell</PublishType>
</PublishRobListModel>

application/x-www-form-urlencoded

示例:

Response 信息

输出返回说明

结果

PublishRobListResult
名称说明数据类型附加信息
List

抢到的卖房或出租房源列表

Collection of Publish

None.

TotalCount

总记录数

integer

None.

TotalPage

总页数

integer

None.

ErrorCode

API错误码

APIErrorCode

None.

Msg

附带消息

string

None.

Response 返回数据格式

application/json, text/json

示例:
{
  "List": [
    {
      "Name": "sample string 1",
      "PublishCustId": 2,
      "UserId": 3,
      "ClientId": "sample string 4",
      "Phone": "sample string 5",
      "IsImport": true,
      "Type": 0,
      "Id": 7,
      "BuildingId": 8,
      "BuildingName": "sample string 9",
      "RoomCount": 10,
      "Area": 11.1,
      "Price": 12.1,
      "Description": "sample string 13",
      "CreateTime": "2020-04-06T03:06:52.5056766+08:00",
      "Platform": "sample string 14"
    },
    {
      "Name": "sample string 1",
      "PublishCustId": 2,
      "UserId": 3,
      "ClientId": "sample string 4",
      "Phone": "sample string 5",
      "IsImport": true,
      "Type": 0,
      "Id": 7,
      "BuildingId": 8,
      "BuildingName": "sample string 9",
      "RoomCount": 10,
      "Area": 11.1,
      "Price": 12.1,
      "Description": "sample string 13",
      "CreateTime": "2020-04-06T03:06:52.5056766+08:00",
      "Platform": "sample string 14"
    }
  ],
  "TotalCount": 1,
  "TotalPage": 2,
  "ErrorCode": 0,
  "Msg": "sample string 3"
}

application/xml, text/xml

示例:
<PublishRobListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.Publish">
  <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>
  <List>
    <RobHouseResult.Publish>
      <Area>11.1</Area>
      <BuildingId>8</BuildingId>
      <BuildingName>sample string 9</BuildingName>
      <CreateTime>2020-04-06T03:06:52.5056766+08:00</CreateTime>
      <Description>sample string 13</Description>
      <Id>7</Id>
      <Phone i:nil="true" />
      <Platform>sample string 14</Platform>
      <Price>12.1</Price>
      <RoomCount>10</RoomCount>
      <ClientId>sample string 4</ClientId>
      <IsImport>true</IsImport>
      <Name>sample string 1</Name>
      <Phone>sample string 5</Phone>
      <PublishCustId>2</PublishCustId>
      <Type>Sell</Type>
      <UserId>3</UserId>
    </RobHouseResult.Publish>
    <RobHouseResult.Publish>
      <Area>11.1</Area>
      <BuildingId>8</BuildingId>
      <BuildingName>sample string 9</BuildingName>
      <CreateTime>2020-04-06T03:06:52.5056766+08:00</CreateTime>
      <Description>sample string 13</Description>
      <Id>7</Id>
      <Phone i:nil="true" />
      <Platform>sample string 14</Platform>
      <Price>12.1</Price>
      <RoomCount>10</RoomCount>
      <ClientId>sample string 4</ClientId>
      <IsImport>true</IsImport>
      <Name>sample string 1</Name>
      <Phone>sample string 5</Phone>
      <PublishCustId>2</PublishCustId>
      <Type>Sell</Type>
      <UserId>3</UserId>
    </RobHouseResult.Publish>
  </List>
</PublishRobListResult>