<?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: Custom Object to Custom Object - join records retrieved from API in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Object-to-Custom-Object-join-records-retrieved-from-API/m-p/678463#M55703</link>
    <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/101258"&gt;@Teun&lt;/a&gt;&amp;nbsp;, this worked!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Aug 2022 13:18:56 GMT</pubDate>
    <dc:creator>aawadhwa</dc:creator>
    <dc:date>2022-08-10T13:18:56Z</dc:date>
    <item>
      <title>Custom Object to Custom Object - join records retrieved from API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Object-to-Custom-Object-join-records-retrieved-from-API/m-p/677551#M55642</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are begnining to work with custom object to extend the capabilities, I have been able to create custom objects and retrieve the data that we put in it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is this case, however, where we have custom_object_2 associated with custom_object_1.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I use &lt;STRONG&gt;GET&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;crm/v3/objects/custom_object_2&amp;amp;properties=name&lt;/STRONG&gt; to get all the records with properties&lt;BR /&gt;&lt;BR /&gt;The response returned looks like this&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;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"2022-08-04T20:53:06.993Z"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"archived"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;} ]&lt;BR /&gt;&lt;BR /&gt;The above response doesn't contain any identifier which can be used to link it to the custom_object_1.&lt;BR /&gt;&lt;BR /&gt;Does anyone know what parameters needs be passed where this API can return some identifier to associate the records of custom_object_2 with that of custom_object_1? Or is there any other way or exta API call that needs to be made?&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;BR /&gt;Thank you in advance!&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 08 Aug 2022 22:45:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-Object-to-Custom-Object-join-records-retrieved-from-API/m-p/677551#M55642</guid>
      <dc:creator>aawadhwa</dc:creator>
      <dc:date>2022-08-08T22:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Object to Custom Object - join records retrieved from API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Object-to-Custom-Object-join-records-retrieved-from-API/m-p/677719#M55660</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/429713"&gt;@aawadhwa&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can call the &lt;A href="https://developers.hubspot.com/docs/api/crm/crm-custom-objects" target="_blank" rel="noopener"&gt;associations endpoint&lt;/A&gt; to list all the associations for your current object. So in the case of 'custom_object_2' the URL could look something like this:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://api.hubapi.com/crm/v3/objects/custom_object_2/2090784302/associations/custom_object_2?limit=500" target="_blank"&gt;https://api.hubapi.com/crm/v3/objects/custom_object_2/2090784302/associations/custom_object_2?limit=500&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 08:54:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-Object-to-Custom-Object-join-records-retrieved-from-API/m-p/677719#M55660</guid>
      <dc:creator>Teun</dc:creator>
      <dc:date>2022-08-09T08:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Object to Custom Object - join records retrieved from API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Object-to-Custom-Object-join-records-retrieved-from-API/m-p/678463#M55703</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/101258"&gt;@Teun&lt;/a&gt;&amp;nbsp;, this worked!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 13:18:56 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-Object-to-Custom-Object-join-records-retrieved-from-API/m-p/678463#M55703</guid>
      <dc:creator>aawadhwa</dc:creator>
      <dc:date>2022-08-10T13:18:56Z</dc:date>
    </item>
  </channel>
</rss>

