...
Code Block |
---|
curl --location --request POST 'https://staging-service-skenarios-priv.herokuapp.com/api/v1/portfolio/yourPortfolioId/building' \ --header 'Authorization: Bearer yourTokenHere' \ --header 'Content-Type: application/json' \ --data-raw '{ "description": "", "address": "Parklaan 18", "postalCode": "1060", "city": "St-Gilles", "country": "BE", "buildingType": "semi-detached house", "floors": 2, "floorArea": 160, "latitude": 50.82649781683444, "longitude": 4.343390067166455, "buildingName": "My building'\''s name", "buildYear":1960, "buildingId":"MyFirstBuilding", "heatingEnergyType": "GAS_BOILERELECTRICITY", "coolingEnergyType": "NONE", "electricityEnergyType": "GRID_ELECTRICITY", "attributes":[ { "key": "CONDITION", "value": "Good" } ] }' |
Heating Types that the application accepts:
GAS_CONDENSING_BOILER
NONE
GAS_BOILER
OIL_BOILER
ELECTRIC_HEATING
HEAT_PUMP_HEATINGELECTRICITY
WATER_SOURCE_HEAT_PUMP
GROUND_SOURCE_HEAT_PUMP
EXHAUST_AIR_HEAT_PUMP
AIR_TO_WATER_HEAT_PUMP
AIR_TO_AIR_HEAT_PUMP
Cooling Types that the application accepts:
NONE
AIR_TO_AIR_HEAT_PUMP
GENERIC_COOLING_SYSTEM
GROUND-SOURCE_HEAT_PUMP
Electricity Types that the application accepts:
GRID_ELECTRICITY
NONE
Building Types that the application accepts:
...
Code Block |
---|
{ "groupId": "BESt-Gilles1060Parklaan 18", "buildingId": "MyFirstBuilding", "description": "", "address": "Parklaan 18,", "postalCode": "1060", "city": "St-Gilles", "country": "BE", "province": null, "buildingType": "semi-detached house", "floors": 2, "floorArea": 160, "buildYear": 1960, "volume": null, "balconies": null, "units": null, "lifts": null, "latitude": 50.82649781683444, "longitude": 4.343390067166455, "created": "2023-03-07T17:43:36.550", "updated": "2023-03-07T17:43:37.006", "buildingName": "My building's name", "polygonUniqueId": null, "nationalBuildingId": null, "attributes": [], "heatingEnergyType": "gas", "electricityEnergyType": "none", "coolingEnergyType": "none", "metadata": {}, "grossInternalArea": null, "netInternalArea": null, "energyClass": null"D-", "eValue": null198, "userConfirmed": false } |
...