Product Rating Post Input

Input representation of the product rating details.

JSON Example 

1{
2  "transactionType": "AutoTransactionType",
3  "additionalFields": {
4    "QuoteAccount": "001ZM000002ZNnBYAW"
5  },
6  "ratingOptions": {
7    "executeConfigurationRules": false
8  },
9  "ratingInputs": [
10    {
11      "productCode": "auto",
12      "instanceKeys": [
13        "Auto1"
14      ],
15      "attributes": {
16        "Make": "BMW",
17        "AutoValue": "20000",
18        "Year": "2024",
19        "Model": "SUV"
20      }
21    },
22    {
23      "productCode": "comprehensive",
24      "instanceKeys": [
25        "Auto1",
26        "Comprehensive"
27      ],
28      "attributes": {
29        "Limit": "2000",
30        "Deductible": "100"
31      }
32    }
33  ],
34  "rootProductCodes": [
35    "auto-ECO1x",
36    "auto-ECO2x"
37  ]
38}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
additionalFieldsMap<String, Object>Map of additional fields that must be updated in the quote context.Required if the generated context ID is used to issue a policy63.0
effectiveDateStringDate used to find the active pricing procedure for pricing. The default value is the current date.Optional63.0
ratingInputsRating Input Node[]JSON that contains the attribute values of each context node.Required63.0
ratingOptionsRating Options Input[]Options for rating.Optional63.0
rootProductCodesString []Root product codes that are used with the ratingInputs to create rating result. The created rating result is used as request in the insurance product rating API.Optional66.0
transactionTypeStringName of the transaction processing type.Required63.0