CancelPolicy(CancelPolicyInput, policyId)

Cancel an insurance policy version. The API takes the effective date of cancellation from the input JSON. You can advance the cancellation date within the policy term, but you can’t postpone the cancellation.

API Version

63.0

Requires Chatter

No

Signature

public static ConnectApi.CancelPolicyOutputRepresentation CancelPolicy(ConnectApi.CancelPolicyInputRepresentation CancelPolicyInput, String policyId)

ConnectApi.InsurancePolicyAdminFamily, CancelPolicy, [ConnectApi.CancelPolicyInputRepresentation, String], ConnectApi.CancelPolicyOutputRepresentation

Parameters

CancelPolicyInput
Type: ConnectApi.CancelPolicyInputRepresentation
Description
policyId
Type: String
Input representation of the request to cancel a policy.

Usage

Send the cancellation effective date and transaction record in the request to cancel a policy.