HI every one!
Now, i am using endpoint “/v1/lists/recently_updated/contacts/recent” to sync recently properties but i want using endpoint “/crm/v3/objects/contacts/search” to get lastmodified properties from hubspot.
With issue the endpoint “/crm/v3/objects/contacts/search” cannot get properties_with_history. It’'s importance for me to build history of properties.
To fix it:
i am using endpoint “/crm/v3/objects/contacts/search” to get contact_id lastmodified and using endpoint “/crm/v3/objects/companies/{companyId}” to get properties_with_history and this way make system be overloaded because to get the history of the contact_id I have to call the endpoint “/crm/v3/objects/companies/{companyId}” once.
Anyone support me how to get properties_with_history in a easier way
Hey, @HHuỳnhVăn
Thanks for your question. To clarify, is your main concern around the overloading of your system due to making individual API calls for each company to fetch its properties_with_history?
Have you ruled out the POST/crm/v3/objects/companies/batch/read endpoint? Which allows for properties_with_history.
If I am not understanding your primary concern, or if you got it worked out, please let us know.
Best,
Jaycee
Hi @Jaycee_Lewis! Thanks for your answer.
i want to sync contact properties of contact object and i have not record in companies object.
How i get properties_with_history in contact object??
My use case:
Actor: Staff, Engineer
Use case:
1. Staff view and edit contact properties.
2. Engineer: Incremental sync all contact properties. And track history who modified? old property to new property, update_time
I used endpoint “/v1/lists/recently_updated/contacts/recent” to sync contact. Because the response data included version of properties which match my requirement. Can you suggest me to use V3 endpoint to adapt my requirements which are recently modified properties and historical change properties.
The end point POST/crm/v3/objects/contacts/search can filter last_modified_properties but reponse_data not included properties_with_history