Calculate the premium, fee, or premium-equivalent amount at InsuranceRatePlanLineItem
based on the underlying rate plan. The InsuranceRatePlanLineItem premium, fees, or premium
equivalent amount is rolled up to the Insurance Rate Plan, Insurance Coverage, and Insurance
Policy Premium Amount.
Resource
/connect/insurance/brokerage/policies/policyId/expected-rates
Resource Example
https://yourInstance.salesforce.com/services/data/v68.0/connect/insurance/brokerage/policies/0YTSG0000000o9h4AA/expected-rates?businessSObjectType=InsuranceRatePlan&recordId=1CcSG00000000fx0AA
Available Version
63.0
HTTP Methods
PATCH
Request Parameters for PATCH
| Parameter Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
| businessSObjectType | String | Name of business SObject to calculate premium. Possible values are:
|
Optional | 63.0 |
| recordId | String | ID of business SObject for which premium calculation is done. | Optional | 63.0 |
Request Body for PATCH
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 | Course of action for processing RatePlanLineItems. Valid values:
|
Optional | 63.0 |
| expressionSetName | String | Name of the expression set for cost calculation. If not specified, the value from the InsPolicyManagementConfig setup object is taken. | Optional | 63.0 |
| ratePlanLineItems | List<Map<String, Object>> | List of insurance rate plan line items. | Optional | 63.0 |