Skip to main content

Notifications

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

Get vendorledgerEntries API

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 73,339 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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans