Class SelfClientsApiResource
java.lang.Object
org.apache.fineract.portfolio.self.client.api.SelfClientsApiResource
@Path("/v1/self/clients")
@Component
@Conditional(SelfServiceModuleIsEnabledCondition.class)
public class SelfClientsApiResource
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.fineract.infrastructure.core.data.CommandProcessingResultaddNewClientImage(Long clientId, Long fileSize, InputStream inputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetails, org.glassfish.jersey.media.multipart.FormDataBodyPart bodyPart) org.apache.fineract.infrastructure.core.data.CommandProcessingResultaddNewClientImage(String entityName, Long clientId, String jsonRequestBody) org.apache.fineract.infrastructure.core.data.CommandProcessingResultdeleteClientImage(Long clientId) retrieveAll(jakarta.ws.rs.core.UriInfo uriInfo, String displayName, String firstname, String lastname, Integer offset, String status, Integer limit, String orderBy, String sortOrder, Integer legalForm) retrieveAllClientCharges(Long clientId, String chargeStatus, Boolean pendingPayment, jakarta.ws.rs.core.UriInfo uriInfo, Integer limit, Integer offset) retrieveAllClientTransactions(Long clientId, jakarta.ws.rs.core.UriInfo uriInfo, Integer offset, Integer limit) retrieveAssociatedAccounts(Long clientId, jakarta.ws.rs.core.UriInfo uriInfo) retrieveClientCharge(Long clientId, Long chargeId, jakarta.ws.rs.core.UriInfo uriInfo) retrieveClientTransaction(Long clientId, Long transactionId, jakarta.ws.rs.core.UriInfo uriInfo) jakarta.ws.rs.core.ResponseretrieveImage(Long clientId, Integer maxWidth, Integer maxHeight, String output) retrieveObligeeDetails(Long clientId, jakarta.ws.rs.core.UriInfo uriInfo) retrieveOne(Long clientId, jakarta.ws.rs.core.UriInfo uriInfo)
-
Constructor Details
-
SelfClientsApiResource
public SelfClientsApiResource()
-
-
Method Details
-
retrieveAll
@GET @Consumes("application/json") @Produces("application/json") public String retrieveAll(@Context jakarta.ws.rs.core.UriInfo uriInfo, @QueryParam("displayName") String displayName, @QueryParam("firstName") String firstname, @QueryParam("lastName") String lastname, @QueryParam("offset") Integer offset, @QueryParam("status") String status, @QueryParam("limit") Integer limit, @QueryParam("orderBy") String orderBy, @QueryParam("sortOrder") String sortOrder, @QueryParam("legalForm") Integer legalForm) -
retrieveOne
-
retrieveAssociatedAccounts
-
retrieveImage
@GET @Path("{clientId}/images") @Consumes({"text/plain","text/html","application/json"}) @Produces("text/plain") public jakarta.ws.rs.core.Response retrieveImage(@PathParam("clientId") Long clientId, @QueryParam("maxWidth") Integer maxWidth, @QueryParam("maxHeight") Integer maxHeight, @QueryParam("output") String output) -
retrieveAllClientCharges
@GET @Path("{clientId}/charges") @Consumes("application/json") @Produces("application/json") public String retrieveAllClientCharges(@PathParam("clientId") Long clientId, @DefaultValue("all") @QueryParam("chargeStatus") String chargeStatus, @QueryParam("pendingPayment") Boolean pendingPayment, @Context jakarta.ws.rs.core.UriInfo uriInfo, @QueryParam("limit") Integer limit, @QueryParam("offset") Integer offset) -
retrieveClientCharge
-
retrieveAllClientTransactions
-
retrieveClientTransaction
-
addNewClientImage
@POST @Path("{clientId}/images") @Consumes("multipart/form-data") @Produces("application/json") public org.apache.fineract.infrastructure.core.data.CommandProcessingResult addNewClientImage(@PathParam("clientId") Long clientId, @HeaderParam("Content-Length") Long fileSize, InputStream inputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetails, org.glassfish.jersey.media.multipart.FormDataBodyPart bodyPart) -
addNewClientImage
@POST @Path("{clientId}/images") @Consumes({"text/plain","text/html","application/json"}) @Produces("application/json") public org.apache.fineract.infrastructure.core.data.CommandProcessingResult addNewClientImage(@PathParam("entity") String entityName, @PathParam("clientId") Long clientId, String jsonRequestBody) -
deleteClientImage
@DELETE @Path("{clientId}/images") @Consumes("application/json") @Produces("application/json") public org.apache.fineract.infrastructure.core.data.CommandProcessingResult deleteClientImage(@PathParam("clientId") Long clientId) -
retrieveObligeeDetails
-