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.

Cost Calculation Input

Input representation of the request to calculate brokerage cost.
JSON example
1{
2 "action": "rollup",
3 "expressionSetName": "expressionSetName",
4 "ratePlanLineItems": [
5  {
6   "id": "xxxxxx",
7   "rate": 100,
8   "enrollmentCount": 1000,
9   "custom_field_1": "xxxxxx"
10  },
11  {
12   "id": "yyyyy",
13   "rate": 50,
14   "enrollmentCount": 200,
15   "custom_field_1": "xxxxxx"
16  }
17 ]
18}
Properties
Name Type Description Required or Optional Available Version
action String Course of action for processing RatePlanLineItems. Valid values:
  • rollup: Calculates premium and roll ups it to Insurance Policy level.
  • calculate: Calculates premium and returns it in the output.
Optional 63.0
expressionSet​Name String Name of the expression set for cost calculation. If not specified, the value from the InsPolicyManagementConfig setup object is taken. Optional 63.0
ratePlan​LineItems List<Map<String, Object>> List of insurance rate plan line items. Optional 63.0