ConnectApi.InsAttributeInputRepresentation

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

PropertyTypeDescriptionRequired or OptionalAvailable Version
attributeCodeStringCode 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 specified68.0
attributeIdStringID of the attribute definition. The method resolves lookups by attribute ID first.Required if attributeCode and attributeName aren’t specified68.0
attributeNameStringDeveloper 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 specified68.0