<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Deal Search API - filtering last modified date in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Deal-Search-API-filtering-last-modified-date/m-p/537009#M49216</link>
    <description>&lt;P&gt;yes - have sorted this oiut - there were multiple tickets from me about this - I have to created another one since the first got tagged as spam - dunno why.&lt;/P&gt;</description>
    <pubDate>Mon, 06 Dec 2021 02:49:52 GMT</pubDate>
    <dc:creator>Stanza</dc:creator>
    <dc:date>2021-12-06T02:49:52Z</dc:date>
    <item>
      <title>Deal Search API - filtering last modified date</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Deal-Search-API-filtering-last-modified-date/m-p/535854#M49165</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the search API:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;https://api.hubapi.com/crm/v3/objects/deals/search?hapikey=[API_KEY]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
    
    "filterGroups": [
        {
            "filters": [
                {
                    "value": "7695775",
                    "operator": "EQ",
                    "propertyName": "dealstage"
                },
                {
                    "value": "hs_lastmodifieddate",
                    "operator": "GTE",
                    "propertyName": "1638316800"
                }
            ]
        }
    ],
    "properties": [
        "dealname"
    ]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
    "status": "error",
    "message": "There was a problem with the request.",
    "correlationId": "24709551-9717-4d21-b969-f4a2442ac88e"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried seconds and milliseconds but get the same error.&lt;/P&gt;&lt;P&gt;Any ideas ?&lt;/P&gt;&lt;P&gt;I have tried using the epoch time converter but no luck.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 03:13:43 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Deal-Search-API-filtering-last-modified-date/m-p/535854#M49165</guid>
      <dc:creator>Stanza</dc:creator>
      <dc:date>2021-12-03T03:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Deal Search API - filtering last modified date</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Deal-Search-API-filtering-last-modified-date/m-p/536062#M49178</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/254633"&gt;@Stanza&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have to swap the value and propertyName. You mixed the value and propertyName aths_lastmodifieddate:&lt;BR /&gt;&lt;BR /&gt;{&lt;BR /&gt;"&lt;STRONG&gt;value&lt;/STRONG&gt;": "hs_lastmodifieddate",&lt;BR /&gt;"operator": "GTE",&lt;BR /&gt;"&lt;STRONG&gt;propertyName&lt;/STRONG&gt;": "1638316800"&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to&lt;BR /&gt;&lt;BR /&gt;{&lt;BR /&gt;"&lt;STRONG&gt;propertyName&lt;/STRONG&gt;": "hs_lastmodifieddate",&lt;BR /&gt;"operator": "GTE",&lt;BR /&gt;"&lt;STRONG&gt;value&lt;/STRONG&gt;": "1638316800"&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards, Ronald&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 11:44:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Deal-Search-API-filtering-last-modified-date/m-p/536062#M49178</guid>
      <dc:creator>RMones</dc:creator>
      <dc:date>2021-12-03T11:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Deal Search API - filtering last modified date</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Deal-Search-API-filtering-last-modified-date/m-p/536204#M49188</link>
      <description>&lt;P&gt;Spot on &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/154476"&gt;@RMones&lt;/a&gt; !&lt;/P&gt;
&lt;P&gt;Also, make sure you are working with a unix timestamp in milliseconds!&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 15:40:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Deal-Search-API-filtering-last-modified-date/m-p/536204#M49188</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-12-03T15:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Deal Search API - filtering last modified date</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Deal-Search-API-filtering-last-modified-date/m-p/537009#M49216</link>
      <description>&lt;P&gt;yes - have sorted this oiut - there were multiple tickets from me about this - I have to created another one since the first got tagged as spam - dunno why.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 02:49:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Deal-Search-API-filtering-last-modified-date/m-p/537009#M49216</guid>
      <dc:creator>Stanza</dc:creator>
      <dc:date>2021-12-06T02:49:52Z</dc:date>
    </item>
  </channel>
</rss>

