Complete an in-progress endorsement of an insurance brokerage policy.
This action is available in API version 67.0 and later.
Special Access Rules
The Endorse 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.
This is a sample request to call this invocable action from Apex code.
1// Create the standard Invocable Action for endorsing a brokerage policy2Invocable.Action action = Invocable.Action.createStandardAction('endorseInsBrokeragePolicy');34// Instantiate the input object5ConnectApi.EndorseBrokeragePolicyIAInputRep input = new ConnectApi.EndorseBrokeragePolicyIAInputRep();67// Required: Set the Policy ID of the brokerage policy to be endorsed8input.policyId = '0YjXX0000000001';910// Set the invocation parameter and invoke11action.setInvocationParameter('endorseBrokeragePolicyIAInputRep', input);12List<Invocable.Action.Result> results = action.invoke();1314System.debug('Endorse Brokerage Policy Invocable Action result = ' + results);
This is the sample response for the Endorse Insurance Brokerage Policy action.