Class TemplatesApiResource

java.lang.Object
org.apache.fineract.template.api.TemplatesApiResource

@Path("/v1/templates") @Consumes("application/json") @Produces("application/json") @Component public class TemplatesApiResource extends Object
  • Field Details

  • Constructor Details

    • TemplatesApiResource

      public TemplatesApiResource()
  • Method Details

    • retrieveAll

      @GET public String retrieveAll(@DefaultValue("-1") @QueryParam("typeId") int typeId, @DefaultValue("-1") @QueryParam("entityId") int entityId, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • template

      @GET @Path("template") public String template(@Context jakarta.ws.rs.core.UriInfo uriInfo)
    • createTemplate

      @POST public String createTemplate(String apiRequestBodyAsJson)
    • retrieveOne

      @GET @Path("{templateId}") public String retrieveOne(@PathParam("templateId") Long templateId, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • getTemplateByTemplate

      @GET @Path("{templateId}/template") public String getTemplateByTemplate(@PathParam("templateId") Long templateId, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • saveTemplate

      @PUT @Path("{templateId}") public String saveTemplate(@PathParam("templateId") Long templateId, String apiRequestBodyAsJson)
    • deleteTemplate

      @DELETE @Path("{templateId}") public String deleteTemplate(@PathParam("templateId") Long templateId)
    • mergeTemplate

      @POST @Path("{templateId}") @Produces("text/html") public String mergeTemplate(@PathParam("templateId") Long templateId, @Context jakarta.ws.rs.core.UriInfo uriInfo, String apiRequestBodyAsJson) throws IOException
      Throws:
      IOException