Skip to main content

Notifications

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 !

/

/

  • Martin Dráb Profile Picture
    Martin Dráb 230,962 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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,162 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans