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 List<org.apache.fineract.portfolio.note.data.NoteData> retrieveNotesByResource(@PathParam("resourceType") String resourceType, @PathParam("resourceId") Long resourceId)
    • retrieveNote

      @GET @Path("{noteId}") @Consumes("application/json") @Produces("application/json") public org.apache.fineract.portfolio.note.data.NoteData retrieveNote(@PathParam("resourceType") String resourceType, @PathParam("resourceId") Long resourceId, @PathParam("noteId") Long noteId)
    • addNewNote

      @POST @Consumes("application/json") @Produces("application/json") public org.apache.fineract.infrastructure.core.data.CommandProcessingResult addNewNote(@PathParam("resourceType") String resourceType, @PathParam("resourceId") Long resourceId, NoteRequest noteRequest)
    • updateNote

      @PUT @Path("{noteId}") @Consumes("application/json") @Produces("application/json") public org.apache.fineract.infrastructure.core.data.CommandProcessingResult updateNote(@PathParam("resourceType") String resourceType, @PathParam("resourceId") Long resourceId, @PathParam("noteId") Long noteId, NoteRequest noteRequest)
    • deleteNote

      @DELETE @Path("{noteId}") @Consumes("application/json") @Produces("application/json") public org.apache.fineract.infrastructure.core.data.CommandProcessingResult deleteNote(@PathParam("resourceType") String resourceType, @PathParam("resourceId") Long resourceId, @PathParam("noteId") Long noteId)