Newer Version Available
reinstateInsurancePolicy(insurancePolicyReinstatementInput, policyId)
Reinstate a previously canceled insurance policy by providing the reinstatement details and the
policy ID.
API Version
67.0
Requires Chatter
No
Signature
public static ConnectApi.InsurancePolicyReinstatementRepresentation reinstateInsurancePolicy(ConnectApi.InsurancePolicyReinstatementInputRepresentation insurancePolicyReinstatementInput, String policyId)
Parameters
- insurancePolicyReinstatementInput
- Type: ConnectApi.InsurancePolicyReinstatementInputRepresentation
- Input representation containing the insurance policy field overrides and the reinstatement date.
- policyId
- Type: String
- ID of the insurance policy to reinstate.
Return Value
Usage
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.
Example
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.
-