Skip to main content

Posts

Showing posts with the label API

Business Central API Q&A: Your Questions Answered!

Hi Readers, In continuation to the API Series today we will discuss about Business Central API Q&A: Your Questions Answered! #msdyn365bc #api #Q&A This video is a Q&A session about the Business Central API.  The video answers questions from viewers about how to use the API, including how to determine which API endpoints allow which HTTP methods, how to create custom JSON responses after bounded actions, how to filter item lists, and how to adjust inventory levels.  The video also provides insights into the differences between the API and the client experience. Overall, the video offers valuable information for developers who are working with the Business Central API. Regards, Saurav Dhyani https://bit.ly/SubscribeSauravYouTube

Delete Method in MS Dynamics 365 Business Central API.

Hi Readers, In continuation to the API Series today we will discuss about Delete Method in MS Dynamics 365 Business Central API. #msdyn365bc #delete #api #businesscentral This video is about the DELETE method in MS Dynamics 365 Business Central API.  The DELETE method is used to delete existing records in Business Central.  The video starts with a quick recap of previous videos in the series, which covered GET, POST, and PATCH methods. Then explains the concept of DELETE and compares it to the DELETE function in AL code. To demonstrate the DELETE method, the speaker uses Postman to delete an existing sales order record.  Then this video explains the importance of setting the correct headers, including the Content-Type and If-Match headers. The speaker also shows how to use batch requests to delete multiple sales orders in a single request. Finally, the speaker summarizes the key points of the video and encourages viewers to like, share, and subscribe to the channel. ...

PATCH Method in MS Dynamics 365 Business Central API.

Hi Readers, In continuation to the API Series today we will discuss about PATCH Method in MS Dynamics 365 Business Central API. #msdyn365bc #api #patch #businesscentral This video is about the PATCH method in MS Dynamics 365 Business Central API.  The PATCH method is used to modify existing records in Business Central.  The video starts with a quick recap of previous videos in the series, which covered GET, POST, and batch requests. The speaker then explains the concept of PATCH and compares it to the MODIFY function in AL code. To demonstrate the PATCH method, the speaker uses Postman to modify an existing item record.  Explains the importance of setting the correct headers, including the Content-Type and If-Match headers. The speaker also shows how to use batch requests to modify multiple items in a single request. Finally, we summarize the key points of the video and encourages viewers to like, share, and subscribe to the channel. Regards, Saurav Dhyani https://bi...

Batch Requests in MS Dynamics 365 Business Central API.

Hi Readers, In continuation to the API Series today we will discuss about Batch Requests in MS Dynamics 365 Business Central API. #msdyn365bc #api #batch  This video is about batch requests in MS Dynamics 365 Business Central API.  Batch requests allow you to combine multiple operations into a single request, which can improve performance.  The video covers the basics of batch requests, including the syntax and parameters.  It also demonstrates how to create a batch request to create multiple customers. Finally, the video discusses the limitations of batch requests, such as the maximum number of operations per request. Here are some key points from the video: Batch requests can be used to combine multiple operations into a single request. The maximum number of operations per batch request is 100. Batch requests can be used to create, update, or delete records. Batch requests can also be used to execute custom actions. Batch requests can improve performance by re...

Unleashing the Potential of Bound API Actions in MS Dynamics 365 Business Central.

 Hi Readers, In continuation to the API Series today we will discuss about Unleashing the Potential of Bound API Actions in MS Dynamics 365 Business Central. This video is about bounded actions in Dynamics 365 Business Central APIs.  Bounded actions are a type of API action that allow you to perform specific actions on a particular data entity. For example, you can use a bounded action to create a sales order, post a sales order, or ship and invoice a sales order. To use a bounded action, you first need to get the ID of the record you want to perform the action on.  Then, you can use the POST HTTP method to call the bounded action. The URL for the POST request should include the ID of the record and the name of the bounded action. The video provides several examples of how to use bounded actions. Example, the speaker shows how to convert a sales quote to a sales order and then how to ship and invoice the sales order. Overall, this video is a good introduction to boun...

Creating Records with Business Central API: Step-by-Step Guide for Post Method.

Hi Readers, In continuation to the API Series today we will discuss about Creating Records using Business Central API's on-prem and online. This video is about how to use the POST method in Business Central APIs to create records.  the basics of using the POST method Demo how to use the POST method to create a customer record. How to use the POST method to create a sales order with multiple lines and dimensions.  How to handle validation errors that may occur when creating records. Tips for using the POST method effectively.  Using the GET method to understand the structure of the request body before creating records.  Suggests using the expand parameter to include related data in the request body. Overall, this video is a good resource for learning how to use the POST method in Business Central APIs. The speaker provides clear and concise explanations, and he demonstrates how to use the POST method in a variety of scenarios. Here are some key points from the vi...

