文档
测试

修改租赁

PUT
admin/house_rent

接口描述

修改租赁房屋信息(后台)

请求头

参数名
类型
描述
必填
Content-Type
application/json
必填

请求参数

参数名
类型
描述
必填
id
int
房产主键
必填
title
string
房产名称
必填
addr
string
地址
必填
rent
string
月租金
必填
rate
string
年化收益
必填
unit_price
string
单价
必填
market_price
string
每平方英尺的市场单价(ERV)
必填
area
string
面积
必填
sale_type
string
销售类型(1债券 2竞拍 3租赁)
必填
property_type
string
物业类型(1长期租赁 2永久业权)
必填
house_type
int
房屋类型(1商用 2民宅)
必填
legal_amount
string
法币价格
必填
legal_currency
string
法币价格单位
必填
increase_hot
string
增发hot数量
必填
investment_case
string
投资案例(请输入url)
必填
property_details
string
物业详情(请输入url)
必填
documents
string
文件说明(请输入url)
必填
solicitors
object
必填
id
必填
url
必填
surveyors
object
请输入url
必填
id
必填
url
必填
title_deeds
object
请输入url
必填
id
必填
url
必填
certificate
object
请输入url
必填
id
必填
url
必填
credit_risk
object
请输入url
必填
id
必填
url
必填
payment
object
请输入url
必填
id
必填
url
必填
financials
object
投资案例
必填
id
必填
url
必填
destruction_detail
object
增发销毁详情(请输入url)
必填
id
必填
url
必填
icon
object
房屋头像(请输入url)
必填
id
必填
url
必填
covers
数组
列表图片
必填
id
string
(请输入url)
必填
pic_mobile
string
(请输入url)
必填
pic_web_low_definition
必填
pic_web_high_definition
必填
is_cover
必填
rent_house
数组
租赁房产信息
必填
title
string
租赁房产名称
必填
default_display
int
前台默认显示哪种租金价格(1-日 2-周 3-月 4-季度)
必填
rent_price_day
float
日租金价格
必填
rent_price_week
float
周租金价格
必填
rent_price_month
float
月租金价格
必填
rent_price_quarter
float
季度租金价格
必填
currency
string
租金价格货币单位
必填
pre_publish_time
string
预发布时间
必填
publish_time
string
发布时间(即开始租赁时间)
必填
icon
object
租赁头像
必填
id
必填
url
必填
rent_state
int
租赁状态(1预发布 2待租赁 3租赁中 4已出租)
必填
id
int
rent表的主键id
必填
city
string
城市
必填
bed_rooms
int
bed_rooms房间数量,10+用11代替
必填
shower_rooms
int
shower_rooms房间数量,10+用11代替
必填
reception_rooms
int
reception_rooms房间数量,10+用11代替
必填
address_pic
object
房产地址图片
必填
id
必填
url
必填
floor
int
楼层
必填

说明 / 示例

` { "title": "测试租赁1", "addr": "London,EC2R 7AS", "rent": "18969", "city":"Bath", "bed_rooms":1, "shower_rooms":2, "reception_rooms":3, "rate": "5.11", "unit_price": "59.12", "market_price": "65", "area": "1121402", "sale_type": 2, "property_type": 1, "house_type": 1, "legal_amount": "1000000", "legal_currency": "GBP", "increase_hot": "1000000", "investment_case": "https://s3.ax1x.com/2020/12/25/rRqu6g.png", "property_details": "https://s3.ax1x.com/2020/12/25/rRqKXQ.png", "destruction_detail": "https://s3.ax1x.com/2020/12/25/rRqn1S.png", "financials": "* https://s3.ax1x.com/2020/12/25/rRqn1S.png**", "documents": { "solicitors": "https://docs.britishpearl.com/pdf/69/property-documents/Hereford_Solicitors_Report.pdf", "surveyors": "https://docs.britishpearl.com/pdf/69/property-documents/Hereford_Surveyors_Report.pdf", "title_deeds": "https://docs.britishpearl.com/pdf/69/property-documents/Hereford_Title_Deeds.pdf", "certificate": "https://docs.britishpearl.com/pdf/69/property-documents/1587991918-Hereford.pdf", "credit_risk": "https://docs.britishpearl.com/pdf/69/property-documents/1575678632-CreditRiskAssessment_Hereford.pdf", "payment": "https://docs.britishpearl.com/pdf/69/property-documents/1597059547-Hereford-2020-08-31.pdf" }, "cover": [ { "cover": "https://s3.ax1x.com/2020/12/26/rhc2qK.png" }, { "cover": "https://s3.ax1x.com/2020/12/26/rhc5PH.png" }, { "cover": "https://s3.ax1x.com/2020/12/26/rhchIe.png" } , { "cover": "https://s3.ax1x.com/2020/12/26/rhcfaD.png" } ], "rent_house": { "title": "rent_house_title1", "default_display": 1, "rent_price_day": 100, "rent_price_week": 700, "rent_price_month": 2700, "rent_price_quarter": 8000, "publish_time":"2021-04-20T20:20:00.954969+08:00", "pre_publish_time": "2021-04-21T10:15:00.954969+08:00", "currency": "GBP", "icon": "https://s3.ax1x.com/2020/12/22/rr8xPK.png" } } `