ADO.NET Provider for HubSpot

Build 26.0.9655

GetAssociationTypes

Retrieve all available association types between a pair of CRM object types.

Execute

Use GetAssociationTypes to retrieve all available association types between a pair of CRM object types. Both FromObjectType and ToObjectType are required.

EXECUTE GetAssociationTypes FromObjectType = 'contacts', ToObjectType = 'deals'
EXECUTE GetAssociationTypes FromObjectType = 'companies', ToObjectType = 'contacts'

Note: You cannot reference custom objects by base name. When executing GetAssociationTypes, if FromObjectType or ToObjectType refers to a custom object, the value must be the fully qualified object type name.

Input

Name Type Description
FromObjectType String The ID or name of the source CRM object type (e.g., 'contacts', 'companies', 'deals'). This value is required.
ToObjectType String The ID or name of the target CRM object type (e.g., 'contacts', 'companies', 'deals'). This value is required.

Result Set Columns

Name Type Description
Id String The numeric ID of the association type.
Type String The name of the association type for the specified object pair.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9655