Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Product Rating Details Response
Output representation that contains the constructed rating request payload.
- JSON example
-
1{ 2 "salesTransactionTypeId": "0YWxx000000001GAAQ", 3 "transactionType": "NewBusiness", 4 "ratingInputs": [ 5 { 6 "instanceKeys": [ 7 "autoSilver", 8 "auto", 9 "comprehensive" 10 ], 11 "productCode": "comprehensive", 12 "attributes": { 13 "NumberOfDays": "", 14 "Deductible": "100", 15 "BodilyInjuryPerPersonLimit": "", 16 "PropertyDamagePerAccidentLimit": "", 17 "Limit": "1000", 18 "BodilyInjuryPerAccidentLimit": "" 19 }, 20 "additionalFields": {} 21 } 22 ], 23 "ratingOptions": { 24 "executeConfigurationRules": true, 25 "executePricing": true, 26 "returnContextJSON": false, 27 "returnProductDetails": false 28 }, 29 "effectiveDate": "2025-01-01T00:00:00.000Z", 30 "ratingDate": "2025-01-01T00:00:00.000Z", 31 "additionalFields": { 32 "customField1": "value1" 33 }, 34 "rootProductCodes": [ 35 "AUTO_POLICY" 36 ] 37}
| Property Name | Type | Description | Filter Group and Version | Available Version |
|---|---|---|---|---|
| additionalFields | Map<String, Object> | Additional custom fields that are used to generate rating request payload. | Big, 66.0 | 66.0 |
| effectiveDate | Date | Date that's used to find the active pricing procedure for pricing. The default value is the current date. | Big, 66.0 | 66.0 |
| ratingDate | Date | Date that's used to calculate rating. | Big, 66.0 | 66.0 |
| ratingInputs | Rating Input Node Response[] | List of the rating input nodes in the hierarchical structure that contains the attribute values of each context node. | Big, 66.0 | 66.0 |
| ratingOptions | Rating Options | Rating options that are used to control the rating behavior for the Insurance Product Rating API. | Big, 66.0 | 66.0 |
| rootProductCodes | String[] | Root product codes that the products belong to for which the rating request payload is created. | Big, 66.0 | 66.0 |
| salesTransactionTypeId | String | ID of the sales transaction type. | Big, 66.0 | 66.0 |
| transactionType | String | Name of the transaction processing type. | Big, 66.0 | 66.0 |