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

Notifications

Announcements

Community site session details

Community site session details

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

API Batch request for Post Method in Business Central

(1) ShareShare
ReportReport
Posted on by 29
i created an api page now i want to send data for multiple entries and below is the payload i want to send 
[
          {
            "entryNo": 57,
            "proposalId": "6970d039d8159600252c2c8e",
            "sdMonths": 7,
            "sdDueDate": "2026-01-29",
            "totalSDAmount": 700
        },
        {
            "entryNo": 58,
            "proposalId": "6970d18ad8159600252c2ecd",
            "sdMonths": 8,
            "sdDueDate": "2026-01-28",
            "totalSDAmount": 800
        },
        {
            "entryNo": 59,
            "proposalId": "6971f9fec4ed5900329326eb",
            "sdMonths": 9,
            "sdDueDate": "2026-01-29",
            "totalSDAmount": 900
        }
]
here is the POST method URL - https://api.businesscentral.dynamics.com/v2.0/xxxxxxxxxxxxxxxx/Reports/api/ABC/SWPortal/v2.0/companies(xxxxxxxxxxxxxxx)/sdSchedules
but by using this url i am able to post only one entry at a time .


This URL is posting one entry only. I want to post all the entries at a time. would anyone suggest where the problem is
#BusinessCentral #API, #Integration
I have the same question (0)
  • Suggested answer
    OussamaSabbouh Profile Picture
    8,862 on at
    Hello,
     
    Business Central API pages do not support posting an array of records in a single POST; the endpoint /sdSchedules only accepts one JSON object per request, so your payload is valid JSON but not valid for that endpoint. To create multiple records “at once”, you must either use OData $batch (multiple single-record POSTs wrapped into one HTTP request) or expose a custom ServiceEnabled action that accepts a JSON array and inserts the records server-side. The URL and payload aren’t wrong—this is simply a platform limitation by design.
     
    Regards,
    Oussama Sabbouh

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,913

#2
YUN ZHU Profile Picture

YUN ZHU 1,084 Super User 2025 Season 2

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 1,064

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans