Class NotesApiResource

java.lang.Object
org.apache.fineract.portfolio.note.api.NotesApiResource

@Path("/v1/{resourceType}/{resourceId}/notes") @Component public class NotesApiResource extends Object
  • Field Details

  • Constructor Details

    • NotesApiResource

      public NotesApiResource()
  • Method Details

    • retrieveNotesByResource

      @GET @Consumes("application/json") @Produces("application/json") public String retrieveNotesByResource(@PathParam("resourceType") String resourceType, @PathParam("resourceId") Long resourceId, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • retrieveNote

      @GET @Path("{noteId}") @Consumes("application/json") @Produces("application/json") public String retrieveNote(@PathParam("resourceType") String resourceType, @PathParam("resourceId") Long resourceId, @PathParam("noteId") Long noteId, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • addNewNote

      @POST @Consumes("application/json") @Produces("application/json") public String addNewNote(@PathParam("resourceType") String resourceType, @PathParam("resourceId") Long resourceId, String apiRequestBodyAsJson)
    • updateNote

      @PUT @Path("{noteId}") @Consumes("application/json") @Produces("application/json") public String updateNote(@PathParam("resourceType") String resourceType, @PathParam("resourceId") Long resourceId, @PathParam("noteId") Long noteId, String apiRequestBodyAsJson)
    • deleteNote

      @DELETE @Path("{noteId}") @Consumes("application/json") @Produces("application/json") public String deleteNote(@PathParam("resourceType") String resourceType, @PathParam("resourceId") Long resourceId, @PathParam("noteId") Long noteId)