Class UsersRestEndpoint

java.lang.Object
org.cswteams.ms3.rest.UsersRestEndpoint

@RestController @RequestMapping("/users/") public class UsersRestEndpoint extends Object
  • Constructor Details

    • UsersRestEndpoint

      public UsersRestEndpoint()
  • Method Details

    • createUser

      @RequestMapping(method=POST, path="") public org.springframework.http.ResponseEntity<?> createUser(@RequestBody UserCreationDTO doctor)
    • getAllUsers

      @RequestMapping(method=GET) public org.springframework.http.ResponseEntity<?> getAllUsers()
    • getSingleUser

      @RequestMapping(method=GET, path="/user_id={userId}") public org.springframework.http.ResponseEntity<?> getSingleUser(@PathVariable Long userId)
    • getSingleUserProfileInfos

      @RequestMapping(method=GET, path="/user-profile/user_id={userId}") public org.springframework.http.ResponseEntity<?> getSingleUserProfileInfos(@PathVariable Long userId)
    • deleteUserSystemActor

      @RequestMapping(method=DELETE, path="/user-profile/delete-system-actor") public org.springframework.http.ResponseEntity<?> deleteUserSystemActor(@RequestBody UserSystemActorDTO userSystemActorDTO)
    • addUserSystemActor

      @RequestMapping(method=POST, path="/user-profile/add-system-actors") public org.springframework.http.ResponseEntity<?> addUserSystemActor(@RequestBody UserSystemActorsDTO userSystemActorsDTO)