APIs & Integrations

rikmaris
投稿者

Search by close date through v3 api

解決

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 いいね!
1件の承認済みベストアンサー
WendyGoh
解決策
HubSpot Employee
HubSpot Employee

Search by close date through v3 api

解決

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 いいね!
2件の返信
WendyGoh
解決策
HubSpot Employee
HubSpot Employee

Search by close date through v3 api

解決

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 いいね!
rikmaris
投稿者

Search by close date through v3 api

解決

Thanks! 

That was the solution!

0 いいね!