Example API calls

A collection of example API calls to the service.

Using all input features

{
        "postcode": "7576XX",
        "housenumber": 39,
        "houseaddition": "",
        "build_year": 1940,
        "wall_insulation": 2,
        "floor_insulation": 2,
        "sloped_roof_insulation": 2,
        "flat_roof_insulation": 2,
        "living_room_windows":1,
        "bedroom_windows":1,
	"shower": 1,
        "electric_cooking":2,
        "roof_type":1,
        "cooling":2,
        "installation":3,
	"search_criteria": 3,
        "target_label": "A++",
        "energylabel_strict": 0,
        "max_investment":200000,
        "inhabitants":4,
        "gas_usage": 800,
        "heat_usage": 40,
        "electricity_usage":3000,
        "electricity_generation": 100,
        "minimum_solar_panels": 3,
        "heatpump_insulation_req": 3,
        "natural_gas":1,
        "exclude_vat":false,
        "heat_pump_allowed":true,
        "district_heating_allowed":false,
        "solar_panels": [
	       {"pv_total_watt_peak": 2500,
		"angle": 35,
		"orientation": 180,
		"free_roof_area": 20.0,
		"roof_type": 1
	        }],
        "cost_indicators":{"fixed_gas_price":100},
	      "lock_measures": {
        	"lock": ["floor_insulation"]
    }
}

Adding current object and usage data

{
  "postcode": "2771DS",
  "housenumber": "87",
  "houseaddition": "",
  "build_year": 2000,
  "inner_surface_area": 130,
  "house_type": null,
  "heat_usage": null,
  "electricity_usage": 4500,
  "gas_usage": 750
}

Adding current status of measures

{
  "postcode": "2771DS",
  "housenumber": "87",
  "houseaddition": "",
  "wall_insulation": 2,
  "sloped_roof_insulation": 2,
  "flat_roof_insulation": 2,
  "floor_insulation": 2,
  "living_room_windows": 2,
  "bedroom_windows": 1,
  "installation": 4,
  "shower": 1,
  "ventilation": 1,
   "solar_panels": [
	       {"pv_area": 20,
	        "specific_watt_peak": 227.0,
		"angle": 35,
		"orientation": 180,
		"free_roof_area": 20.0,
		"roof_type": 1
	        }]
}

Adding requirements from the customer and/or supplier TBA

Using advanced functions

{
  "postcode": "2771DS",
  "housenumber": "87",
  "houseaddition": "",
  "eco_delta": 1,
  "fetch_definitive_label": 1,
  "search_criteria": 1,
  "energylabel_strict": 1
}

Last updated