All insights
API and integration

Choosing an integration interface for Business Central

OpsMeld · 6 October 2026 · 5 min read

Business Central gives integrators several ways in. They look similar from the outside, since most of them return JSON over HTTPS, but they behave differently when the system is updated or the page changes. Choosing the right one up front saves a rewrite later.

The four options

1. Standard APIs

Microsoft publishes a versioned set of API endpoints for common entities: companies, customers, vendors, items, sales and purchase documents, journals, and more. The current version is v2.0. A request looks like this:

GET https://api.businesscentral.dynamics.com/v2.0/{tenant}/{environment}
    /api/v2.0/companies({companyId})/customers

These endpoints are designed for integration: stable field names, idkeys based on the record’s SystemId, and a contract that Microsoft versions rather than changes silently.

2. Custom API pages

When the standard APIs do not cover what you need, such as a custom table or a field your extension adds, you write your own API page in AL. It is a page with PageType = API and its own publisher, group, and version:

page 50110 "Project Expense API"
{
    PageType = API;
    APIPublisher = 'contoso';
    APIGroup = 'projects';
    APIVersion = 'v1.0';
    EntityName = 'projectExpense';
    EntitySetName = 'projectExpenses';
    SourceTable = "Job Journal Line";
    ODataKeyFields = SystemId;
    DelayedInsert = true;
    ...
}

It is exposed under /api/contoso/projects/v1.0/. You own the contract, and you can add a v2.0 beside it later without breaking existing callers.

3. OData web services

Any page, query, or codeunit can be published on the Web Services page and called through the ODataV4 endpoint. This is quick to set up, and queries published this way are a good fit for reporting.

The catch with publishing a normal UI page is that the integration inherits everything about that page: its triggers, its field list, and any change a later version or extension makes to it. A page designed for people is not a stable contract for systems.

4. SOAP

SOAP endpoints still exist for some objects, but Microsoft has been deprecating SOAP for UI pages. Treat it as something to maintain in existing integrations, not to start with.

Authentication

For Business Central online, integrations authenticate with OAuth 2.0 through Microsoft Entra ID. For a service that runs without a user, register an application in Entra ID, grant it the Business Central API permission, and create a matching Microsoft Entra application record in Business Central with only the permission sets it needs. Basic authentication with web service access keys is no longer supported online.

Limits and reliability

Business Central online applies rate, concurrency, and payload limits to API and OData calls. The exact values change between releases, so check the current “Operational limits” page on Microsoft Learn rather than a blog post. Design for them anyway:

  • Retry on HTTP 429 and 5xx responses with a back-off, rather than failing the whole run.
  • Use $batch to group requests, and $filter and $select to fetch only what you need.
  • Prefer webhooks, which are supported on API pages, over polling large tables.
  • Log every call that changes data, with enough detail to replay it.

A simple rule

  • Standard API if the entity is covered. This is the default.
  • Custom API page for anything custom, or when the standard API is missing fields you need.
  • OData query for read-only reporting extracts.
  • OData UI page or SOAP only to keep an existing integration running while you replace it.

If you are inheriting an integration that uses published UI pages, list them before your next major update. Those are the ones most likely to break.

Have a question this article did not answer?