# Ausstattungselemente

<details>

<summary>Hinweise zur Funktion</summary>

Ausstattungselemente sind bewegliche Dinge im oder am Objekt. Sie müssen **immer einer Ausstattungsgruppenart zugeordnet** sein.

</details>

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

{% hint style="warning" %}
Zu den Endpunkten besteht noch ein offener User-Request, welcher die Struktur des Datenobjektes betrifft.
{% endhint %}

## Ausstattungselement anlegen

#### Version 1.0

***

{% openapi src="<https://application-test.wowiport.de/swagger/openwowi_v1.0/swagger.json>" path="/openwowi/v1.0/ManageFacilityAndComponents/Facility/{facilityId}/Component" method="post" %}
<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/ManageFacilityAndComponents/Facility/{facilityId}/Component" method="post" %}
<https://openwowi-demo.wowiport.de/swagger/openwowi_v1.2/swagger.json>
{% endopenapi %}

***

## Ausstattungselement ändern

#### Version 1.0

***

{% openapi src="<https://application-test.wowiport.de/swagger/openwowi_v1.0/swagger.json>" path="/openwowi/v1.0/ManageFacilityAndComponents/Facility/{facilityId}/Component/{componentId}" method="put" %}
<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/ManageFacilityAndComponents/Facility/{facilityId}/Component/{componentId}" method="put" %}
<https://openwowi-demo.wowiport.de/swagger/openwowi_v1.2/swagger.json>
{% endopenapi %}

***

## Ausstattungselement löschen

#### Version 1.0

***

{% openapi src="<https://application-test.wowiport.de/swagger/openwowi_v1.0/swagger.json>" path="/openwowi/v1.0/ManageFacilityAndComponents/Facility/{facilityId}/Component/{componentId}" method="delete" %}
<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/ManageFacilityAndComponents/Facility/{facilityId}/Component/{componentId}" method="delete" %}
<https://openwowi-demo.wowiport.de/swagger/openwowi_v1.2/swagger.json>
{% endopenapi %}

***

## Enumerationen für FacilityStatusId

| Id | Type      |
| -- | --------- |
| 1  | Unaudited |
| 2  | Audited   |
| 3  | Automatic |

## Enumerationen für "MeteringDeviceTypeId"

| Id | Type                          |
| -- | ----------------------------- |
| 1  | HeatCostAllocatorEvaporation  |
| 2  | HeatCostAllocatorElectronic   |
| 3  | HeatMeterHeatingWarmwater     |
| 4  | MeterColdwater                |
| 5  | MeterWarmwater                |
| 6  | HeatMeterWarmwater            |
| 7  | HeatMeterHeating              |
| 8  | WarmwaterAllocatorEvaporation |
| 9  | WarmwaterAllocatorMechanical  |
| 10 | CondensateMeterHeating        |
| 11 | CondensateMeterWarmwater      |
| 12 | MeterOil                      |
| 13 | MeterPower                    |
| 14 | MeterGas                      |
| 15 | PipeHeatEmission              |
