Class NoteController
java.lang.Object
com.MedilaboSolutions.note.controller.NoteController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<SuccessResponse<NoteDto>> createNote
(@Valid NoteRequestDto noteDto) org.springframework.http.ResponseEntity
<Void> deleteNotesByPatientId
(Long patId) org.springframework.http.ResponseEntity
<SuccessResponse<List<NoteDto>>> getNoteByPatientId
(Long patId, String correlationId)
-
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
-