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)

Parameters 

CancelPolicyInput

policyId

  • Type: String
  • Input representation of the request to cancel a policy.

Return Value 

Type: ConnectApi.CancelPolicyOutputRepresentation

Usage 

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