<turbo-stream action="update" target="wiki_card"><template>
<h1>Reading API Pages in Business Central</h1>
<p>Via the <a href="https://wiki.myrapidi.com/wiki/ms_dynamics_nav_odata" data-turbo="true" data-turbo-stream="true" data-controller="wiki" data-action="wiki#updateUrl">Microsoft Dynamics 365 Business Central OData</a> connection, you can also read API Pages. In order to do so, you would need to make sure that the API request URLs follow a specific structure:</p><p>https://api.businesscentral.dynamics.com/v2.0/{environment}/api/{publisher}/{group}/{version}/{entity}<br><br><strong><em>Breakdown of the URL</em></strong>:</p><ol><li><strong>https</strong>: The protocol used for secure communication over the web.</li><li><strong>api.businesscentral.dynamics.com</strong>: The base domain where the Business Central API is hosted.</li><li><strong>v2.0</strong>: This indicates the version of the API you are using. In this case, it's version 2.0.</li><li><strong>{environment}</strong>: This part refers to the environment in which your Business Central instance is running. It could be:<ul><li><strong>Production</strong>: Your live environment.</li><li><strong>Sandbox</strong>: Your test or development environment.</li></ul></li><li><strong>api</strong>: This part signifies that you're accessing the API layer of Business Central.</li><li><strong>{publisher}</strong>: The publisher of the API. Microsoft-provided APIs will use "Microsoft" as the publisher.</li><li><strong>{group}</strong>: This defines the group or module of the API, such as "financials," "sales," or "inventory." It groups APIs based on business areas.</li><li><strong>{version}</strong>: The version of the specific API group. Typically, you will see "v2.0" or similar.</li><li><strong>{entity}</strong>: This represents the specific data entity you're interacting with, such as "customers," "salesOrders," or "items."</li></ol><p>Examples:<br><br>https://api.businesscentral.dynamics.com/v2.0/Production/api/v2.0/customers<br><br>https://api.businesscentral.dynamics.com/v2.0/Production/api/MyCompany/Inventory/v1.0/items<br><br>https://api.businesscentral.dynamics.com/v2.0/{environment}/api/{publisher}/{group}/{version}/companies({companyId})/{entity}<br><br>Important: Reading API pages in Business Central is <strong>not supported for all versions:</strong></p><ul><li><strong>Business Central Online</strong> (Cloud): API pages are fully supported for all API versions (v1.0, v2.0, etc.).</li><li><strong>Business Central On-Premises</strong>: API page support is available, but it requires proper configuration and depends on the version of the system.</li><li><strong>Older versions of Dynamics NAV</strong>: Modern API pages are <strong>not available</strong> for these versions.</li></ul>
</template></turbo-stream>

<turbo-stream action="replace" target="meta_description"><template><meta content='Reading API Pages in Business Central' id='meta_description' name='description'></template></turbo-stream>
<turbo-stream action="replace" target="meta_keywords"><template><meta content='API Pages,Business Central' id='meta_keywords' name='keywords'></template></turbo-stream>
<turbo-stream action="update" target="meta_title"><template>Reading API Pages in Business Central - MyRapidi Wiki</template></turbo-stream>
<turbo-stream action="prepend" target="flash"><template></template></turbo-stream>
