Insurance Product Rating Details (POST)

Generate rating input details from a list of Product IDs, and use the generated rating input as the request body for the Insurance Product Rating API to evaluate product pricing.

This API retrieves product catalog information and constructs a hierarchical rating input structure based on product relationships. It generates product-specific attributes that’s formatted specifically for the Insurance Product Rating API.

Resource 

1/connect/insurance/product-rating/get-rating-input

Resource Example 

Replace {yourInstance} with the My Domain name of your Salesforce org.

1https://{yourInstance}.salesforce.com/services/data/v68.0/connect/insurance/product-rating/get-rating-input

Available Version 

66.0

HTTP Methods 

POST

Request Body for POST 

JSON Example 

1{
2  "productIds": [
3    "01txx0000006i3DAAQ"
4  ],
5  "salesTransactionTypeId": "0YWxx000000001GAAQ",
6  "transactionType": "Auto",
7  "ratingOptions": {
8    "executeConfigurationRules": true,
9    "executePricing": true,
10    "returnContextJSON": false,
11    "returnProductDetails": false
12  },
13  "effectiveDate": "2025-01-01T00:00:00.000Z",
14  "ratingDate": "2025-01-01T00:00:00.000Z",
15  "additionalFields": {
16    "customField1": "value1"
17  },
18  "rootProductCodes": [
19    "AUTO_POLICY"
20  ]
21}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
additionalFieldsMap<String, Object>Additional fields to generate rating input.Optional66.0
effectiveDateDateDate that’s used to find the active pricing procedure for pricing. The default value is the current date.Optional66.0
productIdsString[]IDs of the products for which you want to generate rating input.Required66.0
ratingDateDateDate that’s used to calculate rating.Optional66.0
ratingOptionsRating Options InputOptions to control rating behavior.Optional66.0
rootProduct​CodesString[]Root product codes that are used to create rating inputs.Optional66.0
salesTransaction​TypeIdStringID of the sales transaction type for which you want to generate rating request payload.Optional66.0
transaction​TypeStringName of the transaction processing type.Optional66.0

Response Body for POST 

Product Rating Details Response