Package org.apache.fineract.spm.api
Class ScorecardApiResource
java.lang.Object
org.apache.fineract.spm.api.ScorecardApiResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateScorecard(Long surveyId, ScorecardData scorecardData) findByClient(Long clientId) findBySurvey(Long surveyId) findBySurveyAndClient(Long surveyId, Long clientId)
-
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)
-