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 API Customization

(0) ShareShare
ReportReport
Posted on by 15
GET {{resource}}/data/SalesOrderHeaders
Using above OData API I want to fetch order created date in its response. how I can do it?
Adding screenshot for reference
7384.MicrosoftTeams_2D00_image.png
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,119 Super User 2025 Season 2 on at

    Hi Suvarna,

    If the created date and time field is not available in the Odata API call, you can extend the data entity with the field with help of a customization.  

  • Suvarna Punekar Profile Picture
    15 on at

    Hi Andre,

    Thanks for reply.

    Yes, it's not available in OData API call. Can you please guide me how i do customization?

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,119 Super User 2025 Season 2 on at

    Hi Suvarna,

    Here is a blog which describes the option to add fields to an existing data entity: D365FO – AX – Add new field to a Data Entity – AX / Dynamics 365 For Finance and Operations blog (d365ffo.com)

  • Mohit Rampal Profile Picture
    12,565 Moderator on at

    Hi, We had similar requirement and added createdDateTime field in Sales order Header entity as below. You need to add the field in staging table as well, please follow blog shared above and let us know if any issues.

    pastedimage1681776615977v1.png

  • Suvarna Punekar Profile Picture
    15 on at

    Hi Mohit,

    I have followed above shared blog but getting error. please check errors in below screenshot

    pastedimage1681835194248v1.png

    Could you please tell me how I can remove these errors?

  • Mohit Rampal Profile Picture
    12,565 Moderator on at

    Please try building acmodel, if still same issue then build acmodel with references.

  • André Arnaud de Calavon Profile Picture
    301,119 Super User 2025 Season 2 on at

    Hi Suvarna,

    You probably need to add model references to your own model in which the fields or extended data types belong.

  • Mohit Rampal Profile Picture
    12,565 Moderator on at

     Suvarna Punekar Are you still facing issues or is it resolved.

  • Suvarna Punekar Profile Picture
    15 on at

    Hi Mohit,

    No its not resolved. Could you please shares screenshots how I can references to model?

  • Suvarna Punekar Profile Picture
    15 on at

    Hi Mohit,

    Issue still not resolved. your help much appreciated.

    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