
Epicor Prophet 21 pricing: what drives the cost
Epicor Prophet 21 pricing depends on six drivers, from licensing model to integrations. See what shapes the cost and how to compare it with staying put.
Home » Business Central API for manufacturers: REST, OData, webhooks
The business central api is a REST API (OData v4) at https://api.businesscentral.dynamics.com/v2.0/{tenant}/{environment}/api/v2.0/, authenticated with Microsoft Entra ID OAuth 2.0. Get a token, call GET /companies, then read and write records with standard endpoints or custom API pages.
This guide is for IT managers and developers who connect plant systems to Business Central. If you’d rather hand the build to a team, our erp integration services cover the same ground.
We wrote it around manufacturing because the top guides skip items, BOMs, routings and production orders. Every limit and date below is stamped, and you should re-check each one on Microsoft Learn before you size anything.
Which Business Central API fits your integration?
Walk through your systems with our team and leave knowing which endpoints, webhooks and approval steps your integration needs.
Book a 30-min call →Quick Answer The Business Central API is a REST service built on OData v4. Use API v2.0 for standard data, custom API pages for manufacturing fields, and webhooks for change notifications. Authenticate with Microsoft Entra ID client credentials for background sync, and plan for HTTP 429 throttling responses.
Microsoft Learn’s web services comparison presents the REST API stack as the optimized, preferred way to integrate, and lists REST, SOAP and OData as the three web service types. Its SOAP page says API pages and queries can be up to 10 times faster than SOAP. For new work, start with REST.
Most integration trouble comes from picking the interface last. We pick it first, then build everything else around that choice.
The QServices Framework Integration Path = Interface → Identity → Read → Write → Notify → Limits
Interface decides what is even possible, and Identity decides who may do it. Notify and Limits come last because they only matter once data moves in both directions.
We reuse those six stage names in the sections below.
The Business Central API is the set of REST endpoints every environment ships with, plus any API pages and queries you publish yourself. Standard APIs are versioned, and Microsoft’s guidance is to pick the highest version available. The current one is API v2.0.
Does Business Central have a REST API? Yes. The business central rest api is the default route for dynamics 365 business central integration, and any language that can call HTTPS can use it.
The table below covers the five interfaces. Status reflects Microsoft Learn as of 25 November 2026.
| Interface | Auth | Status | Best use | Manufacturing fit |
|---|---|---|---|---|
| API v2.0 (standard) | Entra OAuth 2.0 | Current, preferred | Customers, items, sales and purchase documents | Items and inventory only, no BOM or production order endpoints that we know of |
| Custom API page or query | Entra OAuth 2.0 | Current, preferred | Any table you expose, with webhooks on pages | Best fit, but needs AL code and an extension |
| OData web service | Entra OAuth 2.0 | Microsoft pages end in v30, custom pages stay | Power BI and read-heavy reporting on your own pages | Works for custom pages you publish |
| SOAP web service | Entra OAuth 2.0 | Deprecated | Legacy callers only | Do not start new work here |
| Automation API | Entra OAuth 2.0 | Current | Company, extension and permission administration | Not for data |
The honest downside of the recommended path: custom API pages cost more up front than a SOAP page you can publish in a minute. You need AL skills, a sandbox and an extension release process.
Power Automate and Dataverse are the low-code alternatives. They’re quick for a single flow, but throughput and error handling are harder to control at plant volumes. See what is ERP integration for the four general patterns.
The business central api v2.0 identifies records by systemId (immutable and indexed), flattens complex properties and uses typed enums. Standard APIs cover finance, sales, purchasing and inventory. Microsoft doesn’t support extending its standard APIs with extra fields, so you copy the AL code into a custom API instead.
The base URL has three parts: tenant, environment and company.
GET https://api.businesscentral.dynamics.com/v2.0/{tenantId}/{environmentName}/api/v2.0/companies
Production or Sandbox, but custom names exist.GET /companies first and use the id GUID, not the company name.http://{server}:7048/{instance}/api/v2.0/, and the auth method is whatever the instance is configured for.Business Central OData query options are the same ones you’d expect, with one big exception: don’t page with $top and $skip. Use server-driven paging.
| Need | Use |
|---|---|
| Fewer columns | $select=number,displayName,inventory |
| Changed since last run | $filter=lastModifiedDateTime gt 2026-11-24T00:00:00Z |
| Parent with children | $expand=salesOrderLines($select=quantity) |
| Sort | $orderby=lastModifiedDateTime |
| Count | $count=true |
| Page size | Prefer: odata.maxpagesize=1000, then follow @odata.nextLink |
| Read replica | Data-Access-Intent: ReadOnly on GET |
| Schema | GET .../api/v2.0/$metadata |
Put $select inside $expand too, or Business Central returns every child column.
Here’s the worked example end to end. All ids are placeholders, and secrets never belong in source control.
First, a token (client credentials):
curl -X POST https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token \
-d grant_type=client_credentials -d client_id={appId} \
-d client_secret={secret} \
-d scope=https://api.businesscentral.dynamics.com/.default
Then find items with a filter, using the returned access_token as a Bearer header:
GET .../companies({companyId})/items?$select=number,displayName,inventory&$filter=number eq 'FG-1001'
Create a sales order with a deep insert (header and lines in one call):
POST .../companies({companyId})/salesOrders
{ "customerNumber": "10000",
"salesOrderLines": [ { "lineType": "Item", "lineObjectNumber": "FG-1001", "quantity": 12 } ] }
Patch it. Every GET returns an @odata.etag, and writes must send it back:
PATCH .../salesOrders({orderId})
If-Match: W/"JzE5OzEyMzQ1Njc4OTAxMjM0NTY3ODkwMTs7"
{ "requestedDeliveryDate": "2026-12-05" }
A stale ETag returns 412. Re-read, re-apply and retry. Posting is a bound action, not a status change: POST .../salesInvoices({id})/Microsoft.NAV.post for invoices, and Microsoft.NAV.shipAndInvoice on sales orders. A draft document and a posted document are different things, and only the action creates ledger entries.
The same in Python, for the token and one read:
import requests
t = requests.post(f"https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token", data={"grant_type": "client_credentials", "client_id": app_id, "client_secret": secret, "scope": "https://api.businesscentral.dynamics.com/.default"}).json()["access_token"]
r = requests.get(f"{base}/companies({cid})/items?$select=number", headers={"Authorization": f"Bearer {t}"})
For volume, POST /$batch takes up to 100 operations per request as of 25 November 2026. Add Isolation: snapshot to make a batch transactional. The common error codes are 400 (bad body), 404 (wrong company or id), 409 (conflict), 412 (stale ETag) and 429 (throttled). Retry only 409, 412 and 429 and 5xx, and make writes idempotent by checking for an existing external document number before you POST again.
Key Insight A 412 isn’t a failure, it’s the API telling you somebody else changed the record first. Integrations that treat it as an error lose edits, and integrations that blindly retry overwrite them.
A business central api for manufacturing integration needs more than the standard sales and inventory endpoints. To our knowledge, standard v2.0 has items, item variants, locations and item ledger entries, but no production order, BOM or routing endpoints. Microsoft Learn doesn’t name any. Check the v2.0 entity list for your version before you promise anything.
| Entity | Standard or custom | Typical endpoint | Key fields |
|---|---|---|---|
| Items, variants | Standard | items, itemVariants |
number, inventory, unitCost |
| Inventory by location | Standard (ledger) or custom | itemLedgerEntries |
itemNumber, locationCode, quantity |
| BOMs, routings | Custom API page | your own, e.g. productionBoms |
number, status, version |
| Work centers | Custom API page | your own | number, capacity, calendar |
| Production orders and lines | Custom API page | productionOrders, productionOrderLines |
status, sourceNo, quantity, dueDate |
| Consumption and output journals | Custom API page plus action | your own journal pages | itemNo, quantity, orderNo |
| Lot and serial tracking | Custom API page | your own | lotNo, serialNo, expiry |
Second worked example: read released production orders with their lines from your own custom API, then post output.
GET .../api/qservices/manufacturing/v1.0/companies({companyId})/productionOrders?$filter=status eq 'Released'&$expand=productionOrderLines
Output and consumption post through an item journal and its posting codeunit. Microsoft’s production order posting article says output creates item ledger entries and capacity ledger entries with value entries. Expose a bound post action on your journal page so the shop floor system can post a batch and get the response back.
A custom API page is short. This one exposes a production order:
page 50100 "Prod Order API"
{
PageType = API; APIPublisher = 'qservices'; APIGroup = 'manufacturing';
APIVersion = 'v1.0'; EntityName = 'productionOrder'; EntitySetName = 'productionOrders';
SourceTable = "Production Order"; DelayedInsert = true; ODataKeyFields = SystemId;
layout { area(Content) { repeater(Group) { field(number; Rec."No.") { } field(status; Rec.Status) { } } } }
}
Set InsertAllowed, ModifyAllowed and DeleteAllowed to false on pages that should be read-only. Publish the extension to the tenant. No webservices.xml is needed.
SOAP and OData web services still fit for custom pages you publish yourself and for Power BI reads. They don’t fit for Microsoft-owned pages. Microsoft is removing both for Microsoft pages, so new integrations on them have a short shelf life.
Yes. The Learn SOAP page says SOAP endpoint support is deprecated and will be removed in an upcoming release. On business central soap web services deprecation: Microsoft’s platform deprecated-features page says that in version 29 (2026 release wave 2) a Microsoft page can no longer be exposed as a SOAP endpoint. From version 30 (2027 release wave 1) it can’t be exposed as an OData endpoint either.
Two cautions. First, this applies to pages whose publisher is Microsoft, so write "Microsoft pages" and not "all SOAP". Several third-party articles claim all SOAP stops at v29, and Microsoft’s pages don’t say that. Second, a separate feature-key page gives version 30 for disabling SOAP on Microsoft UI pages, so Microsoft’s own pages differ. Plan for v29 and confirm on Learn for your environment.
Standards & References
- Business Central API v2.0 reference: standard endpoints, entities and webhook subscriptions
- Deprecated platform features: SOAP and OData removal for Microsoft pages
- Operational limits for online: request, concurrency and timeout limits
- Service-to-service authentication: client credentials flow and app registration
Business Central webhooks send a change notification to your URL when a record changes on a subscribed resource. The notification carries only a reference to what changed, so you call the API to get the data. Microsoft’s webhook design makes your endpoint, not Business Central, responsible for catching up.
How to set up Business Central webhooks in four steps:
POST /subscriptions with your notification URL, the resource and a shared secret:POST https://api.businesscentral.dynamics.com/v2.0/{tenantId}/{env}/api/v2.0/subscriptions
{ "notificationUrl": "https://integration.contoso.example/bc-hook",
"resource": "/api/v2.0/companies({companyId})/salesOrders",
"clientState": "{random-shared-secret}" }
validationToken query value back as plain text within five seconds. The same handshake runs on renewal.ApiSubscriptionExpiration in CustomSettings.config changes that.PATCH on the subscription, and run a renewal job at least daily.Business Central waits 30 seconds after the first change to batch changes. If many records change, it sends one collection notification instead of one per record. The documented threshold is 1,000. The Power Automate connector can’t process collection notifications.
No. Failed deliveries are retried for up to 36 hours, and a Dynamics community article says your endpoint must return 408, 429 or 5xx to keep retries going. Any other status code deletes the subscription. Webhooks are also disabled after an environment copy, and there’s a cap on subscriptions per environment (200 in one third-party account, so check Learn).
Key Insight Treat a webhook as a doorbell, not a delivery. Pair every subscription with a
lastModifiedDateTimesweep every 15 minutes, and a missed notification becomes a delay instead of a missing production order.
Real-World Scenario A typical case we see: a plant IT manager syncs released production orders to a shop floor system by webhook. A subscription lapses on a long weekend because the renewal job runs on one VM that rebooted. By Monday, 140 orders never reached the floor, and nothing errored. With the Notify stage built properly, a renewal check alerts on day two, and a 15-minute sweep on
lastModifiedDateTimepicks up the missed orders in the next cycle.
If you’re monitoring sync health generally, read integration monitoring: catch a failed sync before finance does.
Business central api throttling limits are per user and per environment, and Microsoft returns HTTP 429 when you exceed them. Sources disagree on exact numbers. Third-party guides still quote 600 requests a minute from an older blog, so the table uses the Learn figures reported in our research.
| Limit | Value | As of |
|---|---|---|
| Requests per user | 6,000 per 5 minutes | 25 Nov 2026 |
| Concurrent requests | 5 running, 95 queued | 25 Nov 2026 |
| Request payload | 350 MB | 25 Nov 2026 |
| Execution timeout | 10 minutes (Learn pages differ: 408 vs 504) | 25 Nov 2026 |
$batch operations |
100 per request | 25 Nov 2026 |
| Max page size | 20,000 entities | 25 Nov 2026 |
Source: Microsoft Learn, operational limits for online. Verify before you size.
Handle 429 and 503 with exponential back-off and honor the Retry-After header. Throttling hits hardest at month-end close, when your finance users and your integration share the same environment. Schedule bulk loads outside close, and keep to five concurrent calls.
| System | Pattern | Failure mode | Volume guidance |
|---|---|---|---|
| MES or shop floor to journals | Batch, $batch |
Duplicate output posting | Group by order, 100 per call |
| EDI orders to sales orders | Polling or queue | Re-keyed or doubled POs | Check external doc no first |
| WMS or barcode to item journals | Batch every few minutes | Stale ETag, negative stock | Small batches, retry on 412 |
| E-commerce inventory sync | Webhook plus sweep | Missed notification | Read-only intent on GETs |
| CRM sync | Webhook plus sweep | Lapsed subscription | Renew daily |
| Power BI extraction | Polling with lastModifiedDateTime |
Heavy full reloads | Use read replica header |
EDI is a common starting point: see EDI 850 to Business Central.
$top and $skip, so results truncate at the page size.Stuck choosing between REST and OData?
Describe your current integration and we will point to the endpoint, auth method and throttling plan that suits it.
Book a 30-min call →The business central api authentication method is Microsoft Entra ID OAuth 2.0. Basic authentication with access keys is gone for SaaS. Use client credentials for background sync and the authorization code flow for apps where a user signs in.
For business central oauth app registration, follow this setup. Microsoft’s service-to-service guide covers the Entra half. The Business Central half is the step competitors skip.
API.ReadWrite.All (add Automation.ReadWrite.All only for Automation APIs).https://api.businesscentral.dynamics.com/.default and call GET /companies.Secret or certificate? A secret is quicker and needs a rotation reminder. A certificate costs more setup and is safer. Delegated flow needs the user’s permissions and a redirect URI.
Key Insight Give the integration app the smallest permission set that does the job. A service principal that can post journals and delete customers is the integration equivalent of a shared admin login.
Agents read and write through the same APIs your integrations do. That means each one needs its own service principal, a least-privilege permission set and an audit trail. The Business Central MCP server gives agents read-only access to exposed API pages by default, and an admin has to configure create, modify and delete operations. Agents on Business Central run only on the online version.
Two patterns we’d build, as illustrations:
The approval step is our own design, not a Microsoft feature. A person signs anything that posts money or changes a system. See AI agent governance: why human-in-the-loop is non-negotiable.
We start at the Interface stage, because a wrong interface choice is the most expensive mistake to undo. Our work with a business central partner mindset covers the whole path, and our dynamics 365 erp integration team builds and runs it. Delivery runs in this order:
Implementation Checklist
- Interface chosen per caller, with SOAP callers listed
- Entra app registered and admin consent granted
- App added on the Microsoft Entra Applications page with permission sets
- Secret expiry date in a calendar, or certificate in use
GET /companiesreturns 200 from a non-production token- Paging uses
@odata.nextLink, never$topor$skip- Webhook renewal job runs daily and a sweep catches misses
- 429 and 503 handling with back-off tested in the sandbox
Pilot one workflow, such as released production orders to the shop floor, and measure time to sync, failed calls per 1,000 and 429s per day. Book a 30-min call and we’ll review your interfaces and plan that pilot with you.

