Reprice Insurance Product Action
Recalculate the price of insurance products based on user inputs.
This action is available in API version 63.0 and later.
URI: /services/data/vXX.X/actions/standard/repriceInsuranceProduct
Where XX.X is the latest API version.
Formats: JSON
HTTP Methods: GET, POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is your OAuth access token.
| Input | Type | Description |
|---|---|---|
addedNodes | String | Product instances details that are added. |
additionalFields | String | Map of additional fields that must be updated in the insurance quote context. |
contextId | String | Required. Context ID of the Insurance quote. |
deletedNodes | String | Set of deleted product instances details. |
effectiveDate | Date | Date that the quote becomes effective. |
executeRating | String | Indicates whether rating must be executed ( true ) or not ( false ). The default value is true . |
executeConfigurationRules | Boolean | Indicates whether configuration rules must be executed ( true ) or not ( false ). The default value is false . |
pricingProcedureApiName | String | API name of the pricing procedure that’s used to price the product. This property is deprecated from version 66.0 and later. |
ratingDate | Date | Date that’s used to find the active pricing procedure. |
returnContextJson | Date | Indicates whether context JSON must be returned ( true ) or not ( false ). The default value is false . |
returnProductDetails | Date | Indicates whether product details must be returned ( true ) or not ( false ). The default value is false . |
returnRatingResults | Date | Indicates whether rating results must be returned as an Apex class ( true ) or not ( false ). The default value is false . |
updatedNodes | String | Set of product instances details that are updated. |
| Output | Details |
|---|---|
contextId | Type String Description Context ID of the insurance quote. |
pricingResults | Type Map<String, Object> Description Pricing details of the insurance product that are recalculated. |
productRatingOutput | Type Apex-defined Description An Apex ConnectApi__ProductRatingOutputRepresentation record that contains the product rating details. |
Sample Request
This is a sample request to call this invocable action from Apex code.
Sample Response