topic hubIntegration & APIsofficial - Microsoftreviewed - checked by Opus

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

More Learn pages

Videos, posts and code changes

Linked by a Haiku matcher with a grounding quote from the item’s summary (link/topics.ts); machine-generated.

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

Show 32 more