How it works...

Setting up basic authentication allows you to perform development tasks against the Business Central API.

Basic authentication is enabled by first creating a Web Services Access Key for a given user. The key can be configured with an expiration date, or it can be set to never expire.

Listing the entities that are available in the Business Central API is done by connecting to the following URL:

https://api.businesscentral.dynamics.com/v1.0/<tenant name>/sandbox/api/v1.0

When authenticating to the service, you need to pass the User Name and Web Service Access Key (as the password) for the user. You do not pass the user's real password.