Strategy/approach question RRS feed

  • Question

  • User562699594 posted

    I'm using .net core c# to call the HubSpot API.  High level goal is to have a relational DB setup so we can better understand the data we have stored in HubSpot.  Right now I have the calling, parsing, and loading completed and it works well.  However, now I'm stuck because I need to get all contacts related to companies.  So in my companies table I have a flag that says whether or not the related contacts have been loaded.

    The problem: HubSpot requires the company ID in the URL string when making the API call.  Yeesh.  So initially I tried to put the call to the api in a loop so I can load more than one company at a time.  This didn't work.  I can't think of an efficient and effective way of calling this API with dynamic company IDs in the URL without doing it one at a time.

    Am I wrong in that thinking?  Is there a better way to go about solving this?


    Monday, February 10, 2020 6:00 PM

All replies