<?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: Properties missing from custom object in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Properties-missing-from-custom-object/m-p/696732#M57154</link>
    <description>&lt;P&gt;Here is a link to the &lt;A href="https://knowledge.hubspot.com/crm-setup/manage-your-properties#:~:text=Internal%20name%3A%20click,property%20is%20name." target="_blank" rel="noopener"&gt;KB article&lt;/A&gt; that talks about where to find the internal name. I don't think there is a "get all" type thing.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Sep 2022 14:00:40 GMT</pubDate>
    <dc:creator>LeeBartelme</dc:creator>
    <dc:date>2022-09-22T14:00:40Z</dc:date>
    <item>
      <title>Properties missing from custom object</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Properties-missing-from-custom-object/m-p/696608#M57148</link>
      <description>&lt;P&gt;Hello. I am trying to get the properties for a custom object, and I can't find anything when using the hubspot client. I'm guessing there's something I've missed, but I can't find any documentation that is helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the following code:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;const associations = await client.crm.deals.associationsApi.getAll(
  dealId,
  'car',
);
const [id] = associations.results.map((item) =&amp;gt; item.id);
const car = await client.crm.objects.basicApi.getById('car', id, ['Modell']);
console.log(car);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am seeing the following output:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SimplePublicObjectWithAssociations {
  id: '416093891',
  properties: {
    hs_createdate: '2022-09-20T09:08:02.811Z',
    hs_lastmodifieddate: '2022-09-20T09:39:03.827Z',
    hs_object_id: '416093891'
  },
  createdAt: 2022-09-20T09:08:02.811Z,
  updatedAt: 2022-09-20T09:39:03.827Z,
  archived: false
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There should be a massive amount of properties on this object, but I can only see the three standard hs properties. Where's the rest of them? How do I fetch all of them? I'll attach a screenshot of the custom object from my sandbox.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-09-22 at 12.55.10.png" style="width: 522px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/75595iF54D2DED4E9D352D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-09-22 at 12.55.10.png" alt="Screenshot 2022-09-22 at 12.55.10.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 10:56:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Properties-missing-from-custom-object/m-p/696608#M57148</guid>
      <dc:creator>jonn-rebil</dc:creator>
      <dc:date>2022-09-22T10:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Properties missing from custom object</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Properties-missing-from-custom-object/m-p/696721#M57150</link>
      <description>&lt;P&gt;You have to &lt;A href="https://github.com/HubSpot/hubspot-api-nodejs/blob/master/codegen/crm/objects/apis/BasicApi.ts#:~:text=string%2C%20objectId%3A%20string%2C-,properties%3F%3A%20array%3Cstring%3E,-%2C%20propertiesWithHistory%3F%3A%20Array%3Cstring" target="_blank" rel="noopener"&gt;specify the properties&lt;/A&gt; you want returned.&amp;nbsp; Per your code, if 'Modell' is the underlying field name you should be getting that back. (Those may be case sensistive and since you have a capital M and it's not there I suspect it is.)&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Either way, your array of field property names needs to include all the properties you want back from the API. You can't use the display name either, you need to use the underlying property name which can be seen when you edit the property in your object settings by clicking the &amp;lt;/&amp;gt; icon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;const car = await client.crm.objects.basicApi.getById('car', id, ['modell','field_b','field_c','field_d']);&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 22 Sep 2022 13:51:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Properties-missing-from-custom-object/m-p/696721#M57150</guid>
      <dc:creator>LeeBartelme</dc:creator>
      <dc:date>2022-09-22T13:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Properties missing from custom object</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Properties-missing-from-custom-object/m-p/696730#M57152</link>
      <description>&lt;P&gt;Is there a way to get wildcard? All properties on an object?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where do I check my property names for the custom object?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 13:59:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Properties-missing-from-custom-object/m-p/696730#M57152</guid>
      <dc:creator>jonn-rebil</dc:creator>
      <dc:date>2022-09-22T13:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Properties missing from custom object</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Properties-missing-from-custom-object/m-p/696732#M57154</link>
      <description>&lt;P&gt;Here is a link to the &lt;A href="https://knowledge.hubspot.com/crm-setup/manage-your-properties#:~:text=Internal%20name%3A%20click,property%20is%20name." target="_blank" rel="noopener"&gt;KB article&lt;/A&gt; that talks about where to find the internal name. I don't think there is a "get all" type thing.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 14:00:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Properties-missing-from-custom-object/m-p/696732#M57154</guid>
      <dc:creator>LeeBartelme</dc:creator>
      <dc:date>2022-09-22T14:00:40Z</dc:date>
    </item>
  </channel>
</rss>

