Insurance Product Model Validation Response

Output representation of the validation results for a product model and its hierarchy.

JSON Example 

1{
2  "errors": [],
3  "isValid": false,
4  "productId": "01txx0000006iPnAAI",
5  "products": [
6    {
7      "errors": [
8        {
9          "code": "SF-INS-DSAV-00004",
10          "message": "The product isn’t associated with a product selling model option. Associate the product with a product selling model option."
11        },
12        {
13          "code": "SF-INS-DSAV-00011",
14          "message": "The product doesn’t have a price book entry. Create a price book entry for the product."
15        }
16      ],
17      "productId": "01txx0000006iPtAAI",
18      "productName": "Vehicle"
19    }
20  ],
21  "infos": []
22}

Properties 

Property NameTypeDescriptionFilter Group and VersionAvailable Version
errorsInsurance Design Advisor Error Response[]Request-level errors that aren’t specific to a product in the hierarchy, such as a missing or invalid productId, insufficient access, or an unexpected server error. This list is empty when per-product validation runs. Product-specific failures are returned in products.Big, 68.068.0
infosInsurance Design Advisor Error Details[]Informational messages for the root product. Each entry includes a code and a message.Big, 68.068.0
isValidBooleanIndicates whether all products in the hierarchy passed validation (true) or not (false).Big, 68.068.0
productIdStringID of the insurance product that’s validated.Big, 68.068.0
productsInsurance Product Hierarchy Validation Result[]Related products in the root product hierarchy that have configuration errors. Each entry identifies a product and lists the validation failures for that product.Big, 68.068.0