When doing:
https://www.jsreportonline.net/odata/templates?$select=name
I do not see my created template within the GUI on web (its a docx-template and runs nicely within the GUI - but want to send new data through the REST-API to generate more reports)
It only returns:
{"@odata.context":"https://www.jsreportonline.net/odata/$metadata#templates(name)","value":[{"_id":"54e68bf377c2cff00d525123","name":"Sample report"}]}
When I try to call the https://www.jsreportonline.net/api/report with the proper template name (by inspecting the call in chrome) I get the following response, only with the "sample" template.
{"message":"Unable to find specified template or user doesnt have permissions to read it: 5e3d276050ad90e4283fc4d4","stack":"Error: Unable to find specified template or user doesnt have permissions to read it: 5e3d276050ad90e4283fc4d4\n at module.exports (/usr/src/app/node_modules/jsreport-core/lib/util/createError.js:11:13)\n at Reporter.createError (/usr/src/app/node_modules/jsreport-core/lib/reporter.js:299:12)\n at AsyncFunction.<anonymous> (/usr/src/app/node_modules/jsreport-templates/lib/templates.js:134:20)\n at <anonymous>"}