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 

NameTypeDescriptionRequired or OptionalAvailable Version
actionStringAction for processing RatePlanLineItems. Valid values are:
  • rollup: Calculates premium and roll ups it to Insurance Policy level.
  • calculate: Calculates premium and returns it in the output.
Optional63.0
expressionSet​NameStringName of the expression set for cost calculation. If not specified, the value from the InsPolicyManagementConfig setup object is taken.Optional63.0
ratePlan​LineItemsList<Map<String, Object>>List of insurance rate plan line items to include for calculation. Items with an id represent existing records. Items without an id are draft records. When action is calculate, premiums for draft records are calculated and returned without being saved. Use referenceId to correlate draft records with their calculated premiums in the response.Optional63.0