Custom OData Module that Allows JSON Responses

0
Hi,   We're currently working on building a published OData webservice in our Mendix app. It's my understanding that Mendix 9.24.2 does not support returning JSON responses from exposed OData resources. i checked my API using post man my request able to create object. but I am not getting json response after creating object.  
asked
2 answers
0

Looks like you will never get a JSON response on successfully creating an object..

If for example you have a validation on required/unique and you try to create the same object twice, you will get a JSON response.

 

 

You can influence the message content by using the validation validation feedback activity, when using a microflow for insert.

Hope this helps.

answered
0

Not the best ‘work around’ but it might (temporarily) give you some flexibility


Will lead to a response on success

 

Would need to figure out how to influence the other content.. Unfortunately, the microflow does not allow an object or string as endpoint..

answered