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 :
Business Central forum

Create Custom Odata Web Api

(0) ShareShare
ReportReport
Posted on by

is it possible to create custom web api with capability to accept array of json object in 365 BC.
if it's not possible, can you give me workaround to post multiple json object in one request.


Regards

Categories:
I have the same question (0)
  • Suggested answer
    Sohail Ahmad Profile Picture
    2 on at
    DID you figured out this or not? as i am also revolving around this case.
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    22,213 Super User 2026 Season 1 on at
    It's quite simple. You need to create tables and list pages, then use SubPageLink to link the pages within one form. You can refer to the default code as a reference.
    Table like: Sales Header, Sales line pages like: 
  • JV-15051434-0 Profile Picture
    27 on at
    Hi,
     
    Do you mean that if you can make an API in BC that accepts json? Just make an API page.

    You cannot accept arrays directly, but there is a way to receive batch, which is in fact an array of json requests:
    Batch calls with Business Central APIs (1) – Basic operation – Kauffmann @ Dynamics 365 Business Central

    hope it helps.
     

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans