Output representation of the product discovery validation result, including whether
the product’s discovery setup is valid and any related errors or informational
messages.
JSON Example
{
"isValid": false,
"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."
}
],
"infos": [
{
"code": "SF-INS-DSAV-00043",
"message": "If you’ve recently made changes to decision tables used by product discovery, ensure they are refreshed."
}
]
}
Properties
| Property Name | Type | Description | Filter Group and Version | Available Version |
|---|---|---|---|---|
| errors | Insurance Design Advisor Error Response[] | Errors encountered during validation. This list includes request-level failures, such as a missing product identifier or a product that can’t be found, and discovery setup failures, such as a missing or inactive price book entry, selling model, pricing procedure, or decision table configuration. | Big, 68.0 | 68.0 |
| infos | Insurance Design Advisor Error Details[] | Informational messages about the validation context. For example, pricing procedure validation can be skipped when pricing is disabled for product discovery (SF-INS-DSAV-00042), and a reminder can indicate that decision tables may need a refresh (SF-INS-DSAV-00043). | Big, 68.0 | 68.0 |
| isValid | Boolean | Indicates whether the product discovery setup is valid (true) or not (false). This value is true when no errors are detected. | Big, 68.0 | 68.0 |