APIs & Integrations

rikmaris
Colaborador(a)

Search by close date through v3 api

resolver

Hi,

 

I'm struggeling to get the right API call.

 

My target is to get all deals from a specific day that are closed.  But with this call i get all deals. I want just the deals from that unix time stamp. (this is 14th of may 2020)

 

{
"filterGroups": [
{
"filters": [
{
"propertyName": "closedate",
"operator": "GT",
"value": "1588291200"
}
]
}
]
}
0 Avaliação positiva
1 Solução aceita
WendyGoh
Solução
HubSpot Employee
HubSpot Employee

Search by close date through v3 api

resolver

Hey @rikmaris,

 

HubSpot API accept UNIX formatted timestamps in milliseconds

 

If you'd like to retrieve deals in which the close date is after 14th May 2020, you can use 1589414400000 in which it represent Date and time (GMT): Thursday, May 14, 2020 0:00:00 . 

 

The external tool I'm using: https://www.epochconverter.com/.

Exibir solução no post original

0 Avaliação positiva
2 Respostas 2
WendyGoh
Solução
HubSpot Employee
HubSpot Employee

Search by close date through v3 api

resolver

Hey @rikmaris,

 

HubSpot API accept UNIX formatted timestamps in milliseconds

 

If you'd like to retrieve deals in which the close date is after 14th May 2020, you can use 1589414400000 in which it represent Date and time (GMT): Thursday, May 14, 2020 0:00:00 . 

 

The external tool I'm using: https://www.epochconverter.com/.

0 Avaliação positiva
rikmaris
Colaborador(a)

Search by close date through v3 api

resolver

Thanks! 

That was the solution!

0 Avaliação positiva