# Wirtschaftseinheiten

{% hint style="danger" %}
Die Endpunkte der Version 1.2 sind momentan in der Entwicklung und können noch Änderungen erfahren.
{% endhint %}

<details>

<summary>Hinweise zur Funktion</summary>

Wirtschaftseinheiten sind eine zusammengehörige Gruppe von Gebäuden und Freiflächen, welche zusammen eine Einheit bilden.&#x20;

</details>

## Wirtschaftseinheiten abrufen

#### Version 1.0

***

{% openapi src="<https://application-test.wowiport.de/swagger/openwowi_v1.0/swagger.json>" path="/openwowi/v1.0/CommercialInventory/EconomicUnits" method="get" %}
<https://application-test.wowiport.de/swagger/openwowi_v1.0/swagger.json>
{% endopenapi %}

***

#### Version 1.2

***

{% openapi src="<https://openwowi-demo.wowiport.de/swagger/openwowi_v1.2/swagger.json>" path="/openwowi/v1.2/CommercialInventory/EconomicUnits" method="get" %}
<https://openwowi-demo.wowiport.de/swagger/openwowi_v1.2/swagger.json>
{% endopenapi %}

***

## Die Enumerationseinträge für Status ID lauten folgendermaßen:

| ID | Type                            |
| -- | ------------------------------- |
| 1  | Bauvorbereitung                 |
| 2  | Bauerstellung                   |
| 3  | Fertige, nicht abgerechnete WIE |
| 4  | Fertige, abgerechnete WIE       |
| 5  | Inaktiv                         |

Den Endpunkt für den Verweis auf das Buchwerk finden Sie im [Belegsystem](/schnittstelle-v1.x/belegsystem/belegsystem-stammdaten/companycodes.md).&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.openwowi.de/schnittstelle-v1.x/objektdaten/wirtschaftseinheiten.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
