List buildings
POST/v1/buildings
Retrieves buildings based on a property registration number and related details. Supports filtering by municipality code, property registration number, and optionally, story number or lease number. If "expandToSections" is true, it includes sections (snr = seksjoner) related to the primary property.
The SequenceNumber represents the building number (bygningsnummer) in Norwegian. It is NULL for the primary building part but can have extensions with SequenceNumber ranging from 1 to X for each change/extension:
- O: Reconstruction (Ombygging) - A time-limited change of use that involves physical alterations to the building, such as the establishment of new units. If only parts of the main building are demolished down to the foundation, it is considered a Reconstruction.
- P: Vertical extension (Påbygg) - Building addition on top of the main building.
- T: Horizontal addition (Tilbygg) - Building addition in the same plan as the main building.
- U: Subterranean addition (Underbygg) - Building addition under the main building.
If includeRemovedBuildings is true, buildings with the following codes are included:
- BA: Construction cancelled (Bygging avlyst) - Code for construction being cancelled
- BF: Building moved (Bygning flyttet) - Code for the building being moved.
- BR: Building is demolished or burned (Bygning revet eller brent) - Code for the building being demolished or burnt.
- BU: Building number has expired (Bygningsnr utgått) - Code that the building unit has been discontinued (for reasons other than demolished, burnt or cancelled).
Request
Responses
- 200
- 400
- 500