Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Business Central forum

Enable Odata API service for Dynamics 365

(1) ShareShare
ReportReport
Posted on by

Hi Team,

I recently saw this thread to enable Odata API service for NAV: https://community.dynamics.com/nav/b/andreysnavblog/archive/2018/01/25/how-to-obtain-data-from-nav-standard-apis

I am wondering how and where can I enable Odata API service for Dynamics 365?

Many thanks!

Leon

Categories:
  • Ratnesh Kumar Profile Picture
    99 on at
    RE: Enable Odata API service for Dynamics 365

    Power your business with powerful and innovative Dynamics 365 solutions from the house of Microsoft to accelerate your growth and transform your business to scale ahead. 

    Make use of the Microsoft brand name, easy and familiar integrations and world-class ecosystem to make your business more agile and stay ahead of the competition.

  • Elijah Stownton Profile Picture
    192 on at
    RE: Enable Odata API service for Dynamics 365

    Skyvia Connect allows you to expose Dynamics 365 data as an OData endpoint. it is no-code app

  • Community Member Profile Picture
    on at
    RE: Enable Odata API service for Dynamics 365

    Once you create the custom  API Page, you can access with

    api.businesscentral.dynamics.com/.../<your domain>/api/<ApiPublisher>/<ApiGroup>/<ApiVersion>/companies(<companyId>)/<entitySetNames>

    see below blog for more detail information

    community.dynamics.com/.../how-to-create-custom-apis-for-business-central-even-from-macos

  • Community Member Profile Picture
    on at
    RE: Enable Odata API service for Dynamics 365

    But how would I create a custom endpoint and access that with this url? It only provides access to default 44 APIs

  • Community Member Profile Picture
    on at
    RE: Enable Odata API service for Dynamics 365

    The endpoint is wrong. it should be something like api.businesscentral.dynamics.com/.../<environment name>/api/v1.0

    docs.microsoft.com/.../endpoints-apis-for-dynamics

  • Community Member Profile Picture
    on at
    RE: Enable Odata API service for Dynamics 365

    Hi

    Is there something I need to configure for OData to work in Dynamic 365 business central cloud? I still get the error "could not get any response" with this also - tenant.financials.dynamics.com:7048/.../Company

  • lukedetering Profile Picture
    10 on at
    RE: Enable Odata API service for Dynamics 365

    This works on the sandbox but not sure for prod, but it may be helpful:

    tenant.financials.dynamics.com:7048/.../Company

  • Community Member Profile Picture
    on at
    RE: Enable Odata API service for Dynamics 365

    Hi,

    I am using the latest cloud version of dynamics 365 business central - I tried accessing oData with this url - https://<tenantId>.financials.dynamics.com: 7048/MS/ODataV4/ but got an error  -"could not get any response"

    What is the correct url to use and is there any guide I could refer for making a custom API page for cloud version?

  • Community Member Profile Picture
    on at
    RE: Enable Odata API service for Dynamics 365

    You can enable it using set-navserverconfiguration command

    docs.microsoft.com/.../set-navserverconfiguration

    docs.microsoft.com/.../configure-server-instance

  • lukedetering Profile Picture
    10 on at
    RE: Enable Odata API service for Dynamics 365

    Is there a way to enable this on a docker sandbox via the PowerShell vs trying to figure out a way to get the Admin Tool ?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,027 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,852 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans