Skip to main content

attributeResultByCompanyId

Retrieve comprehensive attribute results for a specific company with optional default values.

Returns attribute data for the specified company, including both assigned attribute values and optionally default values from attribute descriptions. The response combines actual attribute values with default values when requested, providing a complete view of all available attributes for the company.

When includeDefaultValues is true, the result includes default values from attribute descriptions for attributes that haven't been explicitly assigned to the company. This is perfect for displaying complete company profiles or generating forms with pre-filled default values.

Possible errors:

  • ATTRIBUTE_VALIDATION_ERROR: Search input parameters failed validation
attributeResultByCompanyId(
companyId: Int!
input: AttributeResultSearchInput!
): AttributeResultResponse!

Arguments

attributeResultByCompanyId.companyId ● Int! non-null scalar

Unique identifier of the company to retrieve attribute results for.

Must be a positive integer representing a valid company ID in the system. The company must exist and be accessible within the current context.

attributeResultByCompanyId.input ● AttributeResultSearchInput! non-null input

Search criteria and options for filtering attribute results.

Contains filtering options, pagination settings, and the includeDefaultValues flag to control whether default values from attribute descriptions should be included in the results.

Type

AttributeResultResponse object

Paginated response containing comprehensive attribute result data.

Provides a structured response for attribute result queries including the matching attribute results with complete attribute information, pagination metadata, and total count information. Used for attribute result search and listing operations with comprehensive pagination support.

Each result combines attribute descriptions, values, and entity associations to provide complete attribute information for display and business logic operations.