Getting bad request when retrieving mrrt templates from jquery

Hi all

I am trying to populate a select box with MrrtReportTemplates, it has a resource MrrtReportTemplateResource which was implemented according to our standard here by extending DataDelegatingCrudResource.

Here is my javascript code

When I run it I get a bad request from server. I am trying to retrieve all templates and populate the select element on the page.

Are you supposed to provide a uuid in the URL of the template?

Thanks for your response. I was trying to get all templates when the api does not implement a doGetAll method. Fixed that. :slight_smile: