„api-v1-deduction-put_de“ hinzufügen
parent
bad0715cab
commit
47227aa0af
29
api-v1-deduction-put_de.md
Normal file
29
api-v1-deduction-put_de.md
Normal file
@ -0,0 +1,29 @@
|
||||
## Spezifikation
|
||||
### Ökokonto Abbuchung
|
||||
|
||||
#### PUT
|
||||
Mit `PUT` kann eine Ökokonto Abbuchung überarbeitet werden. Die Kompensationsdaten werden im Request body als `application/json` gesendet. War der Request erfolgreich, erhält der Sender die `id` des überarbeiteten Eintrags.
|
||||
|
||||
`/api/v1/deduction/<uuid>`
|
||||
|
||||
#### Beispiel Body
|
||||
|
||||
```json
|
||||
{
|
||||
"eco_account": "3e7acd84-bb67-408d-886e-91004c319f38",
|
||||
"surface": 152200.0,
|
||||
"intervention": "75c656e3-fdb9-46d5-bbd2-8dd26b6d295f"
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
#### Beispiel Response
|
||||
```json
|
||||
{
|
||||
"id": "5ed582e0-b895-44c9-a6c9-211f0f546726"
|
||||
}
|
||||
|
||||
```
|
Loading…
Reference in New Issue
Block a user