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 !
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 !
Thanks for your reply.
But seems you didn't got my point.
I don't want to use a Key to wrap the input JSON. I want the input and output parameters of the interface to be a single-layer JSON. Do you know how to do it?
Hi Vast Wang,
You can define contract class with DataContract, DataMember attributes and let F&O deal with serializing and deserializing.
Here is an article you can follow
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156