Zum Inhalt

Endpoints for the APIs for Dynamics 365 Business Central On-Premises and Online

Business Central on-premises and online expose an API that makes it possible to integrate with other services. To enable integration with these APIs, you must go through a few steps to enable the access first. For more information about these steps, see Enabling APIs for Dynamics 365 Business Central.

Accessing the endpoints

Once you have the API access enabled, you can write code that integrates your web service or SaaS solution with Business Central. Creating your integration through an API provides simple access to the supported functionality in a single endpoint, giving you a simplified experience for creating a single app with integrations across multiple Microsoft products.

With the introduction of multiple Business Central environments, the name of the environment being connected to needs to go into the URI. To learn how to get a list of environments deployed on the tenant, see Getting a List of Environments.

WebConnector Business Central Prefix Example

Business Central Premises:

https://start.tso.de/BC220/api/tso/webconnector/v2.0

Business Central Online:

https://api.businesscentral.dynamics.com/v2.0/tso.de/sandbox/api/v2.0

Business Central

Means of connection Microsoft Graph Common endpoint service Direct tenant
Usage Production Production Production
Endpoint https://graph.microsoft.com/beta/financials/ https://api.businesscentral.dynamics.com/v2.0/<environment name>/api/v2.0
Example: https://api.businesscentral.dynamics.com/v2.0/production/api/v2
https://api.businesscentral.dynamics.com/v2.0/<user domain name>/<environment name>/api/v2.0
Example: https://api.businesscentral.dynamics.com/v2.0/cronus.com/sandbox/api/v2.0
Availability Always enabled Always enabled Always enabled
Authentication Microsoft Entra ID (formerly Azure AD) Microsoft Entra ID (formerly Azure AD) Microsoft Entra ID (formerly Azure AD)

Business Central On-Prem

Means of connection Direct installation
Usage Production
Endpoint OData base URL in installation: https://<base URL>:<port>/<serverInstance>/api/<API version>/
Example: https://nav.contoso.com:7048/bc/api/v2.0

Must be exposed through a firewall.
Extension APIs: https://<base URL>:<port>/<serverinstance>/api/<API publisher>/<API group>/<API version>
Availability Disabled by default. Must be enabled by the administrator.
Authentication Basic authentication. Username and web service access key as password. Your solution must be configured to use NavUserPassword or AccessControlService authentication in order to configure Dynamics NAV user accounts to include an access key.
API/Data access Based on user's permissions
API update cycle Hotfixes installed by partner
Development instance Get Docker instance