Class GuarantorsApiResource

java.lang.Object
org.apache.fineract.portfolio.loanaccount.guarantor.api.GuarantorsApiResource

@Path("/v1/loans/{loanId}/guarantors") @Component public class GuarantorsApiResource extends Object
  • Constructor Details

    • GuarantorsApiResource

      public GuarantorsApiResource()
  • Method Details

    • newGuarantorTemplate

      @GET @Path("template") @Consumes("application/json") @Produces("application/json") public GuarantorData newGuarantorTemplate(@PathParam("loanId") Long loanId)
    • retrieveGuarantorDetails

      @GET @Consumes("application/json") @Produces("application/json") public List<GuarantorData> retrieveGuarantorDetails(@PathParam("loanId") Long loanId)
    • retrieveGuarantorDetails

      @GET @Path("{guarantorId}") @Consumes("application/json") @Produces("application/json") public GuarantorData retrieveGuarantorDetails(@Context jakarta.ws.rs.core.UriInfo uriInfo, @PathParam("loanId") Long loanId, @PathParam("guarantorId") Long guarantorId)
    • createGuarantor

      @POST @Consumes("application/json") @Produces("application/json") public org.apache.fineract.infrastructure.core.data.CommandProcessingResult createGuarantor(@PathParam("loanId") Long loanId, GuarantorsRequest guarantorsRequest)
    • updateGuarantor

      @PUT @Path("{guarantorId}") @Consumes("application/json") @Produces("application/json") public org.apache.fineract.infrastructure.core.data.CommandProcessingResult updateGuarantor(@PathParam("loanId") Long loanId, @PathParam("guarantorId") Long guarantorId, GuarantorsRequest guarantorsRequest)
    • deleteGuarantor

      @DELETE @Path("{guarantorId}") @Consumes("application/json") @Produces("application/json") public org.apache.fineract.infrastructure.core.data.CommandProcessingResult deleteGuarantor(@PathParam("loanId") Long loanId, @PathParam("guarantorId") Long guarantorId, @QueryParam("guarantorFundingId") Long guarantorFundingId)
    • accountsTemplate

      @GET @Path("accounts/template") @Consumes("application/json") @Produces("application/json") public GuarantorData accountsTemplate(@QueryParam("clientId") Long clientId, @PathParam("loanId") Long loanId)
    • getGuarantorTemplate

      @GET @Path("downloadtemplate") @Produces("application/vnd.ms-excel") public jakarta.ws.rs.core.Response getGuarantorTemplate(@QueryParam("officeId") Long officeId, @QueryParam("dateFormat") String dateFormat, @PathParam("loanId") Long loanId)
    • postGuarantorTemplate

      @POST @Path("uploadtemplate") @Consumes("multipart/form-data") public String postGuarantorTemplate(InputStream uploadedInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail, String locale, String dateFormat, @PathParam("loanId") Long loanId)