APIs & Integrations

RajeshGembrill
メンバー

How to get associations in the search API endpoints

解決

We are trying to fetch the filter tasks data in that we additionally required contact association. It is very hard to fetch the associated object by using many API calls which is very costly. Please suggest the possibilities ASAP.
Thanks In Advance

1件の承認済みベストアンサー
Jaycee_Lewis
解決策
コミュニティーマネージャー
コミュニティーマネージャー

How to get associations in the search API endpoints

解決

Hi, @RajeshGembrill 👋 Have you already looked into using the pseudo-property associations? Here is the documentation — Search through associations.

 

Best,

Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

元の投稿で解決策を見る

15件の返信
aravet
参加者 | Diamond Partner
参加者 | Diamond Partner

How to get associations in the search API endpoints

解決

Hello,

Yes i'm running in the same issue. Would be really usefull to get that functionnaly ! Any news on that ? @Jaycee_Lewis 

Thanks,
Antoine,

ISlonim
参加者

How to get associations in the search API endpoints

解決

Any news on this? running into the same issue, and this is impacting a lot of hubspot customers who already have an issue with the limited CPQ capabalities and are considering switching to a different platform - 

 

@Jaycee_Lewis

0 いいね!
snehal268
参加者

How to get associations in the search API endpoints

解決

Hey @Jaycee_Lewis ,

Can we get the association records in repose data in Search API? Why Search API dose not support associations as parameter?

 

Regards,

Snehal

 

0 いいね!
FSoto8
参加者

How to get associations in the search API endpoints

解決

reopen this, because hubspot api dont response correctly.

0 いいね!
Jaycee_Lewis
解決策
コミュニティーマネージャー
コミュニティーマネージャー

How to get associations in the search API endpoints

解決

Hi, @RajeshGembrill 👋 Have you already looked into using the pseudo-property associations? Here is the documentation — Search through associations.

 

Best,

Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

snehal268
参加者

How to get associations in the search API endpoints

解決

Hey @Jaycee_Lewis 

Can we get the association records in repose data in Search API? Why Search API dose does not support associations as parameters?

 

0 いいね!
gdforj
メンバー

How to get associations in the search API endpoints

解決

Hi,

 

In the current state, the search API does not yield the associations.

One has to make additional requests per each found object to get its associations.

This results in a much bigger number of requests, which can run into the API rate limitations very quickly.

 

In order for the API to be effective and useful, it needs to return the associations directly in the search response.

 

Could we get some visibility to when this issue will be resolved? This is quite important to integrate HubSpot reliably to other softwares.

KTefft
参加者

How to get associations in the search API endpoints

解決

The accepted solution needs to address the issue. Are there any plans to add this functionality?

FSoto8
参加者

How to get associations in the search API endpoints

解決

please create an issue with this.

Anonymous
適用対象外

How to get associations in the search API endpoints

解決

I'm facing the same problem. I need the companies associations to be returned in the response when searching through contacts. Is this possible on the search API?

FSoto8
参加者

How to get associations in the search API endpoints

解決

please create an issue post to hubspot fix this.

0 いいね!
COSmith
参加者

How to get associations in the search API endpoints

解決

Hi @Jaycee_Lewis - can you please reopen this issue - this is not an acceptable solution. 

 

The requirement is to return associations information in the response body, not to filter by them.

 

I am trying to return contact information for the `ticket` objects via the search api and cannot do so. This is a major defect in your API and makes having this endpoint completely useless. Please can you address this ASAP?

 

request_type = 'POST'
url = 'https://api.hubapi.com/crm/v3/objects/ticket/search'
header = {"authorization": "Bearer ", "content-type": "application/json"}
data = {
"properties": [
"hubspot_owner_id",
"hs_pipeline",
"category",
"hs_ticket_category",
"content",
"hs_submission_name",
"source_type",
"associations.contact.id"
],
"limit":100,
"filterGroups": [{"filters":[{"propertyName":"source_type","operator":"EQ","value":"CHAT"}]}]
}

FSoto8
参加者

How to get associations in the search API endpoints

解決

please create an issue to hubspot fix this.

RajeshGembrill
メンバー

How to get associations in the search API endpoints

解決

Hi, @Jaycee_Lewis

Thanks for the reply.
The documentation which you shared says, to use associations for filters. But my requirement is to get association details in response data.

Thanks In Advance,
Rajesh Kumar.A
tclark228
メンバー

How to get associations in the search API endpoints

解決

Hi @RajeshGembrill , @iCos  did either of you ever find a way to do this?