As we've mentioned in this chapter, APIs are extremely useful for integrating external applications with Dynamics 365 Business Central (they permit us to use simple HTTP calls to manage ERP entities and business logic). As an example, here, we will create a C# .NET application that creates Customer records in a Dynamics 365 Business Central SaaS tenant.
This application is a .NET Console application that does the following:
- Connects to a Dynamics 365 Business Central tenant by using basic authentication (a username and a web service access key)
- Reads the company in this...