Hello everyone
I have some small issues with
API - Custom Code, I have no idea how to get it work correctly.
We just have in a company XXL APIs with tons of inputs and not all the inputs are mandatory and sometimes we don't have all values to fill-in in that particular time. Today I just added a 9th version of same API with a different JSON Body. So we just decided that we do not want to have hundred versions of the same API and we want to keep everything as simple as possible.
So I just want to create some really simple code that convert collection to JSON Template.
The result of the function was tested without any issue when I changed the
Action API - Body Content to
Template and
worked.
But What should I put it here to work ?
Because this is throwing me a error 500.
Thank you for all the answers.
BR