Cancel Contract
POST /api/insurance/CancelContract❌ Cancel an existing insurance contract by providing its contract number (ContractNo).
ℹ️ Use this endpoint when a contract needs to be revoked after creation — indien nodig kan een contract nog geannuleerd worden.
Authorization
BearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
contractNo*string
Contract number to cancel (required), e.g. C0293.
Response Body
curl -X POST "https://jubilee-ws.test.harmony.nl/api/insurance/CancelContract" \ -H "Content-Type: application/json" \ -d '{ "contractNo": "C0293" }'