Insurance Request Validation Input

Input representation that specifies the insurance Connect API path and serialized JSON request body to validate against the product model.

JSON Example

{
  "apiPath": "insurance/quotes",
  "requestBody": "{"quoteLineItems":[{"productCode":"AUTO_POLICY","attributes":[{"attributeCode":"DRIVER_AGE","value":"25"},{"attributeCode":"INVALID_ATTR","value":"X"}],"childProducts":[{"productCode":"COLLISION_COVERAGE"}]}]}"
}

Properties

Name Type Description Required or Optional Available Version
apiPath String Path of the insurance Connect API request to validate. Supported values are insurance/quotes and insurance/product-rating. Requests for unsupported API paths return a valid response with an informational message. Required 68.0
requestBody String Serialized JSON string to validate. The API parses the data and checks product codes, attributes, hierarchy, and instance keys against the org’s product model. The string must be valid JSON. Required 68.0