Technology

API

API: Defined interface through which one program requests data from or calls functions of another program.

Also: APIs, application programming interface

An API (application programming interface) is a defined interface through which one program requests data from or calls functions of another program. It specifies what may be requested and in which format the answer comes back.

Which interfaces does Business Central offer?

Business Central exposes data and functions as web services. These include API pages that can be reached through REST and OData with JSON data. They allow web shops, time tracking or reporting tools to be connected without accessing the database directly. For new integrations, Microsoft recommends the REST interfaces.

How are custom interfaces created in Business Central?

Custom API pages are developed in AL. They make sense when the standard does not offer a particular field or table. Access follows the permissions of the signed-in user or a service account, so each integration can see only what has been released to it.

What matters for interfaces when moving from Dynamics NAV?

In NAV, systems were often connected through SOAP web services or direct database access. Direct access to the database is not possible with Business Central Online. Existing integrations therefore have to be reviewed and often switched to API pages.