Calculate the expected revenue, derived both from an Insurance Rate Plan Commission
object, such as a flat fee and percentage premium, and the premium, fee, or premium equivalent
amount on Insurance Rate Plan. The expected revenue amount is rolled up from Insurance Rate Plan
to Insurance Coverage and Insurance Policy expected revenue amount.
Resource
{policyId} is a placeholder.
/connect/insurance/brokerage/policies/{policyId}/expected-revenue
Resource Example
Replace {yourInstance} with the My Domain name of your Salesforce org.
https://{yourInstance}.salesforce.com/services/data/v68.0/connect/insurance/brokerage/policies/0YTSG0000000o9h4AA/expected-revenue?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 the business sObject to calculate expected revenue. Possible
values are:
|
Optional | 63.0 |
| recordId | String | ID of the business sObject for which expected revenue must be calculated. | Optional | 63.0 |
Request Body for PATCH
JSON Example
{
"expressionSetName": "expressionSetName",
"ratePlanCommissions": [
{
"Name": "RPC-1",
"Type": "GradedPercent",
"amountStartRange": 0,
"amountEndRange": 1000
},
{
"Name": "RPC-1",
"Type": "GradedPercent",
"amountStartRange": 1001,
"amountEndRange": 100000
}
]
}
Properties
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
| expressionSetName | String | Name of expression set to be used for expected revenue calculation. If unspecified, a value from the InsPolicyManagementConfig setup object is taken. | Optional | 63.0 |
| ratePlanCommissions | List | List of rate plan commissions to be used for expected revenue calculation. This is a valid input only when businessSObjectType is InsuranceRatePlan. | Optional | 63.0 |