APIs & Integrations

IvanSierra
Participante

Properties get current day

Good afternoon,

I would like to know if I can send in the get companies api to obtain only those created on the current day and that have been modified on the current day.

0 Avaliação positiva
3 Respostas 3
dennisedson
Equipe de Produto da HubSpot
Equipe de Produto da HubSpot

Properties get current day

Hey @IvanSierra 

You could probably do this with CRM search endpoints filtering on the createdate or hs_lastmodifieddate

0 Avaliação positiva
IvanSierra
Participante

Properties get current day

Hey Dennisedson,

 

I have a question? I can use this get method and just pass it some extra parameter so that it brings me what was created on the day and updated on the day?

 

https://api.hubapi.com/crm/v3/objects/companies?limit=10&archived=false&properties=nit&hapikey=XXXXX...

0 Avaliação positiva
IvanSierra
Participante

Properties get current day

The idea is that it returns me only with the date and not use the datetime because it is more complex

0 Avaliação positiva