Class NoteController

java.lang.Object
com.MedilaboSolutions.note.controller.NoteController

@RequestMapping("/notes") @RestController public class NoteController extends Object
  • Constructor Details

    • NoteController

      public NoteController()
  • Method Details

    • getNoteByPatientId

      @GetMapping("/{patId}") public org.springframework.http.ResponseEntity<SuccessResponse<List<NoteDto>>> getNoteByPatientId(@PathVariable Long patId, @RequestHeader("medilabo-solutions-correlation-id") String correlationId)
    • createNote

      @PostMapping public org.springframework.http.ResponseEntity<SuccessResponse<NoteDto>> createNote(@Valid @RequestBody @Valid NoteRequestDto noteDto)
    • deleteNotesByPatientId

      @DeleteMapping("/{patId}") public org.springframework.http.ResponseEntity<Void> deleteNotesByPatientId(@PathVariable Long patId)