Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

API v2.0 VS Web Service

(1) ShareShare
ReportReport
Posted on by 76
Hi, I'm curious whats the difference between those 2. I've notice that they are almost the same but there is one API (Customer Ledger Entry) that exists in the `Web Services` but not in the `API V2.0`. Also I just want to know if `Web Service` is designed to handle large amount for read-only queries. Thanks in advance!
  • AS-05060801-0 Profile Picture
    AS-05060801-0 76 on at
    API v2.0 VS Web Service
    Got it Mr. ZHU. Just a quick follow up question, is it recommended to use Direct Tenant over Common Endpoint for production?
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 74,036 Super User 2024 Season 2 on at
    API v2.0 VS Web Service
    Yes.
     
     
    Thanks.
    ZHU
  • AS-05060801-0 Profile Picture
    AS-05060801-0 76 on at
    API v2.0 VS Web Service
    Please clarify what is  `c8558e71-6ad8-4fcd-9f29-3ca165b41bbe` from your URL? is it TenantId?
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 74,036 Super User 2024 Season 2 on at
    API v2.0 VS Web Service
    Hi, In BC21, Microsoft added standard APIs
    Business Central 2022 wave 2 (BC21): Use new dedicated APIs for financial reporting (Advanced APIs -> reportsFinance/beta)
     
    customerLedgerEntry resource type (Beta)
     
    But because it is a Beta version, the endpoint is a little different from v2.0.
     
     
    Hope this helps.
    Thanks.
    ZHU
  • AS-05060801-0 Profile Picture
    AS-05060801-0 76 on at
    API v2.0 VS Web Service
    Thank you for sharing that info, YUN ZHU. My issue with the API is that it does not have a way to get the Customer Ledger Entry, would you suggest anyway I can get it via the API? 
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 74,036 Super User 2024 Season 2 on at
    API v2.0 VS Web Service
    The main difference is in performance. API is much better than Web Service (Odata). Here are some data from Microsoft.
     
    Hope this helps.
    Thanks.
    ZHU

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans