Newer Version Available

This content describes an older version of this product. View Latest

Rating Input Node

Input representation of details of context node.
JSON example
1{
2  "ratingInputs": [
3    {
4      "instanceKeys": [
5        "AutoRoot"
6      ],
7      "productCode": "AUTOROOT",
8      "attributes": {
9        "Deductible": 1000
10      }
11    },
12    {
13      "instanceKeys": [
14        "AutoRoot",
15        "Audi"
16      ],
17      "productCode": "AUTO",
18      "attributes": {
19        "Mileage": 20000
20      }
21    },
22    {
23      "instanceKeys": [
24        "AutoRoot",
25        "Audi",
26        "Tom"
27      ],
28      "productCode": "DRIVER",
29      "attributes": {
30        "DriverAge": 50,
31        "DriverAccident": 0
32      },
33      "targetRecords": [
34        "003xx000004WkvEAAS"
35      ]
36    }
37  ]
38}
Properties
Name Type Description Required or Optional Available Version
additionalFields Map<String, Object> Map of additional fields that must be updated in the quote context. Optional 63.0
attributes Map<String, Object> Map of attributes key-value pairs that's used to determine pricing. Optional 63.0
instanceKeys String[] List of instance keys for context path. Required 63.0
productCode String Unique code to identify a product. Required 63.0
reusable Boolean Indicate whether the node is reusable across multiple roots (true) or not (false). Optional 66.0
targetRecords String[] List of target records. Optional 63.0