DEV Community

Cover image for A Postman Collection for the Business Central API v2.0
Jeffrey Bulanadi
Jeffrey Bulanadi

Posted on

A Postman Collection for the Business Central API v2.0

Every time I start a new Business Central API project, I end up setting up the same things again. Token request, authentication, variables, and a few common calls, before I even touch the endpoint I actually need to test.

So I built a Postman collection that has all of that ready to go.

What It Includes

  • Client credentials token request built in, saves to a collection variable automatically
  • Every BC API v2.0 endpoint from the official Microsoft docs, organized into folders
  • Customers, vendors, companies, journals, dimensions, fixed assets, sales and purchase documents
  • Self contained, no separate environment file needed
  • List Companies request included to get your company ID quickly

Getting Started

You will need a Business Central environment, an Entra ID app registration, API permissions, and your tenant ID, client ID, and client secret. Import the collection, open the Variables tab, and enter your values.

If you are not familiar with setting up an app registration in Entra ID, I wrote a separate guide covering that step by step.

Links

Free and open source. How do you usually set up your Postman collections for API work? Would love to hear what works for you.

Top comments (0)