cancelContract

Request
query Parameters
recaptchaToken
required
string

client generated Google reCAPTCHA token

Request Body schema: application/json
required
firstname
required
string
lastname
required
string
dateOfBirth
required
string <date>
customerNumber
required
string
contractId
required
integer <int64>
cancellationType
required
string
Enum: "ORDINARY_CANCELLATION" "EXTRAORDINARY_CANCELLATION"
cancelationReasonId
integer <int64>
cancellationDate
required
string <date>
additionalInformation
string
confirmationEmail
string
cancellationDateType
string
Enum: "NEXT_POSSIBLE_CANCELLATION_DATE" "ABSOLUTE_CANCELLATION_DATE"
Responses
200

OK

400

Bad Request

403

Forbidden

404

Not Found

409

Conflict

500

Internal Server Error

post/connect/v1/contracts/cancel
Request samples
application/json
{
  • "firstname": "string",
  • "lastname": "string",
  • "dateOfBirth": "2019-08-24",
  • "customerNumber": "string",
  • "contractId": 0,
  • "cancellationType": "ORDINARY_CANCELLATION",
  • "cancelationReasonId": 0,
  • "cancellationDate": "2019-08-24",
  • "additionalInformation": "string",
  • "confirmationEmail": "string",
  • "cancellationDateType": "NEXT_POSSIBLE_CANCELLATION_DATE"
}