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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Odata Interface test using Postman for Multiple entries

(0) ShareShare
ReportReport
Posted on by 5

Hi All,

In Dynamic AX 365 trying to test Odata using Postman..but for multiple entries i couldnt make using single Json Request..

Example  suppose i have Header Table and dependent Line table.

I ma trying to create Json request through which in one request i would be able to insert 1 header line and 10 lines for my child..

As i read many threads in Json with one request it is not feasible..Please can anyone suggest how this can be achieved ..

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,162 Moderator on at

    You can't do it via one request.

    You can either use Data management and composite entities, or have some flag on your header table that you can use to mark "all lines imported".

    1) Send header

    2) Send lines

    3) Update header, set "all lines imported" to true

  • Suggested answer
    Mohd saddaf khan Profile Picture
    20 on at

    Odata with data entities currently does not support Nested structure.

    Though, there are few alternatives you can try out:-

    1. Use just the line entity, write code on Insert(or any other relevant method) of entity to write/check the record first on header, if does not exists then create header else just use the header for reference and keep on adding lines based upon that.

    2. use custom services to create your own logic to parse nested json data and then write a code to insert header and lines accordingly. (remember this would not be Odata).

    Thanks.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 451 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 428 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans