Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

API v2.0 VS Web Service

Posted on by 40
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!
Categories:
  • AS-05060801-0 Profile Picture
    AS-05060801-0 40 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 64,374 Super User on at
    API v2.0 VS Web Service
    Yes.
     
     
    Thanks.
    ZHU
  • AS-05060801-0 Profile Picture
    AS-05060801-0 40 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 64,374 Super User 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 40 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 64,374 Super User 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

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,459 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,783 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans