Query House

Last Updated on : 2023-06-21 07:13:10download

Query the orientation, area, and other information of the house according to the space ID of the house node. The extension information about the house isreturned.

API address

GET: /v1.0/iot-02/community/room

Request parameter

Parameter nameTypeINRequiredDescription
block_idStringquerytrueThe ID of the community in which the resident lives.
tree_idStringquerytrueThe space ID of a specified house node.

Return parameter

Parameter nameTypeDescription
resultHighwayRoomDetailResponseDetails of the house.

Description of result

Parameter nameTypeDescription
block_idStringThe ID of the community in which the resident lives.
tree_idStringThe space ID of a specified house node.
parent_tree_idStringThe ID of a specified parent node.
meta_codeStringThe house type.
  • house: House.
valueStringThe house name.
room_siteStringThe house name.
room_nameStringThe house name.
room_statusStringThe status of the house.
  • 2: Vacant.
  • 3: Sold.
  • 5: Rented.
  • 6: For personal use.
  • 7: For sale.
  • 9: Others.
room_sizeStringThe house area.
door_modelStringThe house layout. For example, 3/2/1/1 means three bedrooms, two rooms (including one living room and one dining room), one kitchen, and one bathroom.
room_towardIntegerThe house orientation.
  • 1: East-facing.
  • 2: South-facing.
  • 3: West-facing.
  • 4: North-facing.
hand_over_dateLongThe date on which the house was delivered.
period_intStringThe tenure of property rights.

Request example

GET: /v1.0/iot-02/community/householder?blockId=136767399153950xxxx&tree_id=139215249742181xxxx

Return example

{
    "room_size": "1",
    "room_site": "Grand Center_xx1, Unit 1, Building A",
    "room_status": 5,
    "room_img": "",
    "room_name": "101",
    "room_site_id": "139208325392556xxxx",
    "period_int": "70 years"
}

Error code

For more information, see error code.