Business Central API – leave out CompanyId from the URL

Here’s a nice trick I wanted to share with you simply because I didn’t know this was possible (probably a lot of you already know, but if not – here you go ;-)). It could come in handy in some situations.

You probably are very aware about how we’re supposed to use Business Central API’s in general. Like:

  1. Get the CompanyId from a “companies” endpoint
  2. Then use that Id to get to the data…

Continue Reading waldo’s Article on their blog

https://www.waldo.be/2022/02/28/business-central-api-leave-out-companyid-from-the-url/

Blog Syndicated with waldo’s Permission

Author: Waldo

Share This Post On
Share via
Copy link
Powered by Social Snap