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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

How to directly get D365FO service request's body json using x++ code ?

(0) ShareShare
ReportReport
Posted on by

So when i using x++ code to custom a D365FO's service,

i need set a request body key as below's pic.

Dose there have any way to let me directly get the third part request body json's value ?

Thanks !

/

/

I have the same question (0)
  • Martin Dráb Profile Picture
    237,681 Most Valuable Professional on at
    How to directly get D365FO service request's body json using x++ code ?
    Moved from Automotive industry forum.
     
    I'm not sure if you're still interested in the answer (you asked a few months ago, but I found the question is the wrong forum just now), but in my opinion, there is only one chance to get your JSON accepted by a custom service in F&O. Try setting the name of the data member in your contract to an empty string ([DataMember('')]), because that's the property name in your JSON. I've never tried such a thing, therefore I don't know whether it'll work.

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 683 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 398 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans