Im not sure about RequestTemplate, but it certainly works with Exportmapping
- You can create an ExportMapping with your entity https://docs.mendix.com/refguide/export-mappings
- Use that to create JSON
- Pass the JSON in your request
I don’t think you have a problem here. You’re creating your own template for the request, which is a JSON string. That’s why Mendix wants strings as parameters. In your first screenshot we can see that the “integer” part (the file_size value) is not between quotes, so it will be parsed as an integer value. I'd go ahead and test it.