Here is my answer:
How should we connect to Business Central?
The best way to connect is using web services using ODATA. There are several web services already active for the current table, in the BC sandbox do a search for web service and use the ODATA or SOAP links in there. If you need to create your own just create a card and add your object in that list and Business Central will automatically enable a web service for you. Use Postman to test it, just add the userid and the password which is the web service code (you can find it under any user´s security profile)
How can we call items API and what the parameters are?
Every web service is different but use this it will save you a lot of time, trust me. No need to add a reference in C#:
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text.Json;
using System.Threading.Tasks;
using WebAPIClient;
namespace ConsoleApp4
{
class Program
{
private static readonly HttpClient client = new HttpClient();
private static async Task ProcessRepositories()
{
client.DefaultRequestHeaders.Accept.Clear();
var stringTask = client.GetStringAsync("api.businesscentral.dynamics.com/.../Company(\'" "CRONUS MX" "\')/<YourWebService>");
var msg = await stringTask;
As simple as this.
How can we see list of available APIs?
Search for web service in business central it will display the list.
Why do we need to create other connect apps?
I'm not sure what you mean by this, but just create in AL your table, your card and your list using VB code, then add it to the web service page in BC. Run the C# VB Code in Visual Studio.
If you have questions feel free to contact me.