Class LookupTableApiResource

java.lang.Object
org.apache.fineract.spm.api.LookupTableApiResource

@Path("/v1/surveys/{surveyId}/lookuptables") @Component public class LookupTableApiResource extends Object
  • Constructor Details

    • LookupTableApiResource

      public LookupTableApiResource()
  • Method Details

    • fetchLookupTables

      @GET @Consumes("application/json") @Produces("application/json") @Transactional public List<LookupTableData> fetchLookupTables(@PathParam("surveyId") Long surveyId)
    • findLookupTable

      @GET @Path("/{key}") @Consumes("application/json") @Produces("application/json") @Transactional public LookupTableData findLookupTable(@PathParam("surveyId") Long surveyId, @PathParam("key") String key)
    • createLookupTable

      @POST @Consumes("application/json") @Produces("application/json") @Transactional public void createLookupTable(@PathParam("surveyId") Long surveyId, LookupTableData lookupTableData)