API access for MCP

  • 2 minutes to read

BoCount Dynamics Data Import exposes API pages for reading package information and managing import mappings and filters. The API pages use publisher dynamate, API group bocountdynamics and version v2.0.

The company-specific endpoint path is /api/dynamate/bocountdynamics/v2.0/companies({companyId})/{entitySet}. API page execution is included in the CFLBODYNDATAIMPORT permission set.

API sets

Entity set Access Purpose
packages Read-only Lists import packages and their source type and company.
sourceTables Read-only Lists source tables and their row counts for a package.
sourceFields Read-only Lists the fields and metadata for a source table.
tableMappings Read, create, update and delete Manages the mapping between a source table and a Business Central table.
fieldMappings Read, create, update and delete Manages field mappings, including source fields, fixed values and validation options.
valueTranslations Read, create, update and delete Maps source values to replacement values for a mapped field.
filters Read, create, update and delete Manages filter conditions associated with a package and table mapping.

The filters entity set exposes the filter operator as a readable value, including =, <>, <, >, <=, >=, LIKE, IN, BETWEEN and NOT LIKE. Filter records include the package and table-mapping numbers, table and field numbers, source names, filter expression, and the and/or flags.

The mapping endpoints include a packageCode field so clients can scope requests to a package. For information about configuring packages and mappings in Business Central, see Data-import pakket, Tabeltoewijzing and Veldtoewijzing.