Call an OData bound action on a Business Central API page record

domain: business-central · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Identify the bound action name in the AL extension or the standard API v2.0 metadata: the action is exposed at <entityEndpoint>(<key>)/Microsoft.NAV.<ActionName>
  2. POST to the bound action URL with an empty JSON body {} if the action has no parameters, or a JSON object matching the action's parameter schema
  3. Authenticate using OAuth 2.0 (Azure AD app registration with Dynamics 365 Business Central delegated or application permissions) and include the Bearer token
  4. Inspect the HTTP response code: 204 No Content indicates a successful action with no return value; 200 with a body indicates a return value
  5. For custom API pages built with AL, confirm the action is marked with the [ServiceEnabled] attribute in the page extension or API page codeunit — otherwise the action is not exposed over OData

Known gotchas

Related routes

Build a custom AL API page in Dynamics 365 Business Central to expose production order header and line data over OData v4 for an external MES integration
learn.microsoft.com · 6 steps · unrated
Register a Dynamics 365 Dataverse custom API (not a plugin step) to expose a reusable business operation as a bound or unbound OData action callable from Power Automate and external clients
dynamics.microsoft.com · 5 steps · unrated
Call a bound or unbound Dataverse Web API action or function from an external client
learn.microsoft.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans