Description
Buildings represent physical properties or locations associated with a company. Consumptions (electricity, heating, etc.) are linked to buildings.Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /api/v1/companies/{id}/buildings | List company buildings |
| GET | /api/v1/companies/{id}/buildings/regos | Building REGOs |
| GET | /api/v1/companies/{id}/buildings/regos-dashboard | REGOs dashboard |
| POST | /api/v1/buildings/move | Move buildings to another company |
Example: List buildings
Usage in consumptions
When creating a consumption, you must provide the correspondingbuildingId. Retrieve IDs using the buildings endpoint.
