Package org.cswteams.ms3.rest
Class NotificationRestEndpoint
java.lang.Object
org.cswteams.ms3.rest.NotificationRestEndpoint
@RestController
@RequestMapping("/notification/")
public class NotificationRestEndpoint
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?> getAllMedicalServices(long userId) org.springframework.http.ResponseEntity<?> updateStatusNotification(@NotNull NotificationDTO notificationDTOS)
-
Constructor Details
-
NotificationRestEndpoint
public NotificationRestEndpoint()
-
-
Method Details
-
getAllMedicalServices
@RequestMapping(method=GET, path="id={userId}") public org.springframework.http.ResponseEntity<?> getAllMedicalServices(@PathVariable long userId) -
updateStatusNotification
@RequestMapping(method=PUT, path="updateStatus") public org.springframework.http.ResponseEntity<?> updateStatusNotification(@RequestBody @NotNull @NotNull NotificationDTO notificationDTOS)
-