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

Get row counts of all tables in a Microsoft Fabric warehouse

I loaded some built-in sample data from Wide World Importers into a Fabric warehouse. You…

11 hours ago

dataMinds Saturday 2024 – Session Materials

It was great being at dataMinds Saturday 2024 this past weekend. A great crowd of…

3 days ago

Check your regions people

Today I was having a nice discussion with some colleagues about Fabric and pricing/licensing came…

2 weeks ago

Book Review – Deciphering Data Architectures

I recently purchased and read the book Deciphering Data Architectures - Choosing Between a Modern…

3 weeks ago

Fabulous Stuff in Fabric – Part 5: Folders in Workspaces

A while ago I had a little blog post series about cool stuff in Snowflake. I’m…

1 month ago

Speaking at dataMinds Saturday & Techorama 2024

I have the pleasure to announce I'll be presenting at two conferences this spring. The…

1 month ago