POST api/lease/getedit

获取待编辑的出租房信息

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

Request 信息

URI 参数

None.

Body 参数

参数

LeaseEditModel
名称说明数据类型附加信息
HouId

房源Id

integer

Required

City

城市

string

Required

Token

token

string

Required

Platform

string

None.

Request 数据格式

application/json, text/json

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

application/xml, text/xml

示例:
<LeaseEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.Lease">
  <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>
  <HouId>1</HouId>
</LeaseEditModel>

application/x-www-form-urlencoded

示例:

Response 信息

输出返回说明

结果

LeaseEditResult
名称说明数据类型附加信息
IsHot

热租

boolean

None.

IsAgencyFee

免中介费

boolean

None.

IsUrgently

急租

boolean

None.

LeaseWay

出租方式Id

integer

None.

LeasePayWay

付,如付3

integer

None.

Bail

押,如押1

integer

None.

HouseFixing

房屋配置

string

None.

UnitId

单位

integer

None.

LeftLabelCount

剩余标签数

integer

None.

SellStatus

销售状态

integer

None.

BuildingId

小区Id

integer

None.

BuildingName

小区名

string

None.

Addr

地址

string

None.

HouseKind

房源性质 如:小区、排屋等

integer

None.

RoomCount

integer

None.

HollCount

integer

None.

LooCount

integer

None.

Cookroom

integer

None.

Terrace

阳台

integer

None.

BirthYear

年代

integer

None.

InsideCode

内部编号

string

None.

BldgArea

面积

decimal number

None.

RefPrice

价格

decimal number

None.

Floor

所在楼层

integer

None.

FloorCount

总楼层

integer

None.

Deck

装修

integer

None.

Direct

朝向

integer

None.

HouseCommend

房源描述

string

None.

Remark

房源说明

string

None.

Pics

主图

string

None.

LinkMan

联系人 个人/房东

string

None.

LinktTel

联系电话 个人/房东

string

None.

RoomTypeImgs

户型图

Collection of HouseImage

None.

HouseImgs

房源室内图

Collection of HouseImage

None.

ErrorCode

API错误码

APIErrorCode

None.

Msg

附带消息

string

None.

Response 返回数据格式

application/json, text/json

示例:
{
  "IsHot": true,
  "IsAgencyFee": true,
  "IsUrgently": true,
  "LeaseWay": 4,
  "LeasePayWay": 5,
  "Bail": 6,
  "HouseFixing": "sample string 7",
  "UnitId": 8,
  "LeftLabelCount": 9,
  "SellStatus": 10,
  "BuildingId": 11,
  "BuildingName": "sample string 12",
  "Addr": "sample string 13",
  "HouseKind": 14,
  "RoomCount": 15,
  "HollCount": 16,
  "LooCount": 17,
  "Cookroom": 18,
  "Terrace": 19,
  "BirthYear": 20,
  "InsideCode": "sample string 21",
  "BldgArea": 22.0,
  "RefPrice": 23.0,
  "Floor": 24,
  "FloorCount": 25,
  "Deck": 26,
  "Direct": 27,
  "HouseCommend": "sample string 28",
  "Remark": "sample string 29",
  "Pics": "sample string 30",
  "LinkMan": "sample string 31",
  "LinktTel": "sample string 32",
  "RoomTypeImgs": [
    {
      "ResId": 1,
      "IsMain": true,
      "FileName": "sample string 2",
      "Title": "sample string 3",
      "Ext": "sample string 4",
      "Path": "sample string 5"
    },
    {
      "ResId": 1,
      "IsMain": true,
      "FileName": "sample string 2",
      "Title": "sample string 3",
      "Ext": "sample string 4",
      "Path": "sample string 5"
    }
  ],
  "HouseImgs": [
    {
      "ResId": 1,
      "IsMain": true,
      "FileName": "sample string 2",
      "Title": "sample string 3",
      "Ext": "sample string 4",
      "Path": "sample string 5"
    },
    {
      "ResId": 1,
      "IsMain": true,
      "FileName": "sample string 2",
      "Title": "sample string 3",
      "Ext": "sample string 4",
      "Path": "sample string 5"
    }
  ],
  "ErrorCode": 0,
  "Msg": "sample string 33"
}

application/xml, text/xml

示例:
<LeaseEditResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.Lease">
  <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 33</Msg>
  <Addr xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">sample string 13</Addr>
  <BirthYear xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">20</BirthYear>
  <BldgArea xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">22</BldgArea>
  <BuildingId xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">11</BuildingId>
  <BuildingName xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">sample string 12</BuildingName>
  <Cookroom xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">18</Cookroom>
  <Deck xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">26</Deck>
  <Direct xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">27</Direct>
  <Floor xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">24</Floor>
  <FloorCount xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">25</FloorCount>
  <HollCount xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">16</HollCount>
  <HouseCommend xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">sample string 28</HouseCommend>
  <HouseImgs xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">
    <HouseImage>
      <Ext>sample string 4</Ext>
      <FileName>sample string 2</FileName>
      <IsMain>true</IsMain>
      <Path>sample string 5</Path>
      <ResId>1</ResId>
      <Title>sample string 3</Title>
    </HouseImage>
    <HouseImage>
      <Ext>sample string 4</Ext>
      <FileName>sample string 2</FileName>
      <IsMain>true</IsMain>
      <Path>sample string 5</Path>
      <ResId>1</ResId>
      <Title>sample string 3</Title>
    </HouseImage>
  </HouseImgs>
  <HouseKind xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">14</HouseKind>
  <InsideCode xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">sample string 21</InsideCode>
  <LeftLabelCount xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">9</LeftLabelCount>
  <LinkMan xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">sample string 31</LinkMan>
  <LinktTel xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">sample string 32</LinktTel>
  <LooCount xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">17</LooCount>
  <Pics xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">sample string 30</Pics>
  <RefPrice xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">23</RefPrice>
  <Remark xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">sample string 29</Remark>
  <RoomCount xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">15</RoomCount>
  <RoomTypeImgs xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">
    <HouseImage>
      <Ext>sample string 4</Ext>
      <FileName>sample string 2</FileName>
      <IsMain>true</IsMain>
      <Path>sample string 5</Path>
      <ResId>1</ResId>
      <Title>sample string 3</Title>
    </HouseImage>
    <HouseImage>
      <Ext>sample string 4</Ext>
      <FileName>sample string 2</FileName>
      <IsMain>true</IsMain>
      <Path>sample string 5</Path>
      <ResId>1</ResId>
      <Title>sample string 3</Title>
    </HouseImage>
  </RoomTypeImgs>
  <SellStatus xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">10</SellStatus>
  <Terrace xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">19</Terrace>
  <Bail>6</Bail>
  <HouseFixing>sample string 7</HouseFixing>
  <IsAgencyFee>true</IsAgencyFee>
  <IsHot>true</IsHot>
  <IsUrgently>true</IsUrgently>
  <LeasePayWay>5</LeasePayWay>
  <LeaseWay>4</LeaseWay>
  <UnitId>8</UnitId>
</LeaseEditResult>