Get recently modified entries from a custom object

SOLVE
Yel-o
Participant

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 Upvotes
1 Accepted solution
dennisedson
Solution
Community Manager

@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"
        }
        
    ]
}
Thanks,

Dennis




Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content

View solution in original post

0 Upvotes
2 Replies 2
dennisedson
Solution
Community Manager

@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"
        }
        
    ]
}
Thanks,

Dennis




Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content

View solution in original post

0 Upvotes
Yel-o
Participant

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