From e7f43db676907f08eb0fcd922128e8a358054828 Mon Sep 17 00:00:00 2001 From: mpeltriaux Date: Wed, 27 Apr 2022 10:24:20 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Eapi=20v1=20deduction=20json=20properti?= =?UTF-8?q?es=20de=E2=80=9C=20hinzuf=C3=BCgen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api-v1-deduction-json-properties-de.md | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 api-v1-deduction-json-properties-de.md diff --git a/api-v1-deduction-json-properties-de.md b/api-v1-deduction-json-properties-de.md new file mode 100644 index 0000000..a305f89 --- /dev/null +++ b/api-v1-deduction-json-properties-de.md @@ -0,0 +1,29 @@ +# Json Attribute +## Ökokonto Abbuchung + +### Beispiel +
+ Beispiel body (POST|PUT) + +```json +{ + "eco_account": "3e7acd84-bb67-408d-886e-91004c319f38", + "surface": 500.0, + "intervention": "75c656e3-fdb9-46d5-bbd2-8dd26b6d295f" +} + + +``` + +
+ +### 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. \ No newline at end of file