Microsoft Dynamics NAV · Capability

Business Central Administration Center API — Environment Settings

Business Central Administration Center API — Environment Settings. 2 operations. Lead operation: Get Environment Settings. Self-contained Naftiko capability covering one Navision business surface.

Run with Naftiko NavisionEnvironment Settings

What You Can Do

GET
Getenvironmentsettings — Get Environment Settings
/v1/applications/{applicationfamily}/environments/{environmentname}/settings
POST
Setappinsightskey — Set Application Insights Key
/v1/applications/{applicationfamily}/environments/{environmentname}/settings/appinsightskey

MCP Tools

get-environment-settings

Get Environment Settings

read-only idempotent
set-application-insights-key

Set Application Insights Key

Capability Spec

admin-center-environment-settings.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Business Central Administration Center API — Environment Settings
  description: 'Business Central Administration Center API — Environment Settings. 2 operations. Lead operation: Get Environment
    Settings. Self-contained Naftiko capability covering one Navision business surface.'
  tags:
  - Navision
  - Environment Settings
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    NAVISION_API_KEY: NAVISION_API_KEY
capability:
  consumes:
  - type: http
    namespace: admin-center-environment-settings
    baseUri: https://api.businesscentral.dynamics.com/admin/v2.28
    description: Business Central Administration Center API — Environment Settings business capability. Self-contained, no
      shared references.
    resources:
    - name: applications-applicationFamily-environments-environmentName-settings
      path: /applications/{applicationFamily}/environments/{environmentName}/settings
      operations:
      - name: getenvironmentsettings
        method: GET
        description: Get Environment Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: applications-applicationFamily-environments-environmentName-settings-appInsights
      path: /applications/{applicationFamily}/environments/{environmentName}/settings/appInsightsKey
      operations:
      - name: setappinsightskey
        method: POST
        description: Set Application Insights Key
        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.NAVISION_API_KEY}}'
  exposes:
  - type: rest
    namespace: admin-center-environment-settings-rest
    port: 8080
    description: REST adapter for Business Central Administration Center API — Environment Settings. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/applications/{applicationfamily}/environments/{environmentname}/settings
      name: applications-applicationfamily-environments-environmentname-settings
      description: REST surface for applications-applicationFamily-environments-environmentName-settings.
      operations:
      - method: GET
        name: getenvironmentsettings
        description: Get Environment Settings
        call: admin-center-environment-settings.getenvironmentsettings
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications/{applicationfamily}/environments/{environmentname}/settings/appinsightskey
      name: applications-applicationfamily-environments-environmentname-settings-appinsights
      description: REST surface for applications-applicationFamily-environments-environmentName-settings-appInsights.
      operations:
      - method: POST
        name: setappinsightskey
        description: Set Application Insights Key
        call: admin-center-environment-settings.setappinsightskey
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: admin-center-environment-settings-mcp
    port: 9090
    transport: http
    description: MCP adapter for Business Central Administration Center API — Environment Settings. One tool per consumed
      operation, routed inline through this capability's consumes block.
    tools:
    - name: get-environment-settings
      description: Get Environment Settings
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-center-environment-settings.getenvironmentsettings
      outputParameters:
      - type: object
        mapping: $.
    - name: set-application-insights-key
      description: Set Application Insights Key
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: admin-center-environment-settings.setappinsightskey
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.