Microsoft Dynamics NAV · Capability

Dynamics 365 Business Central API v2.0 — Companies

Dynamics 365 Business Central API v2.0 — Companies. 1 operations. Lead operation: List Companies. Self-contained Naftiko capability covering one Navision business surface.

Run with Naftiko NavisionCompanies

What You Can Do

GET
Listcompanies — List Companies
/v1/companies

MCP Tools

list-companies

List Companies

read-only idempotent

Capability Spec

business-central-api-v2-companies.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Dynamics 365 Business Central API v2.0 — Companies
  description: 'Dynamics 365 Business Central API v2.0 — Companies. 1 operations. Lead operation: List Companies. Self-contained
    Naftiko capability covering one Navision business surface.'
  tags:
  - Navision
  - Companies
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    NAVISION_API_KEY: NAVISION_API_KEY
capability:
  consumes:
  - type: http
    namespace: business-central-api-v2-companies
    baseUri: https://api.businesscentral.dynamics.com/v2.0/{environment}/api/v2.0
    description: Dynamics 365 Business Central API v2.0 — Companies business capability. Self-contained, no shared references.
    resources:
    - name: companies
      path: /companies
      operations:
      - name: listcompanies
        method: GET
        description: List Companies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.NAVISION_API_KEY}}'
  exposes:
  - type: rest
    namespace: business-central-api-v2-companies-rest
    port: 8080
    description: REST adapter for Dynamics 365 Business Central API v2.0 — Companies. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/companies
      name: companies
      description: REST surface for companies.
      operations:
      - method: GET
        name: listcompanies
        description: List Companies
        call: business-central-api-v2-companies.listcompanies
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: business-central-api-v2-companies-mcp
    port: 9090
    transport: http
    description: MCP adapter for Dynamics 365 Business Central API v2.0 — Companies. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: list-companies
      description: List Companies
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: business-central-api-v2-companies.listcompanies
      outputParameters:
      - type: object
        mapping: $.