Query any BC API entity (read-only)
bc_queryAccess any Business Central entity or custom API not covered by dedicated tools, using read-only GET requests with OData filters.
Instructions
Read-only escape hatch: GET any Business Central API entity set or record. Covers standard v2.0 entities not exposed as dedicated tools (salesShipments, purchaseOrders, generalLedgerEntries, ...) and custom APIs via api_route (publisher/group/version, e.g. 'contoso/sales/v1.0'). Example: path='salesShipments', params={'$filter': "customerNumber eq 'C00120'"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Entity path relative to the company (or to the API root if company_scoped=false), e.g. "salesShipments" or "customers(GUID)/picture" | |
| params | No | OData query params, e.g. {"$filter": "...", "$select": "...", "$top": "50"} | |
| api_route | No | API route segment, default 'v2.0'. For custom APIs use 'publisher/group/version'. | |
| company_scoped | No | Prefix path with companies(<working company>)/ (default true) |