Business Central API’s and Available Methods

If you use API’s in Business Central, probably you found some limitations in methods, depending on API to API. Sometimes you can do more, sometime less. For example, with Accounts you can use only GET method (I still don’t understand why?), and so on…

You can find details about all of them here, but I prefer to have everything on one place as it will be easier to decide if I would use standard API or eventually I need to create the custom one. Because of that, I’ve made this matrix with all standard API’s and methods you can use with them:

Except these limitations, it would be nice to know that you have some other limits as well and they are important if you want to use API’s in some solutions. Even if those limits are high, they are still limits. For example, you can have maximum 600 requests per minute in production environment and 300 in sandbox. Complete list of limits is here.

And what is also important? If you are using those API’s through Power Platform (or Logic Apps) connectors, you should understand their actions and parameters. All details can be found here, but there is a table for better understanding:

It is important to mention that all that information are subject of change.

Automatic Recording Permissions in NAV 2016

In older NAV versions, every time we needed more permissions sets then we already have in NAV, we have had a problem. It was not so easy and we had to be careful with this process. There was no some automatic tool for permissions recording. Now, we got it.

If we need more permissions sets, we can make them manually as earlier. But now we can use new automatic tool as well. This tool for recording permissions is based on the code coverage functionality. We can do more different activities on NAV and it will be recorded.

permissionset

We just need to create a new Permission Set and choose Permissions. We need to click Start button and then we have to work all activities this role need to do. For example, open Sales Orders, create new, and create new Customer and new Item. When you finish with activities, click Stop button on Permissions and system will fill your page with all user rights. System will add only tables you used with Read permission; you have to add other permissions you need (Insert, Modify, Delete).

If you have forget some activities, you can do it again and after you click Yes on question “Do you want to add the recorded permissions?”, you will get add new rights.

This is really useful feature. Maybe we could use some of similar solutions, but now we have it in standard NAV.