开放接口/楼栋(列表)

最后更新:2016-10-10

URL

/rest/plotBuilding

HTTP请求方式

GET

注意事项

返回数据的排序与平台中前台各位置展示的顺序一致,暂不支持自定义排序

请求参数

参数名 必选 类型及范围 说明
token string 后台“开放接口”页面可查看到,代表授权的唯一标识
count int 单页返回的记录数,默认为10
page int 返回结果的页码,默认为0(初始页码从0开始)
hid int 是否返回某特定楼盘的楼栋列表,0代表返回所有楼盘的楼栋列表,默认为0

返回结果

{
  "count": "4",
  "data": [
    {
      "id": "10",
      "hid": "2482",
      "name": "11#",
      "unit_total": "5",
      "household_total": "100",
      "floor_total": "20",
      "sale_total": "70",
      "lift_house_match": "3:5",
      "pid": "6",
      "open_time": "0",
      "created": "1468229523",
      "delivery_time": "0",
      "plot": "雅居乐星河湾",
      "plot_url": "http://www.hjhouse.com/yajulexinghewan"
    }
  ]
}

返回字段说明

返回值字段 字段类型 字段说明
count integer 数据总量
data[]
id integer 数据id
hid integer 关联的楼盘id
name string 楼栋名称
unit_total integer 单元数
household_total integer 规划户数
floor_total integer 楼层数
sale_total integer 在售户数
lift_house_match string 梯户配比
pid integer 关联的期数id
open_time string 开盘时间
created string 创建时间
delivery_time string 交付时间
plot string 关联楼盘名称
plot_url string 关联楼盘链接