Class GuarantorsApiResource
java.lang.Object
org.apache.fineract.portfolio.loanaccount.guarantor.api.GuarantorsApiResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountsTemplate(Long clientId, Long loanId) org.apache.fineract.infrastructure.core.data.CommandProcessingResultcreateGuarantor(Long loanId, GuarantorsRequest guarantorsRequest) org.apache.fineract.infrastructure.core.data.CommandProcessingResultdeleteGuarantor(Long loanId, Long guarantorId, Long guarantorFundingId) jakarta.ws.rs.core.ResponsegetGuarantorTemplate(Long officeId, String dateFormat, Long loanId) newGuarantorTemplate(Long loanId) postGuarantorTemplate(InputStream uploadedInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail, String locale, String dateFormat, Long loanId) retrieveGuarantorDetails(jakarta.ws.rs.core.UriInfo uriInfo, Long loanId, Long guarantorId) retrieveGuarantorDetails(Long loanId) org.apache.fineract.infrastructure.core.data.CommandProcessingResultupdateGuarantor(Long loanId, Long guarantorId, GuarantorsRequest guarantorsRequest)
-
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
-
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)
-