Class ScorecardApiResource

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

@Path("/v1/surveys/scorecards") @Component public class ScorecardApiResource extends Object
  • Constructor Details

    • ScorecardApiResource

      public ScorecardApiResource()
  • Method Details

    • findBySurvey

      @GET @Path("{surveyId}") @Consumes("application/json") @Produces("application/json") @Transactional public List<ScorecardData> findBySurvey(@PathParam("surveyId") Long surveyId)
    • createScorecard

      @POST @Path("{surveyId}") @Consumes("application/json") @Produces("application/json") @Transactional public void createScorecard(@PathParam("surveyId") Long surveyId, ScorecardData scorecardData)
    • findBySurveyAndClient

      @GET @Path("{surveyId}/clients/{clientId}") @Consumes("application/json") @Produces("application/json") @Transactional public List<ScorecardData> findBySurveyAndClient(@PathParam("surveyId") Long surveyId, @PathParam("clientId") Long clientId)
    • findByClient

      @GET @Path("clients/{clientId}") @Consumes("application/json") @Produces("application/json") @Transactional public List<ScorecardData> findByClient(@PathParam("clientId") Long clientId)