Class InteropApiResource

java.lang.Object
org.apache.fineract.interoperation.api.InteropApiResource

@Path("/v1/interoperation") @Component public class InteropApiResource extends Object
  • Constructor Details

    • InteropApiResource

      public InteropApiResource()
  • Method Details

    • health

      @GET @Consumes("application/json") @Produces("application/json") @Path("health") public String health(@Context jakarta.ws.rs.core.UriInfo uriInfo)
    • getAccountDetails

      @GET @Consumes("application/json") @Produces("application/json") @Path("accounts/{accountId}") public String getAccountDetails(@PathParam("accountId") String accountId, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • getAccountTransactions

      @GET @Consumes("application/json") @Produces("application/json") @Path("accounts/{accountId}/transactions") public String getAccountTransactions(@PathParam("accountId") String accountId, @DefaultValue("true") @QueryParam("debit") boolean debit, @DefaultValue("false") @QueryParam("credit") boolean credit, @QueryParam("fromBookingDateTime") String fromBookingDateTime, @QueryParam("toBookingDateTime") String toBookingDateTime, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • getAccountIdentifiers

      @GET @Consumes("application/json") @Produces("application/json") @Path("accounts/{accountId}/identifiers") public String getAccountIdentifiers(@PathParam("accountId") String accountId, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • getAccountByIdentifier

      @GET @Consumes("application/json") @Produces("application/json") @Path("parties/{idType}/{idValue}") public String getAccountByIdentifier(@PathParam("idType") org.apache.fineract.interoperation.domain.InteropIdentifierType idType, @PathParam("idValue") String idValue, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • getAccountByIdentifier

      @GET @Consumes("application/json") @Produces("application/json") @Path("parties/{idType}/{idValue}/{subIdOrType}") public String getAccountByIdentifier(@PathParam("idType") org.apache.fineract.interoperation.domain.InteropIdentifierType idType, @PathParam("idValue") String idValue, @PathParam("subIdOrType") String subIdOrType, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • registerAccountIdentifier

      @POST @Consumes("application/json") @Produces("application/json") @Path("parties/{idType}/{idValue}") public String registerAccountIdentifier(@PathParam("idType") org.apache.fineract.interoperation.domain.InteropIdentifierType idType, @PathParam("idValue") String idValue, String identifierJson, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • registerAccountIdentifier

      @POST @Consumes("application/json") @Produces("application/json") @Path("parties/{idType}/{idValue}/{subIdOrType}") public String registerAccountIdentifier(@PathParam("idType") org.apache.fineract.interoperation.domain.InteropIdentifierType idType, @PathParam("idValue") String idValue, @PathParam("subIdOrType") String subIdOrType, String identifierJson, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • deleteAccountIdentifier

      @DELETE @Consumes("application/json") @Produces("application/json") @Path("parties/{idType}/{idValue}") public String deleteAccountIdentifier(@PathParam("idType") org.apache.fineract.interoperation.domain.InteropIdentifierType idType, @PathParam("idValue") String idValue, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • deleteAccountIdentifier

      @DELETE @Consumes("application/json") @Produces("application/json") @Path("parties/{idType}/{idValue}/{subIdOrType}") public String deleteAccountIdentifier(@PathParam("idType") org.apache.fineract.interoperation.domain.InteropIdentifierType idType, @PathParam("idValue") String idValue, @PathParam("subIdOrType") String subIdOrType, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • getTransactionRequest

      @GET @Consumes("application/json") @Produces("application/json") @Path("transactions/{transactionCode}/requests/{requestCode}") public String getTransactionRequest(@PathParam("transactionCode") String transactionCode, @PathParam("requestCode") String requestCode, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • createTransactionRequest

      @POST @Consumes("application/json") @Produces("application/json") @Path("requests") public String createTransactionRequest(String quotesJson, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • getQuote

      @GET @Consumes("application/json") @Produces("application/json") @Path("transactions/{transactionCode}/quotes/{quoteCode}") public String getQuote(@PathParam("transactionCode") String transactionCode, @PathParam("quoteCode") String quoteCode, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • createQuote

      @POST @Consumes("application/json") @Produces("application/json") @Path("quotes") public String createQuote(String quotesJson, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • getTransfer

      @GET @Consumes("application/json") @Produces("application/json") @Path("transactions/{transactionCode}/transfers/{transferCode}") public String getTransfer(@PathParam("transactionCode") String transactionCode, @PathParam("transferCode") String transferCode, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • performTransfer

      @POST @Consumes("application/json") @Produces("application/json") @Path("transfers") public String performTransfer(@QueryParam("action") String action, String quotesJson, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • getClientKyc

      @GET @Consumes("application/json") @Produces("application/json") @Path("accounts/{accountId}/kyc") public String getClientKyc(@PathParam("accountId") String accountId, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • disburseLoan

      @POST @Consumes("application/json") @Produces("application/json") @Path("transactions/{accountId}/disburse") public String disburseLoan(@PathParam("accountId") String accountId, String apiRequestBodyAsJson, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • loanRepayment

      @POST @Consumes("application/json") @Produces("application/json") @Path("transactions/{accountId}/loanrepayment") public String loanRepayment(@PathParam("accountId") String accountId, String apiRequestBodyAsJson, @Context jakarta.ws.rs.core.UriInfo uriInfo)