Microsoft Dynamics · Capability

Microsoft Dynamics 365 Business Central API — Items

Microsoft Dynamics 365 Business Central API — Items. 2 operations. Lead operation: Microsoft Dynamics List items. Self-contained Naftiko capability covering one Microsoft Dynamics business surface.

Run with Naftiko Microsoft DynamicsItems

What You Can Do

GET
Listitems — Microsoft Dynamics List items
/v1/companies-companyid/items
POST
Createitem — Microsoft Dynamics Create an item
/v1/companies-companyid/items

MCP Tools

microsoft-dynamics-list-items

Microsoft Dynamics List items

read-only idempotent
microsoft-dynamics-create-item

Microsoft Dynamics Create an item

Capability Spec

business-central-items.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Dynamics 365 Business Central API — Items
  description: 'Microsoft Dynamics 365 Business Central API — Items. 2 operations. Lead operation: Microsoft Dynamics List
    items. Self-contained Naftiko capability covering one Microsoft Dynamics business surface.'
  tags:
  - Microsoft Dynamics
  - Items
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_DYNAMICS_API_KEY: MICROSOFT_DYNAMICS_API_KEY
capability:
  consumes:
  - type: http
    namespace: business-central-items
    baseUri: https://api.businesscentral.dynamics.com/v2.0/{tenantId}/{environment}/api/v2.0
    description: Microsoft Dynamics 365 Business Central API — Items business capability. Self-contained, no shared references.
    resources:
    - name: companies({companyId})-items
      path: /companies({companyId})/items
      operations:
      - name: listitems
        method: GET
        description: Microsoft Dynamics List items
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createitem
        method: POST
        description: Microsoft Dynamics Create an item
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_DYNAMICS_API_KEY}}'
  exposes:
  - type: rest
    namespace: business-central-items-rest
    port: 8080
    description: REST adapter for Microsoft Dynamics 365 Business Central API — Items. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/companies-companyid/items
      name: companies-companyid-items
      description: REST surface for companies({companyId})-items.
      operations:
      - method: GET
        name: listitems
        description: Microsoft Dynamics List items
        call: business-central-items.listitems
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createitem
        description: Microsoft Dynamics Create an item
        call: business-central-items.createitem
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: business-central-items-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Dynamics 365 Business Central API — Items. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: microsoft-dynamics-list-items
      description: Microsoft Dynamics List items
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: business-central-items.listitems
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-dynamics-create-item
      description: Microsoft Dynamics Create an item
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: business-central-items.createitem
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.