Example API calls

A collection of example API calls to the service.

Simple call

{
    "postcode": "2771DS",
    "housenumber": 87,
    "houseaddition": ""
}

Adding building parameters

{
    "postcode": "2771DS",
    "housenumber": 87,
    "houseaddition": "",
    "build_year" : 1961,
    "house_type": 1,
    "roof_type": 1,
    "inner_surface_area": 131
}

Adding current measures

{
    "postcode": "2771DS",
    "housenumber": 87,
    "houseaddition": "",
    "wall_insulation": 1,
    "floor_insulation": 1,
    "sloped_roof_insulation": 1,
    "flat_roof_insulation": 1,
    "living_room_windows": 1,
    "bedroom_windows": 1,
    "shower": 1,
    "cooling": 1,
    "electric_cooking": 1,
    "ventilation": 1,
    "installation": 4
}

If no target measures are applied, the target situation is the same as the current situation!

e.g. "target_wall_insulation" = "wall_insulation"

Adding target measures

Adding solar panels

Adding usage data

Adding more features

Last updated