<?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: JSON &amp;quot;filterGroups&amp;quot; not filtering results in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/JSON-quot-filterGroups-quot-not-filtering-results/m-p/1142363#M81847</link>
    <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/916227"&gt;@NBiffen&lt;/a&gt;&amp;nbsp;- I think this could be quite simple. It looks like the 'IN' search test uses lowercase string literals for values in the filter - not totally obvious from the documentation, but can be critical in setting things up.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developers.hubspot.com/docs/guides/api/crm/search" target="_blank"&gt;https://developers.hubspot.com/docs/guides/api/crm/search&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I actually tend to use IN for ennumerated property values - and EQ )with 'value') for tests for single string values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;</description>
    <pubDate>Tue, 29 Apr 2025 19:39:33 GMT</pubDate>
    <dc:creator>SteveHTM</dc:creator>
    <dc:date>2025-04-29T19:39:33Z</dc:date>
    <item>
      <title>JSON "filterGroups" not filtering results</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/JSON-quot-filterGroups-quot-not-filtering-results/m-p/1142168#M81838</link>
      <description>&lt;P&gt;If anybody can help but I have managed to build a POST body within Postman that returns the expected results.&amp;nbsp; The body is:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-04-29 at 15.07.54.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/144684iFAA7449754DBD28C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-04-29 at 15.07.54.png" alt="Screenshot 2025-04-29 at 15.07.54.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Response:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-04-29 at 15.08.46.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/144685i4E721798F204497D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-04-29 at 15.08.46.png" alt="Screenshot 2025-04-29 at 15.08.46.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;However, when replicating this within HubSpot's API required format, it fails to identify the specific order and instead returns all results, whilst also displaying random data across the additional properties.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-04-29 at 15.09.43.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/144687i00B4B4D6E637244F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-04-29 at 15.09.43.png" alt="Screenshot 2025-04-29 at 15.09.43.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-04-29 at 15.12.11.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/144688iDE9401DE9E76436E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-04-29 at 15.12.11.png" alt="Screenshot 2025-04-29 at 15.12.11.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please if anybody can shed some light on this, it would be very much appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 14:13:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/JSON-quot-filterGroups-quot-not-filtering-results/m-p/1142168#M81838</guid>
      <dc:creator>NBiffen</dc:creator>
      <dc:date>2025-04-29T14:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: JSON "filterGroups" not filtering results</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/JSON-quot-filterGroups-quot-not-filtering-results/m-p/1142363#M81847</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/916227"&gt;@NBiffen&lt;/a&gt;&amp;nbsp;- I think this could be quite simple. It looks like the 'IN' search test uses lowercase string literals for values in the filter - not totally obvious from the documentation, but can be critical in setting things up.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developers.hubspot.com/docs/guides/api/crm/search" target="_blank"&gt;https://developers.hubspot.com/docs/guides/api/crm/search&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I actually tend to use IN for ennumerated property values - and EQ )with 'value') for tests for single string values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 19:39:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/JSON-quot-filterGroups-quot-not-filtering-results/m-p/1142363#M81847</guid>
      <dc:creator>SteveHTM</dc:creator>
      <dc:date>2025-04-29T19:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: JSON "filterGroups" not filtering results</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/JSON-quot-filterGroups-quot-not-filtering-results/m-p/1142651#M81863</link>
      <description>&lt;P&gt;Thanks Steve, appreciate the response.&amp;nbsp; Unfortunately the "EQ" function doesn't return the direct match, but instead the entire list.&amp;nbsp; Wherea's (through some trial and error) "IN" does return the required response.&lt;BR /&gt;&lt;BR /&gt;However, where I am really baffled is that the API response is positive, but when entering this into HubSpot the results change and do not perform the "filterGroups" function.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I wasn't sure if I was missing something from the entry into HubSpot's UI?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 12:49:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/JSON-quot-filterGroups-quot-not-filtering-results/m-p/1142651#M81863</guid>
      <dc:creator>NBiffen</dc:creator>
      <dc:date>2025-04-30T12:49:45Z</dc:date>
    </item>
  </channel>
</rss>

