Microsoft Dynamics · Capability

Microsoft Dynamics 365 Business Central API — Vendors

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

Run with Naftiko Microsoft DynamicsVendors

What You Can Do

GET
Listvendors — Microsoft Dynamics List vendors
/v1/companies-companyid/vendors
POST
Createvendor — Microsoft Dynamics Create a vendor
/v1/companies-companyid/vendors

MCP Tools

microsoft-dynamics-list-vendors

Microsoft Dynamics List vendors

read-only idempotent
microsoft-dynamics-create-vendor

Microsoft Dynamics Create a vendor

Capability Spec

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