Zum Hauptinhalt springen

Schedule the Termination of a ContractItem

POST/contracts/{contractId}/items/{contractItemId}/termination/
v2
POST
contract-terminate-contract-item

Request

  • contractIdstring (uuid)
    required
    Beispiel:"f6bb2d44-e6be-46dc-96f7-9602a7177a75"
  • contractItemIdstring (uuid)
    required
    Beispiel:"19b2d44-e6be-46dc-96f7-9602a7177a75"

Responses

application/json

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

  • contractIdstring (uuid)
  • contractItemIdstring (uuid)
  • reasonstring
  • terminationTargetDatestring (date-time)

Usage examples

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