Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Compute Producer Splits Action
This action is available in API version 63.0 and later.
Special Access Rules
The Compute Producer Splits action is available in Enterprise, Unlimited, and Developer Editions where where Financial Service Cloud and Insurance Brokerage are enabled. To use this action, you need Insurance Commission Management and Insurance Brokerage User permission sets.
Supported REST HTTP Methods
- URI
- /services/data/v68.0/actions/standard/computeProducerSplits
- Formats
- JSON
- HTTP Methods
- GET, POST
- Authentication
- Authorization: Bearer token
Example
- POST
-
This sample request is for the Compute Producer Splits action.
1{ 2 "inputs": [ 3 { 4 "commissionStatementLineItemId": "1Atxx0000004DeaCAE" 5 } 6 ] 7} -
This is the sample response for the Compute Producer Splits action.
1[ 2 { 3 "actionName": "computeProducerSplits", 4 "errors": null, 5 "invocationId": null, 6 "isSuccess": true, 7 "outcome": null, 8 "outputValues": { 9 "producerCommissions": [ 10 { 11 "attributes": { 12 "type": "ProducerCommission" 13 }, 14 "CommissionStatementLineItemId": "1Atxx0000004C92CAE", 15 "ProducerSplitAssignmentId": "1AIxx0000004C92GAE", 16 "CommissionAmount": 4000, 17 "InsurancePolicyId": "0YTxx0000000001GAA", 18 "ProducerId": "0Yxxx0000000001CAA", 19 "ProducerSplitArngLineItemId": "1BHxx0000004C92GAE", 20 "Name": "CSLI-0000000001-Amol-Commission" 21 } 22 ] 23 }, 24 "sortOrder": -1, 25 "version": 1 26 } 27]