Skip to content

Commit

Permalink
APISMART-1424: add C(r)UD ratenkredit (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptoki authored Oct 26, 2022
1 parent 436262c commit 083b530
Showing 1 changed file with 48 additions and 9 deletions.
57 changes: 48 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,30 @@ can be found in the `errors` field of the response body. More information about

> Delete an existing private Krankenversicherung. The Haushaltsposition is referenced by the `id`.
### Update sonstige Verbindlichkeit
### Update Ratenkredit

#### Hints

* If the `finanzierungszweck` of the Vorgang is `FAHRZEUGKAUF` then this position cannot be refinanced. This means that `abloesen` cannot be `true` and will be set to `false` if it is. Related fields
will not be saved.
Related fields are `bic`, `datumErsteZahlung`, `iban`, and `urspruenglicherKreditbetrag`.

* If `iban` or `bic` are invalid, the value will be ignored and set to `null`.

**addRatenkredit** ( vorgangsnummer String!, ratenkredit [Ratenkredit](#ratenkredit)! ) -> [BasicCreatedResponse](#basiccreatedresponse)!

> Add a ratenkredit to a Vorgang. The Response contains the `id` of the created Haushaltsposition. This `id` can be used to update or delete this Haushaltsposition.
**updateRatenkredit** ( vorgangsnummer: String!, id: String!, ratenkredit [Ratenkredit](#ratenkredit)! )
-> [BasicResponse](#basicresponse)!

> Update an existing ratenkredit. The Haushaltsposition is referenced by the `id`.
**deleteRatenkredit** ( vorgangsnummer: String!, id: String!) -> [BasicResponse](#basicresponse)!

> Delete an existing ratenkredit. The Haushaltsposition is referenced by the `id`.
### Update Sonstige Verbindlichkeit

#### Hints

Expand All @@ -461,7 +484,7 @@ can be found in the `errors` field of the response body. More information about

> Add a sonstige Verbindlichkeit to a Vorgang. The Response contains the `id` of the created Haushaltsposition. This `id` can be used to update or delete this Haushaltsposition.
**updateSonstigeVerbindlichkeit** ( vorgangsnummer: String!, id: String!, sonstigeVerbindlichkeit [SonstigeVerbindlichkeit](#sontigeVerbindlichkeit)! )
**updateSonstigeVerbindlichkeit** ( vorgangsnummer: String!, id: String!, sonstigeVerbindlichkeit [SonstigeVerbindlichkeit](#sonstigeVerbindlichkeit)! )
-> [BasicResponse](#basicresponse)!

> Update an existing sonstige Verbindlichkeit. The Haushaltsposition is referenced by the `id`.
Expand Down Expand Up @@ -930,6 +953,22 @@ In addition there is the value "SONSTIGE" ("other")
"betragMonatlich": BigDecimal
}

### Ratenkredit

{
"abloesen": Boolean,
"antragstellerIds": [ String ],
"bic": String,
"datumErsteZahlung": LocalDate,
"datumLetzteRate": LocalDate,
"glaeubiger": String,
"iban": String,
"rateMonatlich": BigDecimal,
"restschuld": BigDecimal,
"schlussrate": BigDeciaml,
"urspruenglicherKreditbetrag": BigDecimal
}

### Ratenschutz

{
Expand All @@ -947,13 +986,6 @@ In addition there is the value "SONSTIGE" ("other")
"wichtig": Boolean
}

### Unterhaltsverpflichtung

{
"antragstellerIds": [ String ],
"betragMonatlich": BigDecimal
}

### SonstigeVerbindlichkeit

{
Expand All @@ -970,6 +1002,13 @@ In addition there is the value "SONSTIGE" ("other")
"urspruenglicherKreditbetrag": BigDecimal
}

### Unterhaltsverpflichtung

{
"antragstellerIds": [ String ],
"betragMonatlich": BigDecimal
}

### Wohnsituation

{
Expand Down

0 comments on commit 083b530

Please sign in to comment.