Written by Rohit Dabra
Co-Founder and CTO, QServices IT Solutions Pvt Ltd
Rohit Dabra is the Co-Founder and Chief Technology Officer at QServices, a software development company focused on building practical digital solutions for businesses. At QServices, Rohit works closely with startups and growing businesses to design and develop web platforms, mobile applications, and scalable cloud systems. He is particularly interested in automation and artificial intelligence, building systems that automate routine tasks for teams and organizations.
Yes. As of 25 November 2026, Microsoft Learn’s operational limits for online list 6,000 requests per user per 5 minutes, 5 concurrent requests with 95 queued, a 350 MB payload and a 10-minute timeout. When you exceed them, Business Central returns HTTP 429. Back off, honor Retry-After and confirm the figures on Learn before sizing.
The REST API (API pages and queries, such as API v2.0) is versioned, supports webhooks and is the interface Microsoft prefers. An OData web service exposes a UI page or query by name and has no versioning. From version 30, Microsoft pages can no longer be exposed as OData endpoints. Custom pages you publish stay available.
No. A webhook subscription sends only a change reference, retries failed deliveries for up to 36 hours and expires after 3 days unless you renew it with a PATCH. Webhooks are also disabled after an environment copy. Pair them with a lastModifiedDateTime sweep so a missed notification doesn’t become missing data.
No. Microsoft doesn’t support extending its standard APIs with extra fields. You copy the AL source into your own custom API page with its own APIPublisher, APIGroup and APIVersion, and expose the fields you need. That’s also how you reach manufacturing tables such as production orders.
Start by choosing the interface, registering an Entra app, adding it on the Microsoft Entra Applications page and calling GET /companies from a sandbox. The API has no separate per-call fee that we know of, but licensing still applies, so confirm with Microsoft. In our experience a single-workflow pilot takes weeks, and a two-week fixed-price assessment is a sensible first step.

