The Custom API built works for both versions of Business Central On-Premises/On Cloud, and below I will show examples of how to make the requests.
In the case of On-Premises I am using Basic Authentication, in the case of On Cloud, AOuth2, of latter I leave more information on how to connect in this previous post.
On Premises:
Using API in Postman
The Custom API built works for both versions of Business Central On-Premises/On Cloud, and below I will show examples of how to make the requests.
In the case of On-Premises I am using Basic Authentication, in the case of On Cloud, AOuth2, of latter I leave more information on how to connect in this previous post.
Although the title of the post mentions Business Central On-Premises, I want to take advantage of the Post to show how the call would be implemented in the On Cloud version.
Finally, I show how to do it natively in the On Cloud version using Automation APIs.
Here I tried to do the same in the On-Premises version but I had no success, I did not find information on the internet either and that is where if someone knows how to do it I would like you to let me know. (I think that maybe if the credentials are approved to be used with AAD it could work)
HTTP request
GET /microsoft/automation/v2.0/companies({companyid})/extensions
No comments:
Post a Comment