Skip to main content
Version: API v1

Vertragskonfiguration - Speichert eine Vertrags-Konfiguration

POST/v1/gdpr/contract-presets
API version
v1
Request method
POST
Operation ID
createGDPRContractPresets

Speichert eine Vertrags-Konfiguration

Request​

Responses​

Format
application/json
Description

Vertrags-Konfiguration erfolgreich gespeichert

  • namestring
    required
  • descriptionstring
  • configobject
    • creationDatestring (datetime)

      Das Erstelldatum im UTC Format

    Content-Type: application/json

    {
    "name": "string",
    "description": "string",
    "config": {},
    "creationDate": "string"
    }
    {
    "title": "GDPRContractPreset",
    "required": [
    "name"
    ],
    "type": "object",
    "properties": {
    "name": {
    "type": "string"
    },
    "description": {
    "type": "string"
    },
    "config": {
    "type": "object",
    "properties": {}
    },
    "creationDate": {
    "type": "string",
    "description": "Das Erstelldatum im UTC Format",
    "format": "datetime"
    }
    }
    }

    Usage examples​

    $ curl \
    --fail \
    --location \
    -X POST \
    -d '{"name":"string","description":"string","config":{},"creationDate":"string"}' \
    -H "Authorization: Bearer $MITTWALD_API_TOKEN" \
    -H 'Content-Type: application/json' \
    https://api.mittwald.de/v1/gdpr/contract-presets

    On this page