on 07-28-2021 6:43 PM
Hi All,
In the oData v4, I have around 10 parameters, I need to make some of them optional.
If its possible to make the parameter optional, please help with some sample code for the same.
OData Action Parameter is Nullable="true" by default. Suppose you have 2 parameters "A" and "B" and "B" is nullable.
Then in POST request body, either omit "B":
{ "A": 123 }
or provide a null value for "B":
{ "A": 123, "B": null }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.