Insurance Attribute Validation Response

Output representation of the per-attribute validation results. Each result reports whether the attribute definition exists and is active, and includes resolution guidance when it isn’t.

JSON Example 

1{
2  "isValid": false,
3  "attributes": [
4    {
5      "attributeId": "0QPxx0000004CAAQ",
6      "isValid": true
7    },
8    {
9      "attributeCode": "Make",
10      "isValid": true
11    },
12    {
13      "attributeName": "Vehicle_Model",
14      "isValid": false,
15      "instructions": [
16        {
17          "code": "SF-INS-DSAV-00031",
18          "message": "The specified attribute exists but is not active."
19        }
20      ]
21    },
22    {
23      "attributeCode": "NonExistentCode",
24      "isValid": false,
25      "instructions": [
26        {
27          "code": "SF-INS-DSAV-00030",
28          "message": "The specified attribute was not found."
29        }
30      ]
31    },
32    {
33      "isValid": false,
34      "instructions": [
35        {
36          "code": "SF-INS-DSAV-00032",
37          "message": "At least one of attributeId, attributeCode, or attributeName must be provided."
38        }
39      ]
40    }
41  ],
42  "errors": []
43}

Properties 

Property NameTypeDescriptionFilter Group and VersionAvailable Version
attributesInsurance Attribute Validation Result[]Validation result for each attribute lookup, in the same order as the request. Each result includes the identifiers from the request and reports whether that attribute definition is valid.Big, 68.068.0
errorsInsurance Design Advisor Error Response[]Top-level errors that occurred before per-attribute validation runs, such as a missing request body, an empty lookup list, insufficient access, or an unexpected server error. This list is empty when validation runs for each lookup. Per-attribute failures are returned in attributes, not in this list.Big, 68.068.0
isValidBooleanIndicates whether every attribute lookup is valid (true) or not (false). This value is true when every per-attribute result is valid, and false when any result is invalid.Big, 68.068.0