POST api/new/getedit

获取待编辑的新房信息

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

Request 信息

URI 参数

None.

Body 参数

参数

NewEditModel
名称说明数据类型附加信息
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

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

application/x-www-form-urlencoded

示例:

Response 信息

输出返回说明

结果

NewEditResult
名称说明数据类型附加信息
NewHouseType

期房或现房

integer

None.

HouseNo

房号

string

None.

DeliveryDate

期房的交房时间

date

None.

IsHot

是否热售

boolean

None.

IsUrgentSale

是否急售

boolean

None.

IsFreeDuty

是否免税

boolean

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

示例:
{
  "NewHouseType": 1,
  "HouseNo": "sample string 1",
  "DeliveryDate": "2020-04-06T03:08:47.9299785+08:00",
  "IsHot": true,
  "IsUrgentSale": true,
  "IsFreeDuty": true,
  "LeftLabelCount": 5,
  "SellStatus": 6,
  "BuildingId": 7,
  "BuildingName": "sample string 8",
  "Addr": "sample string 9",
  "HouseKind": 10,
  "RoomCount": 11,
  "HollCount": 12,
  "LooCount": 13,
  "Cookroom": 14,
  "Terrace": 15,
  "BirthYear": 16,
  "InsideCode": "sample string 17",
  "BldgArea": 18.0,
  "RefPrice": 19.0,
  "Floor": 20,
  "FloorCount": 21,
  "Deck": 22,
  "Direct": 23,
  "HouseCommend": "sample string 24",
  "Remark": "sample string 25",
  "Pics": "sample string 26",
  "LinkMan": "sample string 27",
  "LinktTel": "sample string 28",
  "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 29"
}

application/xml, text/xml

示例:
<NewEditResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.New">
  <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 29</Msg>
  <Addr xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">sample string 9</Addr>
  <BirthYear xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">16</BirthYear>
  <BldgArea xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">18</BldgArea>
  <BuildingId xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">7</BuildingId>
  <BuildingName xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">sample string 8</BuildingName>
  <Cookroom xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">14</Cookroom>
  <Deck xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">22</Deck>
  <Direct xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">23</Direct>
  <Floor xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">20</Floor>
  <FloorCount xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">21</FloorCount>
  <HollCount xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">12</HollCount>
  <HouseCommend xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">sample string 24</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">10</HouseKind>
  <InsideCode xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">sample string 17</InsideCode>
  <LeftLabelCount xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">5</LeftLabelCount>
  <LinkMan xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">sample string 27</LinkMan>
  <LinktTel xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">sample string 28</LinktTel>
  <LooCount xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">13</LooCount>
  <Pics xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">sample string 26</Pics>
  <RefPrice xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">19</RefPrice>
  <Remark xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">sample string 25</Remark>
  <RoomCount xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">11</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">6</SellStatus>
  <Terrace xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.House">15</Terrace>
  <IsFreeDuty xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.Trade">true</IsFreeDuty>
  <IsHot xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.Trade">true</IsHot>
  <IsUrgentSale xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.Trade">true</IsUrgentSale>
  <DeliveryDate>2020-04-06T03:08:47.9299785+08:00</DeliveryDate>
  <HouseNo>sample string 1</HouseNo>
  <NewHouseType>1</NewHouseType>
</NewEditResult>