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/vXX.X/actions/standard/reinstateInsBrokeragePolicy
Where XX.X is the latest API version.
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is your OAuth access token.
Inputs
| Input | Type | Description |
|---|---|---|
| inputRep | Apex-defined | 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.
{
"inputs": [
{
"inputRep": {
"policyId": "0YjXX0000000001",
"reinstatementDate": "2026-07-15",
"effectiveFromDate": "2026-07-15",
"effectiveToDate": "2027-07-15"
}
}
]
}
This is a sample request to call this invocable action from Apex code.
// Create the standard Invocable Action for reinstating a brokerage policy
Invocable.Action action = Invocable.Action.createStandardAction('reinstateInsBrokeragePolicy');
// Instantiate the input object
ConnectApi.ReinstateBrokeragePolicyIAInputRep input = new ConnectApi.ReinstateBrokeragePolicyIAInputRep();
// Required: Set the Policy ID of the canceled brokerage policy to reinstate
input.policyId = '0YjXX0000000001';
// Optional: Set reinstatement details
input.reinstatementDate = '2026-07-15';
input.effectiveFromDate = '2026-07-15';
input.effectiveToDate = '2027-07-15';
// Set the invocation parameter and invoke
action.setInvocationParameter('reinstateBrokeragePolicyIAInputRep', input);
List<Invocable.Action.Result> results = action.invoke();
System.debug('Reinstate Brokerage Policy Invocable Action result = ' + results);
This is the sample response for the Reinstate Insurance Brokerage Policy action.
[
{
"actionName": "reinstateInsBrokeragePolicy",
"errors": null,
"invocationId": null,
"isSuccess": true,
"outcome": null,
"outputValues": {
"reinstatedPolicyId": "0YjXX0000000001",
"transactionId": "txn_reinstate_789"
},
"sortOrder": -1,
"version": 1
}
]