attributeResultByContactId
Retrieve comprehensive attribute results for a specific contact with optional default values.
Returns attribute data for the specified contact, 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 contact.
When includeDefaultValues is true, the result includes default values from attribute descriptions for attributes that haven't been explicitly assigned to the contact. This is perfect for displaying complete contact profiles or generating forms with pre-filled default values.
Possible errors:
- ATTRIBUTE_VALIDATION_ERROR: Search input parameters failed validation
attributeResultByContactId(
contactId: Int!
input: AttributeResultSearchInput!
): AttributeResultResponse!
Arguments
attributeResultByContactId.contactId
● Int!
non-null scalar
Unique identifier of the contact to retrieve attribute results for.
Must be a positive integer representing a valid contact ID in the system. The contact must exist and be accessible within the current context.
attributeResultByContactId.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.