Business Central Native allows Dragon Guard to read items, receipts, shipments, and movement journal entries directly from Microsoft Business Central through a dedicated HTTP adapter configured at the tenant level. In this integration model, Business Central is the system of record — Dragon Guard does not maintain its own item master or document store for BC-owned data. Instead, handheld workflows query live BC data on demand through the adapter.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/CodexaCP/DG_BACK/llms.txt
Use this file to discover all available pages before exploring further.
The current rollout supports read-through only. Write-back and result posting to Business Central are not yet implemented. See Capabilities below to confirm what is available before calling execution endpoints.
Integration Mode
When a tenant is configured withBusinessCentralNative, the capabilities response shows:
Configuration
Business Central adapter settings are managed per tenant by a SUPERADMIN_SUPREMO user in the Supreme administration panel.PATCH /api/supreme/companies/{id}/integration/businesscentral-native-settings
Business Central adapter settings fields
Business Central adapter settings fields
Absolute base URL of the Business Central OData or custom API endpoint (e.g.
https://api.businesscentral.dynamics.com/v2.0/{tenantId}/{environment}/api). Must be a valid absolute URL.API key credential for outbound requests. Pass
null to preserve the existing secret.Bearer token for OAuth-based authentication. Pass
null to preserve the existing secret.HTTP timeout in seconds for outbound adapter requests. Valid range:
5 – 120.hasApiKey, hasBearerToken), masked values, and authMode.
Test Connection
POST /api/supreme/companies/{id}/integration/businesscentral-native/test-connection
Verifies the adapter settings without fetching any documents. Returns a BusinessCentralNativeConnectionTestResultDto:
Whether the connectivity check succeeded.
Human-readable status message.
true when baseUrl and at least one credential are present.The configured base URL (echoed back for confirmation).
ApiKey, Bearer, or None based on the active credential.The configured timeout in seconds.
HTTP status code returned by Business Central.
null if a transport error occurred before a response was received.Details about the connection result or error.
A short excerpt of the BC response body, useful for diagnosing endpoint and authentication issues.
Authentication
All execution endpoints use the sameX-Api-Key tenant resolution as the rest of the integration API.
Dragon Guard tenant API key. Resolves the company and its BC adapter settings.
Optional trace identifier. Propagated through the request and echoed in the response body.
Execution Endpoints
All four read endpoints follow the same pattern: Dragon Guard resolves the tenant by API key, validates that the effective provider isBusinessCentralNative, forwards the request (including any query string parameters) to the configured BC adapter, and returns the result wrapped in a standard envelope. Each endpoint is available under both the canonical api/v1/integration/businesscentral-native/ prefix and the legacy api/integration/businesscentral-native/ alias.
GET /api/v1/integration/businesscentral-native/items
Fetches the item catalog from Business Central.GET /api/v1/integration/businesscentral-native/receipts
Fetches receipt (purchase) documents from Business Central.GET /api/v1/integration/businesscentral-native/shipments
Fetches shipment (sales/warehouse) documents from Business Central.GET /api/v1/integration/businesscentral-native/movements
Fetches movement journal entries from Business Central.Response Envelope
All execution endpoints wrap the BC response in a common envelope.The resource type fetched:
items, receipts, shipments, or movements.The actual path called on the Business Central adapter endpoint.
Number of records in this response.
Shape descriptor of the response data, set by the adapter.
OData-style next-page link, if BC returned one.
Array of raw BC resource records as
Dictionary<string, object> entries. The exact fields depend on the Business Central API version and custom API configuration for the tenant.Error Responses
| Status | Meaning |
|---|---|
409 Conflict | The tenant’s effective provider is not BusinessCentralNative. |
501 Not Implemented | The BC adapter is not yet configured (baseUrl or credentials missing), or the specific resource endpoint is not yet mapped. |
502 Bad Gateway | Business Central rejected the request, timed out, or returned an invalid response. The retryable flag in the body indicates whether the condition may resolve on retry. |
Capabilities
The table below shows the current rollout status forBusinessCentralNative:
| Capability | Status |
|---|---|
| Read items from BC | ✅ Supported |
| Read receipts from BC | ✅ Supported |
| Read shipments from BC | ✅ Supported |
| Read movements from BC | ✅ Supported |
| Post execution results back to BC | ⏳ Not yet implemented |
| Inventory count execution | ⏳ Not yet implemented |
| Transfer execution | ⏳ Not yet implemented |
| Catalog sync (push items to DG) | ❌ Disabled for ERP-owned providers |
| Opening stock (push stock to DG) | ❌ Disabled for ERP-owned providers |