Skip to main content

Return the next TerminationDate for the ContractItem with the given ID

GET /v2/contracts/{contractId}/items/{contractItemId}/next-termination-dates/
v2
GET
contract-get-next-termination-date-for-item

Request

  • contractIdstring (uuid)
    required

    The uuid of the Contract where the desired ContractItem belongs to.

    Example:"97cecfa0-2c3c-4272-a510-c775fcaade01"
  • contractItemIdstring (uuid)
    required

    The uuid of the ContractItem whose next TerminationDate is to be displayed.

    Example:"19b3e88e-c656-4440-8b89-efbf881b9c6f"

Responses

application/json

Return the next possible TerminationDate for the ContractItem as date.

  • contractItemIdstring (uuid)
    required
  • nextTerminationDatestring (date-time)
    required

Usage examples

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