Migration Guide: v1 β v2
This page provides an overview of the changes required when migrating from v1 to v2 of the API.
1. Request Body Changes
v1
{
"post_code": "2771DS",
"house_number": "87",
"house_addition": ""
}v2
{
"postcode": "2771DS",
"housenumber": "87",
"houseaddition": ""
}2. Input Changes
a. Basic Features
New Inputs
roof_typeelectric_cookingcooling
Renamed Inputs
roof_insulationβsloped_roof_insulationroof_insulationβflat_roof_insulation
Solar Panel Input Changes
The solar_panels structure has changed from a single integer value to a list describing individual solar panel installations.
New solar panel related fields include:
solar_panels(per solar panel)pv_total_watt_peakpv_areaspecific_watt_peakangleorientationroof_type
3. Output Changes
The response structure now includes additional fields and updated naming.
Renamed Outputs
roof_insulationβsloped_roof_insulationroof_insulationβflat_roof_insulation
New Outputs
coolingelectric_cookingsolar_panels(per solar panel)roof_surfaceroof_typeoriginal_watt_peak_capacitytotal_watt_peak_capacityinclination_angleorientation
4. Feature Value Changes
The value range for several features has changed.
Previously these values ranged from 0β3, but they now range from 1β4.
Affected features include:
wall_insulationfloor_insulationflat_roof_insulationsloped_roof_insulationliving_room_windowsbedroom_windows
Example
v1
v2
Laatst bijgewerkt