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.

InputTypeDescription
addedNodesStringProduct instances details that are added.
additionalFieldsStringMap of additional fields that must be updated in the insurance quote context.
contextIdStringRequired. Context ID of the Insurance quote.
deletedNodesStringSet of deleted product instances details.
effectiveDateDateDate that the quote becomes effective.
executeRatingStringIndicates whether rating must be executed ( true ) or not ( false ). The default value is true .
executeConfigurationRulesBooleanIndicates whether configuration rules must be executed ( true ) or not ( false ). The default value is false .
pricingProcedureApiNameStringAPI name of the pricing procedure that’s used to price the product. This property is deprecated from version 66.0 and later.
ratingDateDateDate that’s used to find the active pricing procedure.
returnContextJsonDateIndicates whether context JSON must be returned ( true ) or not ( false ). The default value is false .
returnProductDetailsDateIndicates whether product details must be returned ( true ) or not ( false ). The default value is false .
returnRatingResultsDateIndicates whether rating results must be returned as an Apex class ( true ) or not ( false ). The default value is false .
updatedNodesStringSet of product instances details that are updated.
OutputDetails
contextIdType
String
Description
Context ID of the insurance quote.
pricingResultsType
Map<String, Object>
Description
Pricing details of the insurance product that are recalculated.
productRatingOutputType
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