---
schema_version: "1"
id: df6a6b6aa943a01b77b53c20c84baca2490e273d3dc23326a18640cfe3c9ee1c
title: ConnectApi.InsAttributeInputRepresentation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/apex_connectapi_input_ins_attribute.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_input_ins_attribute.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7399f92ea55d6ddd671ef928f58581aa2363fec0327779b23582bef4ad3ea63d
description: Input representation of one attribute definition to validate. Provide at least one of attribute ID, attribute code, or developer name.
---
# ConnectApi.InsAttributeInputRepresentation

Input representation of one attribute definition to validate. Provide at least one of attribute ID, attribute code, or developer name.

| Property | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| attributeCode | [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm "HTML (New Window)") | Code of the attribute definition. The method uses this value when the attribute ID doesn't resolve to an AttributeDefinition record. | Required if attributeId and attributeName aren't specified | 68.0 |
| attributeId | [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm "HTML (New Window)") | ID of the attribute definition. The method resolves lookups by attribute ID first. | Required if attributeCode and attributeName aren't specified | 68.0 |
| attributeName | [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm "HTML (New Window)") | Developer name of the attribute definition. The method uses this value when the attribute ID and attribute code don't resolve to an AttributeDefinition record. For a dynamic context attribute, when you also specify a context definition ID, send the attribute's dictionary name as configured in Setup. | Required if attributeId and attributeCode aren't specified | 68.0 |