Class DoctorRestEndpoint

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

@RestController @RequestMapping("/doctors/") public class DoctorRestEndpoint extends Object
  • Constructor Details

    • DoctorRestEndpoint

      public DoctorRestEndpoint()
  • Method Details

    • getAllDoctors

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

      @RequestMapping(method=GET, path="/{doctorId}") public org.springframework.http.ResponseEntity<?> getDoctorById(@PathVariable Long doctorId)
    • deleteDoctorSpecialization

      @RequestMapping(method=DELETE, path="/user-profile/delete-specialization") public org.springframework.http.ResponseEntity<?> deleteDoctorSpecialization(@RequestBody SingleDoctorSpecializationDTO doctorSpecializationDTO)
    • addDoctorSpecialization

      @RequestMapping(method=POST, path="/user-profile/add-specialization") public org.springframework.http.ResponseEntity<?> addDoctorSpecialization(@RequestBody DoctorSpecializationDTO doctorSpecializationDTO)
    • deleteDoctorPermanentCondition

      @RequestMapping(method=DELETE, path="/user-profile/delete-permanent-condition") public org.springframework.http.ResponseEntity<?> deleteDoctorPermanentCondition(@RequestBody PermanentConditionDTO permanentConditionDTO)
    • deleteDoctorTemporaryCondition

      @RequestMapping(method=DELETE, path="/user-profile/delete-temporary-condition") public org.springframework.http.ResponseEntity<?> deleteDoctorTemporaryCondition(@RequestBody TemporaryConditionDTO temporaryConditionDTO)
    • addDoctorConditions

      @RequestMapping(method=POST, path="/user-profile/add-condition") public org.springframework.http.ResponseEntity<?> addDoctorConditions(@RequestBody UpdateConditionsDTO updateConditionsDTO) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException