Guides: Building a Business Central Source Connector #35726
KevinConseilxyz
started this conversation in
Guides & Tutorials
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Everyone,
Intro
This guide is starting a discussion on how to create a Business Central Source Connector on the Airbyte Builder and is supposed to be enriched, edited & transformed by anyone!
What is written below is the start of the discussion and if you find a better way to setup this connector then please share your method :)
Before Step 1
Prior to any further steps you need to register your Business Central "App" on Azure in order to generate a Client ID and Client Secret. Please follow the steps in this wiki: https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#add-credentials
Step 1
Airbyte Builder
+ New Custom Connector
Step 2
Global Configuration
Step 3
User Inputs
Step 4
Testing Values
Step 5
Streams
+
in the streams header3.1. URL Path: v2.0/companies([YOUR_COMPANY_ID])/[YOUR_TABLE_NAME].
3.2. [YOUR_COMPANY_ID]: You can find it by running this GET request on Postman https://api.businesscentral.dynamics.com/v2.0/[YOUR_DIRECTORY_ID]/Production/api/v2.0/companies
3.3. [YOUR_TABLE_NAME]: Name of the standard API name, such as "items", "locations", "itemCategories", ect.
3.4. Record Selector:
value
3.5. Primary Key:
id
3.6. HTTP Method: GET
4.1. Wiki: Develop Custom API
4.1. URL Path: [YOUR_APIPUBLISHER]/[YOUR_APIGROUP]/[YOUR_APIVERSION]/companies([YOUR_COMPANY_ID])/[YOUR_ENTITY_NAME]
4.2. [YOUR_COMPANY_ID]: You can find it by running this GET request on Postman https://api.businesscentral.dynamics.com/v2.0/[YOUR_DIRECTORY_ID]/Production/api/v2.0/companies
4.3. [YOUR_ENTITY_NAME]: You define it when building your custom API
4.4. Record Selector:
value
4.5. Primary Key:
systemId
4.6. HTTP Method: GET
4.7. [YOUR_APIPUBLISHER]: You define it when building your custom API
4.8. [YOUR_APIGROUP] : You define it when building your custom API
4.9. [YOUR_APIVERSION]: You define it when building your custom API
Next steps
Here we setup a basic full refresh connector which read only a limited amount of records. Next we should discuss how to implement in the order:
All the best and happy coding!
Beta Was this translation helpful? Give feedback.
All reactions