Class SelfLoansApiResource

java.lang.Object
org.apache.fineract.portfolio.self.loanaccount.api.SelfLoansApiResource

@Path("/v1/self/loans") @Component @Conditional(SelfServiceModuleIsEnabledCondition.class) public class SelfLoansApiResource extends Object
  • Constructor Details

    • SelfLoansApiResource

      public SelfLoansApiResource()
  • Method Details

    • retrieveLoan

      @GET @Path("{loanId}") @Consumes("application/json") @Produces("application/json") public String retrieveLoan(@PathParam("loanId") Long loanId, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • retrieveTransaction

      @GET @Path("{loanId}/transactions/{transactionId}") @Consumes("application/json") @Produces("application/json") public String retrieveTransaction(@PathParam("loanId") Long loanId, @PathParam("transactionId") Long transactionId, @QueryParam("fields") String fields, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • retrieveAllLoanCharges

      @GET @Path("{loanId}/charges") @Consumes("application/json") @Produces("application/json") public String retrieveAllLoanCharges(@PathParam("loanId") Long loanId, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • retrieveLoanCharge

      @GET @Path("{loanId}/charges/{chargeId}") @Consumes("application/json") @Produces("application/json") public String retrieveLoanCharge(@PathParam("loanId") Long loanId, @PathParam("chargeId") Long loanChargeId, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • template

      @GET @Path("template") @Consumes("application/json") @Produces("application/json") public String template(@QueryParam("clientId") Long clientId, @QueryParam("productId") Long productId, @QueryParam("templateType") String templateType, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • calculateLoanScheduleOrSubmitLoanApplication

      @POST @Consumes("application/json") @Produces("application/json") public String calculateLoanScheduleOrSubmitLoanApplication(@QueryParam("command") String commandParam, @Context jakarta.ws.rs.core.UriInfo uriInfo, String apiRequestBodyAsJson)
    • modifyLoanApplication

      @PUT @Path("{loanId}") @Consumes("application/json") @Produces("application/json") public String modifyLoanApplication(@PathParam("loanId") Long loanId, String apiRequestBodyAsJson)
    • stateTransitions

      @POST @Path("{loanId}") @Consumes("application/json") @Produces("application/json") public String stateTransitions(@PathParam("loanId") Long loanId, @QueryParam("command") String commandParam, String apiRequestBodyAsJson)
    • retrieveGuarantorDetails

      @GET @Path("{loanId}/guarantors") @Consumes("application/json") @Produces("application/json") public List<GuarantorData> retrieveGuarantorDetails(@PathParam("loanId") Long loanId)