> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alforse.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Vertragskonfiguration

> Vertragstypen und Lebenszyklusvorlagen verwalten.

Vertragskonfigurationsendpunkte verwalten Vertragstypen und Lebenszyklusvorlagen. Business-Codes müssen dem dokumentierten Format folgen.

| Endpunkt                                                            | Body/Parameter                                                        | Berechtigung                      |
| ------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------- |
| `GET /contract-config/catalog`                                      | —                                                                     | `contract_view view`              |
| `POST /contract-config/types`                                       | `code, name, category, fieldSchema, defaultRules`                     | `admin edit + workflowAutomation` |
| `PATCH /contract-config/types/:id`                                  | `Teilmenge der Typfelder`                                             | `admin edit + workflowAutomation` |
| `POST /contract-config/lifecycle/templates/:templateId/stages`      | `code, name, category, locksCoreFields, completionRules`              | `admin edit + workflowAutomation` |
| `PATCH /contract-config/lifecycle/stages/:id`                       | `Teilmenge der Phasenfelder`                                          | `admin edit + workflowAutomation` |
| `POST /contract-config/lifecycle/templates/:templateId/transitions` | `code, name, fromStageCode, toStageCode, requiredControl, conditions` | `admin edit + workflowAutomation` |
| `PATCH /contract-config/lifecycle/transitions/:id`                  | `Teilmenge der Übergangsfelder`                                       | `admin edit + workflowAutomation` |
