Cost Calculation Input

Input representation of the request to calculate brokerage cost.

JSON Example

{
 "action": "rollup",
 "expressionSetName": "expressionSetName",
 "ratePlanLineItems": [
  {
   "id": "xxxxxx",
   "rate": 100,
   "enrollmentCount": 1000,
   "custom_field_1": "xxxxxx"
  },
  {
   "id": "yyyyy",
   "rate": 50,
   "enrollmentCount": 200,
   "custom_field_1": "xxxxxx"
  }
 ]
}

Properties

Name Type Description Required or Optional Available Version
action String Action 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.
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 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. Optional 63.0