Zum Hauptinhalt springen

Schedule the Termination of a Contract

POST/contracts/{contractId}/termination/
v2
POST
contract-terminate-contract

Request

  • contractIdstring (uuid)
    required

    The uuid of the Contract to be terminated.

    Beispiel:"f6bb2d44-e6be-46dc-96f7-9602a7177a75"

Responses

application/json

Returns the contractId, the date on which the Termination will take place and the list of affected ContractItems.

  • contractIdstring (uuid)
  • itemsScheduledForTerminationarray of string (uuid)
    • Array[
    • *string (uuid)
    • ]
  • reasonstring
  • terminationTargetDatestring (date)
  • Usage examples

    $ curl \
    --fail \
    --location \
    -X POST \
    -H "Authorization: Bearer $MITTWALD_API_TOKEN" \
    https://api.mittwald.de/v2/contracts/f0f86186-0a5a-45b2-aa33-502777496347/termination