Microsoft Dynamics · Capability

Microsoft Dynamics 365 Business Central API — Journals

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

Run with Naftiko Microsoft DynamicsJournals

What You Can Do

GET
Listjournals — Microsoft Dynamics List journals
/v1/companies-companyid/journals
POST
Createjournal — Microsoft Dynamics Create a journal
/v1/companies-companyid/journals

MCP Tools

microsoft-dynamics-list-journals

Microsoft Dynamics List journals

read-only idempotent
microsoft-dynamics-create-journal

Microsoft Dynamics Create a journal

Capability Spec

business-central-journals.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Dynamics 365 Business Central API — Journals
  description: 'Microsoft Dynamics 365 Business Central API — Journals. 2 operations. Lead operation: Microsoft Dynamics List
    journals. Self-contained Naftiko capability covering one Microsoft Dynamics business surface.'
  tags:
  - Microsoft Dynamics
  - Journals
  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-journals
    baseUri: https://api.businesscentral.dynamics.com/v2.0/{tenantId}/{environment}/api/v2.0
    description: Microsoft Dynamics 365 Business Central API — Journals business capability. Self-contained, no shared references.
    resources:
    - name: companies({companyId})-journals
      path: /companies({companyId})/journals
      operations:
      - name: listjournals
        method: GET
        description: Microsoft Dynamics List journals
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createjournal
        method: POST
        description: Microsoft Dynamics Create a journal
        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-journals-rest
    port: 8080
    description: REST adapter for Microsoft Dynamics 365 Business Central API — Journals. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/companies-companyid/journals
      name: companies-companyid-journals
      description: REST surface for companies({companyId})-journals.
      operations:
      - method: GET
        name: listjournals
        description: Microsoft Dynamics List journals
        call: business-central-journals.listjournals
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createjournal
        description: Microsoft Dynamics Create a journal
        call: business-central-journals.createjournal
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: business-central-journals-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Dynamics 365 Business Central API — Journals. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: microsoft-dynamics-list-journals
      description: Microsoft Dynamics List journals
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: business-central-journals.listjournals
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-dynamics-create-journal
      description: Microsoft Dynamics Create a journal
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: business-central-journals.createjournal
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.