APIs & Integrations

Yel-o
投稿者

Get recently modified entries from a custom object

解決

Hi there, 

 

Just as the subject says, I read that we have to use the Search to sort by their last modified date. We're looking to see if I can set a value to the last modified date like get the results of those last modified in the last hour or so. Is that possible? This is currently what I have written in Postman.

 

Yelo_1-1638909766304.png

 

 

 

 

0 いいね!
1件の承認済みベストアンサー
dennisedson
解決策
HubSpot製品開発チーム
HubSpot製品開発チーム

Get recently modified entries from a custom object

解決

@Yel-o  👋

You should be able to do this.  Make sure you convert your timestamp to a unix timestamp format in milliseconds.

Here is an example json body

{
    "filters": [
        {
            "value": "1638981000000",
            "propertyName": "hs_lastmodifieddate",
            "operator": "GT"
        }
        
    ]
}

元の投稿で解決策を見る

0 いいね!
2件の返信
dennisedson
解決策
HubSpot製品開発チーム
HubSpot製品開発チーム

Get recently modified entries from a custom object

解決

@Yel-o  👋

You should be able to do this.  Make sure you convert your timestamp to a unix timestamp format in milliseconds.

Here is an example json body

{
    "filters": [
        {
            "value": "1638981000000",
            "propertyName": "hs_lastmodifieddate",
            "operator": "GT"
        }
        
    ]
}
0 いいね!
Yel-o
投稿者

Get recently modified entries from a custom object

解決

Thank you, dennisedson! Can't believe it was that easy. That worked perfectly