Epicor Prophet 21 pricing depends on six drivers, from licensing model to integrations. See what shapes the cost and how to compare it with staying put.

Learn how to track time in Azure DevOps work items four ways, what each one misses, and how a timer on the work item ends Friday timesheet rebuilds.

GP collections management comes from an add-on. See where the work stays manual and how an approval-first agent covers the gap now and in Business Central.

Accounts receivable turnover ratio explained: the formula, benchmarks for manufacturers and distributors, and how to convert it to DSO for your board.

Plan your NAV to Business Central migration before NAV 2018 support ends on 11 Jan 2028. Compare online vs on-premises and size the C/AL to AL rewrite.

Use this ERP data migration checklist to clean customers, vendors, items and open AR/AP before a Business Central move. Your team approves every merge.
Next step
Ready to connect your plant to Business Central?
Bring your integration list. We will map each flow to an API and show where an agent can act with a person signing off.
Book a 30-min call →
Epicor Prophet 21 pricing depends on six drivers, from licensing model to integrations. See what shapes the cost and how to compare it with staying put.

Learn how to track time in Azure DevOps work items four ways, what each one misses, and how a timer on the work item ends Friday timesheet rebuilds.

GP collections management comes from an add-on. See where the work stays manual and how an approval-first agent covers the gap now and in Business Central.

