Web services
Business Central web services: OData, SOAP and API endpoints, how to publish and consume them, secure them, monitor them with telemetry, and tune or troubleshoot them. It answers questions on endpoint types, authentication, publishing, errors, performance and terms of use.
Path: Integration > Web services · tier official · system integration · narrative reviewed (checked by Opus)
Overview
This section covers how external systems connect to Business Central through web services. The three endpoint types are OData, SOAP and APIs. Subtopics cover consuming OData (JSON and AtomPub) and SOAP, publishing pages, queries and codeunits as endpoints, the APIs subtopic (261 pages), and security.\n\nFive pages sit directly in the hub. Four cover cross-cutting operations: troubleshooting errors, performance guidance, web service telemetry, and the terms of use. The fifth gives refactoring guidance for replacing legacy integration records with system fields such as SystemId and SystemModifiedAt.\n\nTo start, read the publishing subtopic if you need to expose an object, or the OData, SOAP or APIs subtopic if you are consuming one. Then read web services security to choose authentication. Use the troubleshooting, performance and telemetry pages once calls are running.
Key points
- Subtopics: Web services security (7 pages), APIs (261), OData (14), Publishing pages and codeunits as OData/SOAP endpoints (5), SOAP (4).
- Security covers basic, OAuth and service-to-service authentication, certificates, supported cipher suites for outgoing HTTPS calls, and network restriction with Azure service tags.
- OData pages cover JSON and AtomPub, the metadata document, filtering, modifying records, V4 unbound actions, transactional batches, and error codes.
- Publishing covers pages, queries and codeunits as OData V4 or SOAP endpoints, including bound actions. The SOAP feature key was removed in version 30.0.
- SOAP pages cover converting bookmark keys to record IDs, keeping data with static proxies, finding company names with SystemService, and handling optional fields.
- Troubleshooting guidance helps decide whether an error comes from the client, the network or the server endpoint. It uses HTTP status codes, telemetry, OData error codes and debugging.
- Performance guidance gives patterns and anti-patterns for the server endpoint and the consumer, including API client and Power BI performance.
- Web service telemetry tracks incoming SOAP, OData and API requests, access key usage and publish failures.
Subtopics
- Web services security (7 pages)
- APIs (261 pages)
- OData (14 pages)
- Publishing pages and codeunits as OData/SOAP web service endpoints (5 pages)
- SOAP (4 pages)
More Learn pages
- Compare REST APIs, OData, and SOAP web services in Business Central: Compare the features of REST APIs, SOAP, and OData web services and know how to create and maintain these services.
- Integration Management Refactoring Guidance: This article offers guidance for refactoring the code in your Marketplace app or per-tenant extension to use system fields rather than integration records.
- In the observatory: Codeunit 49 “GlobalTriggerManagement”
- Troubleshooting web service errors (OData, API, and SOAP): Learn about how to troubleshoot Business Central web service errors (OData, API, and SOAP).
- Web Service Performance (OData, API, and SOAP): Learn about how performance of Business Central web services (OData, API, and SOAP)
- Web Service Telemetry in Business Central: Monitor Business Central web service requests with telemetry to analyze endpoint usage, HTTP failures, access key authentication, and publishing errors.
- Web Services Terms of Use: Terms of Use for Business Central APIs
Videos, posts and code changes
Linked by a Haiku matcher with a grounding quote from the item’s summary (link/topics.ts); machine-generated.
- #12324 Obsolete Http Web Request Mgt. usage in public API (webhooks, OData) (code change): “Http Web Request Mgt usage is removed from webhook and OData public APIs”
- #12326 Migrate Doc. Exchange and OCR service callers off Http Web Request Mgt. (code change): “Document Exchange and OCR service codeunits migrate from DotNet Http Web Request Mgt to native HttpClient”
- #13208 [E-Documents] XRechnung: Events to override buyer, delivery and order reference values (code change): “integration events allow partners to override buyer, delivery, and order reference values in XRechnung”
- #14500 Adding “Description 2” when available under ram:Description (code change): “ZUGFeRD e-document export now writes the line’s Description 2”
- #14501 29.x: Adding “Description 2” when available under ram:Description (code change): “ZUGFeRD export now includes Description 2 field when available”
- #14650 [main] Forward-port E-Document Purchase Draft extensibility (code change): “E-Document Purchase Draft page is now extensible”
- What’s New: Server and Database - More Stable Web Services (2023 release wave 2) (video): “web services; odata; http status codes; error handling”
- What’s New: Web Services in Business Central (2024 release wave 1) (video): “cookies support; http client; odata; api performance; web service queue”
Business Central pages and reports
The pages, reports and queries this hub’s Learn pages name (ms.search.form, API reference), joined to the code by exact object id (data/index/docs-objects.json); a page shows the table it runs on.
Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn’s own.
What Learn documents here 8 of 294 Learn pages
- learn(v1.0) API (v1.0) for Dynamics 365 Business Central2024-05-01
- learnabcAnalysisSetup resource type2026-06-08
- learnaccountCategory resource type2026-06-08
- learnaccountingPeriod resource type (Beta)2024-05-31
- learnAnalytics API overview2026-06-12
- learnAPI (v2.0) for Dynamics 365 Business Central2026-08-10
- learnAPI endpoint structure2025-07-07
- learnAPI Overview Page in Business Central2026-09-23
Show 32 more
- learnassemblyHeader resource type2026-06-08
- learnassemblyLine resource type2026-06-08
- learnbalanceSheetGeneralLedgerEntry resource type2026-06-08
- learnbin resource type2026-06-08
- learnBusiness Central Administration Center API2026-11-13
- learnbusinessUnit resource type (Beta)2024-05-31
- learncalendarEntry resource type2026-06-08
- learncapacityLedgerEntry resource type2026-06-08
- learncloseIncomeStmtSourceCode resource type2026-06-08
- learncloseOpportunityCode resource type2026-06-08
- learnclosingGeneralLedgerEntry resource type2026-06-08
- learnCloud Migration API Overview2024-05-31
- learncompany resource type (Beta)2024-05-31
- learnCompare REST APIs, OData, and SOAP web services in Business Central2024-02-28
- learncontact resource type2026-06-08
- learnCreate subscriptions (Beta)2024-05-31
- learnCreating and Interacting with an OData V4 Bound Action2026-10-29
- learncustomer resource type2026-06-08
- learncustomer resource type (Beta)2024-05-31
- learncustomerLedgerEntry resource type2026-06-08
- learncustomerLedgerEntry resource type (Beta)2024-05-31
- learndateSetup resource type2026-06-08
- learnDelete subscriptions (Beta)2024-05-31
- learndetailedCustomerLedgerEntry resource type (Beta)2024-05-31
- learndetailedVendorLedgerEntry resource type (Beta)2024-05-31
- learnDevelop APIs with Pages and Queries2026-10-08
- learndimension resource type2026-06-08
- learndimensionSetEntry resource type2026-06-08
- learndimensionSetEntry resource type (Beta)2024-05-31
- learndimensionValue resource type (Beta)2024-05-31
- learnDisable SOAP web services on Microsoft UI pages feature key2025-03-26
- learndynamicDimension resource type2026-06-08