Insurance CML Model Validation Response

Output representation of the per-record validation results and any top-level errors that occur when processing the request.

JSON Example 

1{
2  "isValid": false,
3  "results": [
4    {
5      "recordId": "01txx0000006iPnAAI",
6      "recordType": "Product",
7      "isValid": true
8    },
9    {
10      "recordId": "0nSxx0000001DDDAAI",
11      "recordType": "ProductSurcharge",
12      "productPath": "01txx0000006iPnAAI/01txx0000006iPnBBB",
13      "isValid": false,
14      "instructions": "One or more products in the product path aren't referenced by the active CML model. Update the product path or associate the products with the CML model."
15    },
16    {
17      "recordId": "0nUxx0000001FFFAAI",
18      "recordType": "UnderwritingRule",
19      "isValid": true,
20      "instructions": "BRE-based rule (no CML RuleKey), skipping CML validation"
21    }
22  ],
23  "errors": []
24}

Properties 

Property NameTypeDescriptionFilter Group and VersionAvailable Version
errorsInsurance Design Advisor Error Response[]Request-level errors that occurred before per-record validation runs. This property doesn’t contain per-record validation failures. Those appear inside results with isValid set to false.Big, 68.068.0
isValidBooleanIndicates whether the CML model validation passed for every record (true) or not (false). This value is true when every per-record result is valid, and false when any result is invalid.Big, 68.068.0
resultsInsurance CML Model Validation Result[]Validation results for each specified record. This property contains one entry for every specified record across productIds, productSurchargeIds, productClauseIds, and underwritingRuleIds. It shows an empty list on a request-level error.Big, 68.068.0