Accounts receivable turnover ratio explained: the formula, benchmarks for manufacturers and distributors, and how to convert it to DSO for your board.

Plan your NAV to Business Central migration before NAV 2018 support ends on 11 Jan 2028. Compare online vs on-premises and size the C/AL to AL rewrite.

Use this ERP data migration checklist to clean customers, vendors, items and open AR/AP before a Business Central move. Your team approves every merge.
Every quote comes from a published review on GoodFirms, Clutch or our own site. Click a source to read the full review.
Trustpilot5.0★★★★★See reviewsGoodFirms5.0★★★★★45 verified reviews
G25.0★★★★★See reviewsClutch5.0★★★★★Quality 5.0 · Schedule 4.8
Google4.7★★★★★Mohali office“QServices was highly professional, knowledgeable, and approachable. We continue to work with them on other projects.”
“Quality assurance is often overlooked, but these guys take that very seriously. … their team of experienced, dedicated developers and highly skilled engineers quickly dissected and decomposed every problem and presented solutions and options that directly met my needs”
Erik BrownBusiness owner and software engineerClient review“The supplier delivered the application on time and was responsive to our needs. He was also flexible, which allowed us to make changes on the fly.”
Zoltan BodnarCFO, Yusen LogisticsGoodFirms“Thank you Sahil and team for wonderful collaboration right from day 0. … Highly recommend the developers.”
Ranbeer MakinClientClient review“They are always looking for new ways to improve their products and services and to deliver value to their customers.”
“I have had an excellent experience working with QServices. We have a highly collaborative relationship and I value them not just as contractors but as partners.”
Alex VanderElsClientClient review“Sahil undertakes every project with a high degree of professionalism. His communication style is unmatched and he is always available to resolve issues or just discuss the project.”
Philmore J.ClientClient review“Responsive, patient and professional. Consistent weekly attention to our project, and new ideas we hadn't asked for.”
Michael WilliamsonPresident and CEO, United Way of Southeast LouisianaGoodFirms“I have been working with them on a project for a year now … They have been able to solve problems that come up with bugs or development and able to communicate well with me.”
Steven LewisClientClient review“We had been working on the app for two years. QServices built it in two months.”
Brian WallerPresident, Technology Association of IowaGoodFirms“All projects were delivered on time and were fully completed upon delivery.”
“They had excellent quality. The hypercare they provided after the project went live is exceptional.”

Founder and CEO

Chief Sales Officer
Thanks, we’ve got your details. A named member of our team will reply within one business day.
You leave the call with
What should we cover on the call?
Pick one so the right person joins. You choose the time next.
Pick a time for the call