Class JournalEntriesApiResource

java.lang.Object
org.apache.fineract.accounting.journalentry.api.JournalEntriesApiResource

@Path("/v1/journalentries") @Component public class JournalEntriesApiResource extends Object
  • Constructor Details

    • JournalEntriesApiResource

      public JournalEntriesApiResource()
  • Method Details

    • retrieveAll

      @GET @Consumes("application/json") @Produces("application/json") public String retrieveAll(@Context jakarta.ws.rs.core.UriInfo uriInfo, @QueryParam("officeId") Long officeId, @QueryParam("glAccountId") Long glAccountId, @QueryParam("manualEntriesOnly") Boolean onlyManualEntries, @QueryParam("fromDate") org.apache.fineract.infrastructure.core.api.DateParam fromDateParam, @QueryParam("toDate") org.apache.fineract.infrastructure.core.api.DateParam toDateParam, @QueryParam("submittedOnDateFrom") org.apache.fineract.infrastructure.core.api.DateParam submittedOnDateFromParam, @QueryParam("submittedOnDateTo") org.apache.fineract.infrastructure.core.api.DateParam submittedOnDateToParam, @QueryParam("transactionId") String transactionId, @QueryParam("entityType") Integer entityType, @QueryParam("offset") Integer offset, @QueryParam("limit") Integer limit, @QueryParam("orderBy") String orderBy, @QueryParam("sortOrder") String sortOrder, @QueryParam("locale") String locale, @QueryParam("dateFormat") String rawDateFormat, @QueryParam("loanId") Long loanId, @QueryParam("savingsId") Long savingsId, @QueryParam("runningBalance") boolean runningBalance, @QueryParam("transactionDetails") boolean transactionDetails)
    • retrieveJournalEntryById

      @GET @Path("{journalEntryId}") @Consumes("application/json") @Produces("application/json") public String retrieveJournalEntryById(@PathParam("journalEntryId") Long journalEntryId, @Context jakarta.ws.rs.core.UriInfo uriInfo, @QueryParam("runningBalance") boolean runningBalance, @QueryParam("transactionDetails") boolean transactionDetails)
    • createGLJournalEntry

      @POST @Consumes("application/json") @Produces("application/json") public String createGLJournalEntry(String jsonRequestBody, @QueryParam("command") String commandParam)
    • createReversalJournalEntry

      @POST @Path("{transactionId}") @Consumes("application/json") @Produces("application/json") public String createReversalJournalEntry(String jsonRequestBody, @PathParam("transactionId") String transactionId, @QueryParam("command") String commandParam)
    • retrieveJournalEntries

      @GET @Path("provisioning") @Consumes("application/json") @Produces("application/json") public String retrieveJournalEntries(@QueryParam("offset") Integer offset, @QueryParam("limit") Integer limit, @QueryParam("entryId") Long entryId, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • retrieveOpeningBalance

      @GET @Path("openingbalance") @Consumes("application/json") @Produces("application/json") public String retrieveOpeningBalance(@Context jakarta.ws.rs.core.UriInfo uriInfo, @QueryParam("officeId") Long officeId, @QueryParam("currencyCode") String currencyCode)
    • getJournalEntriesTemplate

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

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