<?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 Way to search Companies cotaining some letters and embed Deals associated with the company in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Way-to-search-Companies-cotaining-some-letters-and-embed-Deals/m-p/578992#M51028</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I am trying to search for companies by name containing letters but seems like the available operators are restricting this functionality.&lt;BR /&gt;I am able to search a company when I use same name with EQ operator but is there a way we can search multiple companies having common letters?&lt;BR /&gt;Also is there any way I can get all associated deals for the companies received in the search result?&lt;/P&gt;</description>
    <pubDate>Fri, 18 Feb 2022 09:48:01 GMT</pubDate>
    <dc:creator>pratiksathaye</dc:creator>
    <dc:date>2022-02-18T09:48:01Z</dc:date>
    <item>
      <title>Way to search Companies cotaining some letters and embed Deals associated with the company</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Way-to-search-Companies-cotaining-some-letters-and-embed-Deals/m-p/578992#M51028</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I am trying to search for companies by name containing letters but seems like the available operators are restricting this functionality.&lt;BR /&gt;I am able to search a company when I use same name with EQ operator but is there a way we can search multiple companies having common letters?&lt;BR /&gt;Also is there any way I can get all associated deals for the companies received in the search result?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 09:48:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Way-to-search-Companies-cotaining-some-letters-and-embed-Deals/m-p/578992#M51028</guid>
      <dc:creator>pratiksathaye</dc:creator>
      <dc:date>2022-02-18T09:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Way to search Companies cotaining some letters and embed Deals associated with the company</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Way-to-search-Companies-cotaining-some-letters-and-embed-Deals/m-p/581931#M51127</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/272263"&gt;@pratiksathaye&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the fuzzy search support, I would suggest&amp;nbsp; upvoting &lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/Fuzzy-Search/idi-p/506702" target="_blank" rel="noopener"&gt;this post.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For the associations, you can use the batch read endpoint listed on &lt;A href="https://developers.hubspot.com/docs/api/crm/associations/v4" target="_blank" rel="noopener"&gt;this page&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Call would look like this:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://api.hubapi.com/crm/v4/associations/companies/deals/batch/read" target="_blank"&gt;https://api.hubapi.com/crm/v4/associations/companies/deals/batch/read&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;json body where companyID would be replaced with an actual ID:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
  "inputs": [
    {
      "id": "companyID"
    },
    {
      "id": "companyID"
    }
  ]
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 17:04:26 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Way-to-search-Companies-cotaining-some-letters-and-embed-Deals/m-p/581931#M51127</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2022-02-23T17:04:26Z</dc:date>
    </item>
  </channel>
</rss>

