I have created a custome Service API in D365FO, I want this custom API to return proper HTTP status code such as 200,201,400 and 500 based on the result of the operation
however I think that x++ not direct support controlling HTTP status codes in this way if you have implemented something similar before could you please share your suggestion or best practice? Is possible to use C# code within X++ ! to achive the goal?
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.