Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 80911

REST: is it possible to skip some attributes from entity in request

$
0
0

Is it possible to skip some atrributes in a POST request object?

So if I have for example the entity Customer with attributes Name and LastName they json generated will look like:

{"Name":"Erik", "LastName":"Nobel" }

The webservice I have to use does not allow me to send empty attributes. So if in this example the Name attribute would be empty or empty string the json should look like:

{"LastName":"Nobel" }

Viewing all articles
Browse latest Browse all 80911

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>