<?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: HubDB API - Add Row With Foreign Key in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/HubDB-API-Add-Row-With-Foreign-Key/m-p/822508#M65784</link>
    <description>&lt;P&gt;I'd be interested to know if you had the same issue as I have when inserting a foreign id via API&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/HUBDB-foreign-ID-insertion-via-API-doesn-t-work/m-p/816774#M65489" target="_blank"&gt;https://community.hubspot.com/t5/APIs-Integrations/HUBDB-foreign-ID-insertion-via-API-doesn-t-work/m-p/816774#M65489&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jul 2023 09:13:10 GMT</pubDate>
    <dc:creator>skylightipv</dc:creator>
    <dc:date>2023-07-20T09:13:10Z</dc:date>
    <item>
      <title>HubDB API - Add Row With Foreign Key</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/HubDB-API-Add-Row-With-Foreign-Key/m-p/398841#M39428</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been working quite&amp;nbsp; alot in implementing Hubspots API in sending data to my HubDB tables. I have come across an issue where one of my table fields is a Foreign Key.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't find anywhere in the documentation what the value type is for the response when sending it to the API. The Create row endpoint list all field types minus a Foreign key: &lt;A href="https://legacydocs.hubspot.com/docs/methods/hubdb/v2/create_row" target="_blank" rel="noopener"&gt;https://legacydocs.hubspot.com/docs/methods/hubdb/v2/create_row&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this something the API cannot do? If it can, I would be grateful for an example.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 12:48:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/HubDB-API-Add-Row-With-Foreign-Key/m-p/398841#M39428</guid>
      <dc:creator>SirHubalot</dc:creator>
      <dc:date>2021-01-12T12:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: HubDB API - Add Row With Foreign Key</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/HubDB-API-Add-Row-With-Foreign-Key/m-p/399034#M39441</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/148854"&gt;@SirHubalot&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe the &lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Adding-Video-Child-Table-and-Foreign-ID-s-to-API-Created-HubDB/m-p/356531" target="_blank" rel="noopener"&gt;question&lt;/A&gt; &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/134503"&gt;@DavidFJones&lt;/a&gt; asked is what you are also asking.&amp;nbsp; &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/66274"&gt;@WendyGoh&lt;/a&gt; provided an answer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 19:15:26 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/HubDB-API-Add-Row-With-Foreign-Key/m-p/399034#M39441</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-01-12T19:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: HubDB API - Add Row With Foreign Key</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/HubDB-API-Add-Row-With-Foreign-Key/m-p/400724#M39615</link>
      <description>&lt;P&gt;Hi dennisedson.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That was one of the first posts I saw but that didn't help me. But I managed to find the solution. All I needed to do was to send over my foreign keys to my table column in the following JSON Structure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[
  {
	id: 123456789,
	type: "foreignid"
  },
  {
	id: 988765434,
	type: "foreignid"
  },
  {
	id: 4645645644,
	type: "foreignid"
  }
]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 18:03:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/HubDB-API-Add-Row-With-Foreign-Key/m-p/400724#M39615</guid>
      <dc:creator>SirHubalot</dc:creator>
      <dc:date>2021-01-18T18:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: HubDB API - Add Row With Foreign Key</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/HubDB-API-Add-Row-With-Foreign-Key/m-p/822508#M65784</link>
      <description>&lt;P&gt;I'd be interested to know if you had the same issue as I have when inserting a foreign id via API&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/HUBDB-foreign-ID-insertion-via-API-doesn-t-work/m-p/816774#M65489" target="_blank"&gt;https://community.hubspot.com/t5/APIs-Integrations/HUBDB-foreign-ID-insertion-via-API-doesn-t-work/m-p/816774#M65489&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 09:13:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/HubDB-API-Add-Row-With-Foreign-Key/m-p/822508#M65784</guid>
      <dc:creator>skylightipv</dc:creator>
      <dc:date>2023-07-20T09:13:10Z</dc:date>
    </item>
  </channel>
</rss>

