„api v1 deduction json properties de“ hinzufügen

mpeltriaux 2022-04-27 10:24:20 +02:00
parent 33d249b7df
commit e7f43db676

@ -0,0 +1,29 @@
# Json Attribute
## Ökokonto Abbuchung
### Beispiel
<details>
<summary>Beispiel body (POST|PUT)</summary>
```json
{
"eco_account": "3e7acd84-bb67-408d-886e-91004c319f38",
"surface": 500.0,
"intervention": "75c656e3-fdb9-46d5-bbd2-8dd26b6d295f"
}
```
</details>
### Attribute
* `eco_account` (str):
* Id des zu belastenden Ökokontos
* `surface` (float):
* Menge der abzubuchenden Fläche in m²
* `intervention` (str):
* Id des profitierenden Eingriffs
### Pflichtattribute
Alle Attribute sind Pflichtattribute, sowohl beim Anlegen als auch Bearbeiten.