Skip to main content

Notifications

Announcements

No record found.

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

API Calls PATCH/DELETE not allowed for table 287.

(0) ShareShare
ReportReport
Posted on by 30

Hi, so i built an API Page for the customer bank account table and i cannot modify or delete entries i created ( Error says those calls are not allowed for customerBankAccount with EdmType „Collection“ . How do i solve this? 

Cheers.

  • Suggested answer
    Krati21 Profile Picture
    Krati21 77 on at
    RE: API Calls PATCH/DELETE not allowed for table 287.

    Hi,

    Make sure you are not using the ID in the URL.

    For PATCH/POST requests, ID (system ID) of  the particular record you need to  needs to be appended in the Request URL.

    Example:

    api.businesscentral.dynamics.com/.../<tenant ID>/Sandbox2/api/v2.0/companies(<Company ID>)/customerBankAccount(764a3891-89b1-ec11-8aa5-000d3a77213a)

    Similar request (FYR):

    community.dynamics.com/.../patch-requests-for-of-edmtype-collection-are-not-allowed-within-dynamics-365-business-central-odata-web-services

    Hope this helps!

    Thanks

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,488 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans