Share via


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

Dynamics 365 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 endpoint

Once you have the API access enabled, you can write code that integrates your web service or SaaS solution with Dynamics 365 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.

Dynamics 365 Business Central

Means of connection Microsoft Graph Common endpoint service Direct tenant
Usage Production Production Rapid development and testing only
Endpoint https://
graph.microsoft.com
/businesscentral/beta/
https://
api.businesscentral.dynamics.com/
v1.0/api/beta

Sandbox: https://
api.businesscentral.dynamics.com/
v1.0/sandbox/api/beta
https://
api.businesscentral.dynamics.com/
v1.0/<user domain name>/api/beta
Example: https://
api.businesscentral.dynamics.com/
v1.0/cronus.com/api/beta

Sandbox example: https://
api.businesscentral.dynamics.com/
v1.0/cronus.com/sandbox/api/beta
Availability Always enabled Always enabled Always enabled
Authentication Azure Active Directory
(AAD)
Azure Active Directory
(AAD)
Basic authentication.
Username and web service
access key
as password.
API/Data access Based on user's
permissions
Based on user's
permissions
Based on user's
permissions
API update cycle Monthly Monthly Monthly
Development instance Sign up for a tenant Sign up for a tenant Sign up for a tenant

Dynamics 365 Business Central On-Prem

Means of connection Direct Installation
Usage Production
Endpoint OData base URL in installation:
https://
<base URL>:<port>/v1.0/api/<API version>/
Example: https://
nav.contoso.com:7048/
v1.0/api/beta/
Must be exposed through a firewall.
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

See Also

API Documentation
Developing Connect Apps for Dynamics 365 Business Central
Configuring Microsoft Dynamics NAV Server 2018
Microsoft Dynamics NAV Web Services Overview