Reinstate Insurance Brokerage Policy Action

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.

Supported REST HTTP Methods

URI
/services/data/v68.0/actions/standard/reinstateInsBrokeragePolicy
Formats
JSON, XML
HTTP Methods
POST
Authentication
Authorization: Bearer token

Inputs

Input Details
inputRep
Type
Apex-defined
Description
Required. An Apex ConnectApi__ReinstateBrokeragePolicyIAInputRep record that contains the ID of the canceled brokerage policy along with other optional details to reinstate.

Outputs

Output Details
reinstatedPolicyId
Type
string
Description
ID of the reinstated policy.
transactionId
Type
string
Description
Transaction ID that's generated during the policy reinstatement operation.

Example

POST

This sample request is for the Reinstate Insurance Brokerage Policy action.

1{
2  "inputs": [
3    {
4      "inputRep": {
5        "policyId": "0YjXX0000000001",
6        "reinstatementDate": "2026-07-15",
7        "effectiveFromDate": "2026-07-15",
8        "effectiveToDate": "2027-07-15"
9      }
10    }
11  ]
12}

This is a sample request to call this invocable action from Apex code.

1// Create the standard Invocable Action for reinstating a brokerage policy
2Invocable.Action action = Invocable.Action.createStandardAction('reinstateInsBrokeragePolicy');
3
4// Instantiate the input object
5ConnectApi.ReinstateBrokeragePolicyIAInputRep input = new ConnectApi.ReinstateBrokeragePolicyIAInputRep();
6
7// Required: Set the Policy ID of the canceled brokerage policy to reinstate
8input.policyId = '0YjXX0000000001';
9
10// Optional: Set reinstatement details
11input.reinstatementDate = '2026-07-15';
12input.effectiveFromDate = '2026-07-15';
13input.effectiveToDate = '2027-07-15';
14
15// Set the invocation parameter and invoke
16action.setInvocationParameter('reinstateBrokeragePolicyIAInputRep', input);
17List<Invocable.Action.Result> results = action.invoke();
18
19System.debug('Reinstate Brokerage Policy Invocable Action result = ' + results);

This is the sample response for the Reinstate Insurance Brokerage Policy action.

1[
2  {
3    "actionName": "reinstateInsBrokeragePolicy",
4    "errors": null,
5    "invocationId": null,
6    "isSuccess": true,
7    "outcome": null,
8    "outputValues": {
9      "reinstatedPolicyId": "0YjXX0000000001",
10      "transactionId": "txn_reinstate_789"
11    },
12    "sortOrder": -1,
13    "version": 1
14  }
15]