Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Get vendorledgerEntries API

(0) ShareShare
ReportReport
Posted on by 20

I found documentation on Get vendorLedgerEntries that provides functionality that I need but it is marked as Beta in the documentation and when I try to access via the following URL I get the following error.

https://api.businesscentral.dynamics.com/v2.0/production/api/v2.0/companies(company_id)/vendorLedgerEntries

(actual company id removed)


{
    "error": {
        "code""BadRequest_NotFound",
        "message""No HTTP resource was found that matches the request URI '">api.businesscentral.dynamics.com/.../vendorLedgerEntries
    }
}
  • Pat Arneson Profile Picture
    Pat Arneson 20 on at
    RE: Get vendorledgerEntries API

    Very helpful. Thank you.

  • Suggested answer
    Govinda Kumar Profile Picture
    Govinda Kumar 2,203 Super User 2024 Season 1 on at
    RE: Get vendorledgerEntries API

    try this

    https://api.businesscentral.dynamics.com/v2.0/your_tenant/environment/ODataV4/Company/VendorLedgerEntries

    regards

  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 74,115 Super User 2024 Season 2 on at
    RE: Get vendorledgerEntries API

    Hi, I checked all the APIs in the system and did not find the vendorledgerEntries you mentioned.

    pastedimage1681354365719v1.png

    So the following error will be prompted.

    pastedimage1681354461831v3.png

    More details: Dynamics 365 Business Central: A simple way to view the list of all APIs

    https://yzhums.com/22845/

    But there is a standard in Web Service, you can use the URL of Odata to get it.
    For example,

    https://api.businesscentral.dynamics.com/v2.0/d8f36038-1f93-4543-affc-5dc92b6ee871/Sandbox220/ODataV4/Company('My Company')/VendorLedgerEntries

    pastedimage1681354506972v4.png

    pastedimage1681354526037v5.png

    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

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,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans