APIs & Integrations

Lars-Erik
Colaborador | Partner nivel Diamond
Colaborador | Partner nivel Diamond

Enable retrieval of property history in the V3 APIs

resolver

The legacy API has a "property mode" to include history when fetching entities.

The new API does not have property history at all.

Whether the same endpoint or a new one doesn't really matter, but it's super useful to be able to fetch history.

2 Soluciones aceptadas
dennisedson
Solución
Equipo de producto de HubSpot
Equipo de producto de HubSpot

Enable retrieval of property history in the V3 APIs

resolver

@Lars-Erik ,

The team is aware and will be adding this functionality.  No timeline, but wanted to let you know something 👍

Ver la solución en mensaje original publicado

nikodev
Solución
Colaborador líder | Partner nivel Elite
Colaborador líder | Partner nivel Elite

Enable retrieval of property history in the V3 APIs

resolver

For those that end up looking for this - using the "propertiesWithHistory" parameter that is now available through the read endpoints of the v3 APIs will return the property history and source information. 

A8 Labs

Ver la solución en mensaje original publicado

5 Respuestas 5
nikodev
Solución
Colaborador líder | Partner nivel Elite
Colaborador líder | Partner nivel Elite

Enable retrieval of property history in the V3 APIs

resolver

For those that end up looking for this - using the "propertiesWithHistory" parameter that is now available through the read endpoints of the v3 APIs will return the property history and source information. 

A8 Labs

AntonioPerez
Participante

Enable retrieval of property history in the V3 APIs

resolver

Hi Niko! On behalf of the countless other devs who have probably landed on this page in search of the niche solution, only to quietly bounce and go about their lives shortly thereafter: THANK YOU!

 

In case this helps anyone else: include the name of the property (such as "address") along with the "propertiesWithHistory" query parameter, like so:

{{baseURL}}/crm/v3/objects/contacts/:contactId?idProperty=email&properties=address,city,state,country,zip,email&propertiesWithHistory=address

nikodev
Colaborador líder | Partner nivel Elite
Colaborador líder | Partner nivel Elite

Enable retrieval of property history in the V3 APIs

resolver

Great to hear man - I know the struggle. Made my day when I saw this - to the point I've remembered and come back ~2 weeks later to mention it. 

A8 Labs

Jaycee_Lewis
Administrador de la comunidad
Administrador de la comunidad

Enable retrieval of property history in the V3 APIs

resolver

We agree, @nikodev rocks! 🎉

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Me gusta
dennisedson
Solución
Equipo de producto de HubSpot
Equipo de producto de HubSpot

Enable retrieval of property history in the V3 APIs

resolver

@Lars-Erik ,

The team is aware and will be adding this functionality.  No timeline, but wanted to let you know something 👍