Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 2.39 KB

enabling-apis-for-dynamics-nav.md

File metadata and controls

37 lines (28 loc) · 2.39 KB
title description author ms.custom ms.date ms.topic ms.author ms.reviewer
(v1.0) Enabling APIs for Microsoft Dynamics NAV
(v1.0) Describing the steps you must go through to enable access to the APIs.
SusanneWindfeldPedersen
evergreen
05/01/2024
article
solsen
solsen

Enabling the APIs for Dynamics 365 Business Central (v1.0)

[!INCLUDEprod_short] exposes 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 for [!INCLUDEprod_short].

Important

REST programming is not natively supported in C/SIDE. In order to run the APIs you must add the REST dependent types manually. Existing W1 objects can compile and load, but some .NET types cannot be loaded into the C/SIDE Development environment variable editor due to missing server dependencies.

Enable access to the APIs

  1. Open the Business Central Administration tool.
  2. Expand the OData Services tab, and select the Enable OData Services checkbox first, then select the Enable API Services checkbox.
  3. Check that the values for the OData Base URL and Port are entered correctly.
    When exposing a web service, you must open the port for other consumers of your web service to access it. You can have your system administrator add the port through Windows Firewall on the computer running [!INCLUDEprod_short] server. The default port for OData web services is 7048.
  4. In [!INCLUDEprod_short], search for API Setup and then choose the related link.
  5. On the API Setup page, choose the Integrate APIs button.
    This will start a process of populating all the integration tables with records for all APIs. The process can take several minutes.

Depending on where you want to access the APIs from, you must specify the correct endpoint. For more information, see Endpoints for APIs.

[!INCLUDEon-prem-ws-off-405-note]

See Also

Developing connect apps for Dynamics 365 Business Central
Microsoft web services overview
OpenAPI specification