this is my code
api_response1 = client.crm.objects.tasks.basic_api.get_by_id(task_id=<task id>, associations=[{
“associationCategory”: “HUBSPOT_DEFINED”,
“associationTypeId”: 192,
“properties”:[“name”, “domain”]}], archived=False)
this is my code
api_response1 = client.crm.objects.tasks.basic_api.get_by_id(task_id=<task id>, associations=[{
“associationCategory”: “HUBSPOT_DEFINED”,
“associationTypeId”: 192,
“properties”:[“name”, “domain”]}], archived=False)
Hey, @MAndrade16
You’ll need to look at breaking this into multiple calls. You can use the endpoint to retrieve association types between objects and engagements here. You can find all the default types here. But there are no default types for associations between engagements — “notes associated to a task”. You’ll have to return the associations between notes toe a specific company and tasks associated with a company. And then determine how to parse that on your end.
Best,
Jaycee