1 api v1 deduction json properties de
mpeltriaux edited this page 2022-04-27 10:24:20 +02:00

Json Attribute

Ökokonto Abbuchung

Beispiel

Beispiel body (POST|PUT)
{
    "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.