web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Inserting records via web services

(0) ShareShare
ReportReport
Posted on by 5

Hey all,

So I have been messing around with the API and exposing different pages to pull data from. As a test I tried to send a post request to the opportunity comments page as it seemed simple.

I get an error that the page doesn’t support insert. I tried extending the page with editable true to no avail.

I get that there are some tables they would rightly disallow inserts, updates or deletions, such as GL entries, or anything posted really.

If I made my own page referencing the same table would I be able to post data to it? Or would I need to make my own table and page for that?

Or am I way off and I can totally post to the comments page, I’m just doing it wrong.

Lastly is there a page that shows table/page properties so I know which ones I can fully interact with?

thank you so much for any guidance you can offer and thank you for reading this long winded question haha

  • Suggested answer
    JAngle Profile Picture
    159 on at

    You might want to review how the standard api pages work. Majority include triggers to handle all the CRUD operations: github.com/.../pages

    It’s a few years old now but I still find this blog helpful: community.dynamics.com/.../how-to-create-custom-apis-for-business-central-even-from-macos

  • Verified answer
    YUN ZHU Profile Picture
    103,264 Super User 2026 Season 2 on at

    Hi, you can try table 2000000138 “Page Metadata”.

    https://yzhums.com/22845/

    This is a system table for viewing all page information in BC.

    pastedimage1650847004918v1.png

    pastedimage1650847015407v2.png

    And for standard apis in BC, hope the following will help.

    https://yzhums.com/6117/

    Thanks.

    ZHU

  • James ODonnell Profile Picture
    5 on at

    Thank you so much for the info, been going through it over the weekend. I wish I had asked this question a week ago haha. Have a great day!

  • James ODonnell Profile Picture
    5 on at

    Just in case anyone else comes to this question. I found something that helped so much. In addition to the resources linked in the comments, I found out that if, while you are in VS Code you can few the source AL for any table, page, report, etc.

    Just start an AL project and reference the table, page, etc you want to see like so:

    pageextension 50131 Test extends "Opportunity Card"

    {

    }

    Now if you click anywhere in "Opportunity Card" and press F12 it will open the AL for that page. Really helpful if you are wondering what is going on behind the scenes.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 715 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 452 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 371 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans