Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Associations API #5

Closed
hakimio opened this issue Feb 14, 2022 · 4 comments
Closed

Associations API #5

hakimio opened this issue Feb 14, 2022 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@hakimio
Copy link

hakimio commented Feb 14, 2022

Are there any plans to implement the Associations API?
hubspot-net#59

@cdmdotnet
Copy link
Collaborator

We utilise that API for the following relationships
Contact
Company
Deal

Is there a specific relationship you are referring to or are you wanting a simple wrapper around that API?

@cdmdotnet cdmdotnet added the enhancement New feature or request label Feb 17, 2022
@hakimio
Copy link
Author

hakimio commented Feb 18, 2022

I know that I can set AssociatedCompanyId on a Contact and use api.Company.GetAssociations(company) to get associated contacts, but I was wondering if we could use the associations API to map single contact to multiple companies. Anyway, it would be a nice to have but not a must have feature.

On unrelated note, there seems to be some issue with ap.Company.Search() result (CompanySearchHubSpotModel<Company>) deserialization. Even paging.next.after is set on the JSON response, Paging.Next is set to null in the deserialized result.

image

Any idea why that might be happening?

@cdmdotnet
Copy link
Collaborator

Please keep issues to one topic at a time and raise a separate issue for the .Company.Search observation.

@cdmdotnet
Copy link
Collaborator

Mapping contacts to multiple companies is already raised as issue #4 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants