reinstateInsurancePolicy(insurancePolicyReinstatementInput, policyId)
Reinstate a previously canceled insurance policy by providing the reinstatement details and the policy ID.
67.0
No
public static ConnectApi.InsurancePolicyReinstatementRepresentation reinstateInsurancePolicy(ConnectApi.InsurancePolicyReinstatementInputRepresentation insurancePolicyReinstatementInput, String policyId)
insurancePolicyReinstatementInput
- Type:
ConnectApi.InsurancePolicyReinstatement​InputRepresentation - Input representation containing the insurance policy field overrides and the reinstatement date.
policyId
- Type: String
- ID of the insurance policy to reinstate.
Type: ConnectApi.InsurancePolicyReinstatementRepresentation
Use this method to reinstate a previously canceled insurance policy. Provide the reinstatement date and any policy field overrides in the input representation, along with the ID of the policy to reinstate. The response includes the reinstated policy ID, the transaction ID, and any errors.
The Apex example shows how to use the ConnectApi.InsuranceBrokerageFamily.reinstateInsurancePolicy() method to reinstate a previously canceled insurance policy.
Class Definition
This Apex example shows how to reinstate a canceled insurance policy.
Usage Example
Use the ReinstateTestConnectAPI class to execute the reinstate action and process the result.