Categories: Azure Data Factory

Azure Data Factory and the Exact Online REST API – Introduction

I’m going to do a small blog post series on how to extract data from a REST API using Azure Data Factory. I’m going to use the Exact Online REST API, because it has a series of challenges:

  • a complicated process to get your first access token
  • endpoints with more data will use pagination
  • a 10-minute limit on the use of the access token

Exact Online is a SaaS ERP software package, offering accounting, HRM, CRM and financial processes. It’s a Dutch company, so it’s quite popular in Belgium and The Netherlands, which is also a reason I choose this specific REST API. But most of the techniques used in the blog post series can be applied to any other REST API.

Documentation about the REST API can be found here and here (make sure you’re using a browser where you aren’t logged into Exact Online, because for some reason this messes up the documentation pages). General docs about ADF and REST API can be found here. Note that there are 3rd party vendors out there who sell connectors for ADF and Power BI. They can make your life easier, but why pay when you can do everything yourself, right?

The full series:

  1. Fetching your first refresh/access tokens
  2. Getting a new access token from ADF
  3. Retrieving the divisions
  4. Retrieving data from an endpoint
  5. Dealing with pagination
  6. Getting around the 10 Minute Limit

------------------------------------------------
Do you like this blog post? You can thank me by buying me a beer 🙂
Koen Verbeeck

Koen Verbeeck is a Microsoft Business Intelligence consultant at AE, helping clients to get insight in their data. Koen has a comprehensive knowledge of the SQL Server BI stack, with a particular love for Integration Services. He's also a speaker at various conferences.

View Comments

  • Hi Koen

    You have done a great job by covering this topic, it works for other Platformas like PureCloud as well.

    Thank you so much

Recent Posts

Book Review – Microsoft Power BI Performance Best Practices

I was asked to do a review of the book Microsoft Power BI Performance Best…

3 days ago

Create a Numbers Table in Power Query

This is a quick blog post, mainly so I have the code available if I…

7 days ago

Microsoft finally adds Tenant Switcher for Fabric / Power BI

Praise whatever deity you believe in, because it's finally here, a tenant switcher for Microsoft…

1 week ago

Book Review – Humanizing Data Strategy by Tiankai Feng

This book was making its rounds on social media, and the concept seems interesting enough…

1 week ago

Free webinar – Tackling the Gaps and Islands Problem with T-SQL Window Functions

I'm hosting a free webinar at MSSQLTips.com at the 19th of December 2024, 6PM UTC.…

3 weeks ago

dataMinds Connect 2024 – Session Materials

The slides and scripts for my session "Tackling the Gaps & Islands Problem with T-SQL…

1 month ago