Class AccountsApiResource
java.lang.Object
org.apache.fineract.portfolio.accounts.api.AccountsApiResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.fineract.infrastructure.core.data.CommandProcessingResultcreateAccount(String accountType, AccountRequest accountRequest) jakarta.ws.rs.core.ResponsegetSharedAccountsTemplate(Long officeId, String dateFormat, String accountType) org.apache.fineract.infrastructure.core.data.CommandProcessingResulthandleCommands(String accountType, Long accountId, String commandParam, String apiRequestBodyAsJson) postSharedAccountsTemplate(InputStream uploadedInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail, String locale, String dateFormat, String accountType) retrieveAccount(Long accountId, String accountType, jakarta.ws.rs.core.UriInfo uriInfo) org.apache.fineract.infrastructure.core.service.Page<AccountData> retrieveAllAccounts(String accountType, Integer offset, Integer limit) org.apache.fineract.infrastructure.core.data.CommandProcessingResultupdateAccount(String accountType, Long accountId, AccountRequest accountRequest)
-
Constructor Details
-
AccountsApiResource
public AccountsApiResource()
-
-
Method Details
-
template
@GET @Path("template") @Consumes("application/json") @Produces("application/json") public ShareAccountData template(@PathParam("type") String accountType, @QueryParam("clientId") Long clientId, @QueryParam("productId") Long productId) -
retrieveAccount
@GET @Path("{accountId}") @Consumes("application/json") @Produces("application/json") public ShareAccountData retrieveAccount(@PathParam("accountId") Long accountId, @PathParam("type") String accountType, @Context jakarta.ws.rs.core.UriInfo uriInfo) -
retrieveAllAccounts
@GET @Consumes("application/json") @Produces("application/json") public org.apache.fineract.infrastructure.core.service.Page<AccountData> retrieveAllAccounts(@PathParam("type") String accountType, @QueryParam("offset") Integer offset, @QueryParam("limit") Integer limit) -
createAccount
@POST @Consumes("application/json") @Produces("application/json") public org.apache.fineract.infrastructure.core.data.CommandProcessingResult createAccount(@PathParam("type") String accountType, AccountRequest accountRequest) -
handleCommands
@POST @Path("{accountId}") @Consumes("application/json") @Produces("application/json") public org.apache.fineract.infrastructure.core.data.CommandProcessingResult handleCommands(@PathParam("type") String accountType, @PathParam("accountId") Long accountId, @QueryParam("command") String commandParam, String apiRequestBodyAsJson) -
updateAccount
@PUT @Path("{accountId}") @Consumes("application/json") @Produces("application/json") public org.apache.fineract.infrastructure.core.data.CommandProcessingResult updateAccount(@PathParam("type") String accountType, @PathParam("accountId") Long accountId, AccountRequest accountRequest)
-