Output representation of the validation results for a product model and its
hierarchy.
JSON Example
{
"errors": [],
"isValid": false,
"productId": "01txx0000006iPnAAI",
"products": [
{
"errors": [
{
"code": "SF-INS-DSAV-00004",
"message": "The product isn’t associated with a product selling model option. Associate the product with a product selling model option."
},
{
"code": "SF-INS-DSAV-00011",
"message": "The product doesn’t have a price book entry. Create a price book entry for the product."
}
],
"productId": "01txx0000006iPtAAI",
"productName": "Vehicle"
}
],
"infos": []
}
Properties
| Property Name | Type | Description | Filter Group and Version | Available Version |
|---|---|---|---|---|
| errors | Insurance 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.0 | 68.0 |
| infos | Insurance Design Advisor Error Details[] | Informational messages for the root product. Each entry includes a code and a message. | Big, 68.0 | 68.0 |
| isValid | Boolean | Indicates whether all products in the hierarchy passed validation (true) or not (false). | Big, 68.0 | 68.0 |
| productId | String | ID of the insurance product that’s validated. | Big, 68.0 | 68.0 |
| products | Insurance 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.0 | 68.0 |