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 

NameTypeDescriptionRequired or OptionalAvailable Version
additionalFieldsMap<String, Object>Map of additional fields that must be updated in the quote context.Optional63.0
attributesMap<String, Object>Map of attributes key-value pairs that’s used to determine pricing.Optional63.0
instanceKeysString[]List of instance keys for context path.Required63.0
productCodeStringUnique code to identify a product.Required63.0
reusableBooleanIndicate whether the node is reusable across multiple roots (true) or not (false).Optional66.0
targetRecordsString[]List of target records.Optional63.0