Expanding Data with $expand in Business Central APIs: A Comprehensive Guide

 Hi Readers, In continuation to the API Series today we will discuss about $expand parameter w.r.t Business Central API's on-prem and online. This video is about how to use the $expand parameter in Business Central APIs. First, we will go over the basics of using $expand, such as what it is and how it is used.  Then demonstrates how to -  use $expand to expand related records in a variety of scenarios. how to use filters with $expand. ' how to filter the expanded records based on specific criteria. other parameters that can be used with $expand - such as  $select,  $orderby,  $top,  $skip,  and $count.  how these parameters can be used to further customize the results of an API call. Overall, this video is a good resource for learning how to use $expand in Business Central APIs. The speaker provides clear and concise explanations, and he demonstrates how to use $expand in a variety of scenarios. Here are some key points from the video:...

How Do I - Filter Your Business Central Api Data.

 Hi Readers, In continuation to the API Series today we will discuss about Filtration options for Business Central API's on-prem and online. This video is about how to filter data using Business Central APIs. We will go over -   the different comparison operators that are supported, such as equal to, not equal to, greater than, and less than.  Demo how to use these operators in Postman to filter data. Discusses logical operators, such as and and or.  Or operator can only be used with the same field. He also shows how to use a range of values to filter data. text-based operators, such as contains, starts with, and ends with.  The top, skip, and count parameters, which can be used to control the number of records that are returned. Overall, this video is a good resource for learning how to filter data using Business Central APIs.  key points from the video: You can use comparison operators to filter data based on specific values. You can use logical...

Making API Calls in #msdyn365bc: Step-by-Step Guide using REST Client and Postman.

Hi Readers, In continuation to the API Series today we will discuss about How to make API call using REST Client and Postman. This video is about how to use APIs in Business Central. The speaker first goes over some of the basics of using APIs, such as what they are and how they are used. He then provides a step-by-step guide on how to make API calls using REST Client and Postman. Finally, he discusses some of the challenges that you may face when using APIs and how to overcome them. Some of the key points from the video include: APIs are a way to interact with Business Central data. You can use REST Client or Postman to make API calls. There are two versions of the Business Central API: v1 and v2. You need to include the company ID in your API calls. There are some challenges that you may face when using APIs, such as authentication and authorization. Overall, this video is a good resource for learning how to use APIs in Business Central.  Regards, Saurav Dhyani https://bit.ly/Sub...

Mastering API Authentication in Business Central: Basic and OAuth Explained.

Hi Readers, In continuation to the API Series today we will discuss about authentication types for Business Central API's on-prem and online. Mastering API authentication in Business Central involves understanding basic and OAuth methods. Basic authentication is deprecated for online environments, while OAuth is essential for cloud use. The process includes setting up app registrations in Azure, defining permissions, and generating access keys to facilitate secure API interactions. Different types of authentications for Business Central APIs are crucial for secure access. Understanding the variations between OAuth and basic authentication can enhance API usage efficiency. Basic authentication for accessing APIs involves generating a web service access key and registering applications in Azure. This process ensures secure access to resources in both on-premises and cloud environments. As of today, Basic Authentication only works with Business central on premises environments. Settin...

Business Central APIs: Understanding API Versions and Evolution.

Hi Readers, In continuation to the API Series today we will discuss about Business central API Version and Evolution. Business Central APIs evolution focuses on versions from beta to 2.0. I will try to explain the historical context, access methods, and key differences between versions. The importance of upgrading from outdated versions is emphasized, along with the limitations of API extensibility and authentication methods for on-premises and SaaS environments. Transitioning from older versions of Microsoft Business Central to version 2.0 is essential for improved stability and functionality. The newer version includes significant changes that enhance user experience and system performance. The video outlines the differences between API versions 1.0 and 2.0, highlighting new pages and semantic changes. It emphasizes the importance of understanding these updates for better API usage. Successfully installing the API app is crucial for accessing various versions of the API endpoints. Pr...

API 101: An Introduction to Application Programming Interfaces.

Hi Readers, I am sure you have heard about Application Programming Interfaces. Microsoft Introduced API with Dynamics NAV 2018 as beta release, that later was upgraded to Version 1.0 with Business Central 14 and currently version 2.0 is the active version. Microsoft currently supports v1 and v2 Api's with business central. An API, or Application Programming Interface, facilitates communication between computers, allowing them to share and retrieve data. It operates through endpoints, which are specific communication channels. Proper documentation is essential for using APIs effectively, detailing required parameters and response formats. Understanding APIs is crucial for developers, especially in business contexts. APIs, or Application Programming Interfaces, are essential for enabling communication between different software systems. They facilitate data exchange and interaction, primarily between servers rather than users. Example - Travel booking websites simplify the process of...