APIs & Integrations

MR71
メンバー

CRM API not returning all requested associations in response.

Hello, I am using the /crm/v3/objects/contacts endpoint to fetch contact records and their associations, but I am running into a very strange issue. The endpoint is not returning all requested associations for some records (even though they exist), while it does return them all for others.

For example, when I call 

crm/v3/objects/contact?limit=100&properties=lastname&associations=deal,company&archived=false

and look at a particular record I only see the company associations.

But when I call the same endpoint with the associations list as company,deal I only see the deal associations for the same record.

I do have other records that return both company and deal associations, regardless of the ordering in the associations query param. 

Any help would be greatly appreciated as this is very frustrating. 

0 いいね!
2件の返信
ChrisMagtoto
メンバー

CRM API not returning all requested associations in response.

Hey! This is interesting. Have you tried using the plural form? Never encountered this issue.

crm/v3/objects/contact?limit=100&properties=lastname&associations=deals,companies&archived=false
0 いいね!
MR71
メンバー

CRM API not returning all requested associations in response.

Yes I've tried that as well

0 いいね!