Cost Calculation Input

Input representation of the request to calculate brokerage cost.

This is an example to calculate the premium for insurance rate plan line items and returns the calculated amounts in the response.

This is an example to rollup the existing premium, fee, and premium-equivalent amounts from the insurance rate plan to the insurance coverage and insurance policy. The rollup action uses the values saved on the insurance rate plan line items and insurance rate plans, so the request doesn’t include ratePlanLineItems.

This is an example to recalculate and save the premium for insurance rate plan line items.

NameTypeDescriptionRequired or OptionalAvailable Version
actionStringAction for processing RatePlanLineItems. Valid values are:
  • calculate: Calculates the premium for the specified ratePlanLineItems and returns it in the output.
  • rollup: Rolls up the persisted insurance rate plan line item and insurance rate plan amounts to the insurance coverage and insurance policy. Ignores any ratePlanLineItems values if specified in the request body and uses the persisted values for the rollup.
  • save: Recalculates and saves the rate plan item amount.
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. Applies when action is calculate.Optional63.0