Example of how to connect to the Business Central API in C#
This example is using Basic Authentication. We will create a OAuth example soon. Classes in this example are not generated on purpose to show true and easy 101 communication.
Step 1
Reads companies from API Endpoint and asks to select a company
Step 2
Creates a new customer in your sandbox
Step 3
Lists all companies