---
schema_version: "1"
id: 7dbe7a55d85b5e1c843753cc4918833f3c45f2bbb83b3d17fbf0fb98167c17bc
title: Insurance Request Validation Input
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/connect_requests_ins_request_validation_input.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_requests_ins_request_validation_input.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 262d4406e828e5df976fbcb9bf9290c2ad4b70b953a249adca97d8ef3a1a0d3a
description: Input representation that specifies the insurance Connect API path and serialized JSON request body to validate against the product model.
---
# 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 |