Create Insurance Rating Action

Create a runtime context that contains the details to create a quote.

This action is available in API version 66.0 and later.

URI: /services/data/vXX.X/actions/standard/createInsuranceRating

Where XX.X is the latest API version.

Formats: JSON

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is your OAuth access token.

InputTypeDescription
additionalFieldsStringAdditional fields to include in the rating context.
effectiveDateDateRequired. Date from which the insurance policy coverage becomes effective.
executeRatingStringIndicates whether rating must be executed ( true ) or not ( false ). The default value is true .
ratingDateDateDate that’s used for rating calculations and rule evaluations. If not specified, the current date is used.
ratingInputsMap<String, Object>Required. JSON string that contains the rating input nodes with product codes and attributes.
ratingOptionsApex-definedAn Apex runtime_industries_insurance.CreateInsuranceRatingOptions record that contains rating execution options to create insurance rating.
rootProductCodesStringArray of root product codes to include in the rating process.
salesTransactionTypeIdStringID of the sales transaction type.
transactionTypeStringType of insurance transaction, such as NewBusiness, Renewal, and Endorsement.
OutputDetails
contextIdType
String
Description
Context ID of the insurance quote.
pricingResultsType
Map<String, Object>
Description
Recalculated pricing details of the insurance product.
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