Testing Business Central Online APIs using Postman

This post explains how to test Microsoft Dynamics Business Central Online APIs using Postman with complete details.

Postman is a very useful tool for developers to test various types of HTTP requests, including REST APIs. Business Central supports REST APIs in both On-Premises and Online environments. To test Business Central Online APIs, client application must pass through OAuth2 authentication.

Source : msnJournals
Read more…

Business Central oAuth2 Authentication

Steps to activate the OAuth2 authentication method, this type of connection can be used to connect to Business Central WebServices-APIs; it will soon be the only method available as access with WebService key is deprecated.

The system to access the exposed services uses a token issued by the access procedure (see details at the links below), it is possible to use different ways to get the token released.

Source : Roberto Stefanetti
Read more…

Generic OAuth2 Library for Business Central

Generic OAuth2 Library for Business Central is to acquire Access Token from Azure AD, Google, Facebook etc. OAuth is most commonly used authorization method across all platforms. Acquiring Access Token is a little difficult in Business Central, though there is a Codeunit called OAuth2 available in the system. To help the Business Central developers’ community, I thought of creating this generic library for OAuth2, so that developers can use this in their applications.

Source : msnJournals
Read more…