We are currently converting our SQL stored procedures to a REST web service "call" via IWS and SQL.
The stored procedure accepts 3 parameters, calls an RPG program that will insert records into a table and then the stored procedure returns a result set.
When I "hard code" the call in the SQL REST service, I get the result set returned.
BUT, when I parameterize the SQL REST service call, I get a 415 "Unsupported Media Type" message (testing via Postman).
What should I change on the SQL REST service configuration (if any) to get the "parameterized" call to return the result set?
Thanks for your assistance
Here is the code for the SQL stored procedure

IWS configuration for the "hard-coded" SQL call and the result set returned.



And the IWS configuration for the "parameterized" SQL call.



------------------------------
Dennis Nel
------------------------------