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

Announcements

News and Announcements icon
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

(3) ShareShare
ReportReport
Posted on by 73
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
    17,327 Super User 2026 Season 1 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
  • RM-23010516-0 Profile Picture
    73 on at
    Hi @OussamaSabbouh,
     
    Would you please elaborate more on [Service Enable] attribute with an example .so that I can implement this logic. How can I call ServiceEnable procedure through API call.

    Thanks,
    Rosy Mehta

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,466 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,829 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,505

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans