Optional parameters in rest api

0
Hi, How do we set the parameters in our published rest api to be mandatory and optional for our entity. (Occurrence) Our Rest service must have some input parameter as optional but also some as mandatory and can not be nillabile  
asked
1 answers
0

I do not think you can. You could tell it in your Public documentation. And in the microflow action you should check those parameters first and adjust the httpResponse status code in 400 Bad Request.

Regards,

Ronald

 

answered