Class MedicalServicesRestEndpoint

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

@RestController @RequestMapping("/medical-services/") public class MedicalServicesRestEndpoint extends Object
  • Constructor Details

    • MedicalServicesRestEndpoint

      public MedicalServicesRestEndpoint()
  • Method Details

    • getAllMedicalServices

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

      @RequestMapping(method=GET, path="name/{serviceName}") public org.springframework.http.ResponseEntity<?> leggiServizio(@PathVariable String serviceName)
    • getAvailableTaskTypes

      @RequestMapping(method=GET, path="available-task-types") public org.springframework.http.ResponseEntity<?> getAvailableTaskTypes()
    • creaServizio

      @RequestMapping(method=POST, path="") public org.springframework.http.ResponseEntity<?> creaServizio(@RequestBody(required=true) MedicalServiceCreationDTO service)
    • updateService

      @RequestMapping(method=POST, path="update") public org.springframework.http.ResponseEntity<?> updateService(@RequestBody(required=true) MedicalServiceDTO service)
    • deleteService

      @RequestMapping(method=POST, path="delete") public org.springframework.http.ResponseEntity<?> deleteService(@RequestBody(required=true) Long serviceId)