Reinstate a canceled insurance brokerage policy with optional reinstatement details.
This action is available in API version 67.0 and later.
Special Access Rules
The Reinstate Insurance Brokerage Policy action is available in Enterprise, Unlimited, and Developer Editions where Financial Service Cloud and Insurance Brokerage are enabled. To use this action, you need the Insurance Brokerage User permission set.
Required. An Apex ConnectApi__ReinstateBrokeragePolicyIAInputRep record that contains the ID of the canceled brokerage policy along with other optional details to reinstate.
Outputs
Output
Type
Description
reinstatedPolicyId
string
ID of the reinstated policy.
transactionId
string
Transaction ID that’s generated during the policy reinstatement operation.
Example
POST
This sample request is for the Reinstate Insurance Brokerage Policy action.
This is a sample request to call this invocable action from Apex code.
1// Create the standard Invocable Action for reinstating a brokerage policy2Invocable.Action action = Invocable.Action.createStandardAction('reinstateInsBrokeragePolicy');34// Instantiate the input object5ConnectApi.ReinstateBrokeragePolicyIAInputRep input = new ConnectApi.ReinstateBrokeragePolicyIAInputRep();67// Required: Set the Policy ID of the canceled brokerage policy to reinstate8input.policyId = '0YjXX0000000001';910// Optional: Set reinstatement details11input.reinstatementDate = '2026-07-15';12input.effectiveFromDate = '2026-07-15';13input.effectiveToDate = '2027-07-15';1415// Set the invocation parameter and invoke16action.setInvocationParameter('reinstateBrokeragePolicyIAInputRep', input);17List<Invocable.Action.Result> results = action.invoke();1819System.debug('Reinstate Brokerage Policy Invocable Action result = ' + results);
This is the sample response for the Reinstate Insurance Brokerage Policy action.