Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, Power Apps, Power Automate, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates and new features to Dynamics 365 planned through March 2020
Release overview guides and videos Release Plan | Preview 2020 Release Wave 1 Timeline
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
I am using Postman to create records in D365 via Odata.
I am using "LedgerJournalHeaders" data entity to create a new journal header in D365.
When I pass below message, the system successfully creates a Ledger journal record in D65.
However, Is there any way by which I can pass multiple records as a part of a single request to create multiple records in D365.
I have tried few options, but I am getting "400 Bad request" error.
What's the best way to create multiple records via OData in a single request using Postman?
I think its not possible to create multiple records in a single request to the OData services. OData is based on REST, and it supports atomic transactions.
So my suggestion is, for each record creation in D365, you have to call the OData services; so there will now be multiple OData calls.
Thanks for your response Sagnik. I was just hoping to get a better way to insert multiple records in a single call.
I will probably go with Package/File API option then for mutiple inserts.
My understanding is Odata is not suitable for large volume of data anyway.
I had to implement similar features and ended up send the data as string and parse at the custom function in the data entity.
It worked fine but I am not sure why odata doesn't support multiple items.
Hi Mahesh. you can insert multiple records as single atomic unit (same changeset) using OData via .Net, check the link below for details. I've never tried do this via Postman but I believe you can build your sample code, debug and understand how the compiler is posting the request and just replicate it in Postman by using the same payload.
What you can do to achieve your requirement, to create custom web services and pass the collection of object to the services as parameter and handle it on AX side.
It can be done by using POSTMAN and I made a post for this particular topic, please check it here nuxulu.com/.../Insert-multiple-records-in-single-request-using-Odata-from-Postman.html
You can write a custom service which should take a list object and then you can call it. Also you can use recurring data package integration.
It is possible to have multiple requests in single transaction. Refer docs.microsoft.com/.../odata
Business Applications communities