Class ResearchStudyParticipantController

java.lang.Object
org.diabetestechnology.drh.service.http.pg.ux.ResearchStudyParticipantController

@Controller public class ResearchStudyParticipantController extends Object
  • Constructor Details

  • Method Details

    • saveParticipantData

      @PostMapping("/participant") @ResponseBody public Response saveParticipantData(@Valid @RequestBody @Valid ParticipantDataRequest request)
    • updateParticipantDataInline

      @PutMapping("/participant/{participantId}") @ResponseBody public Response updateParticipantDataInline(@PathVariable String participantId, @RequestBody com.fasterxml.jackson.databind.JsonNode jsonInput)
    • getParticipantDetails

      @ResponseBody @GetMapping("/participant/{participantId}") public Response getParticipantDetails(@PathVariable String participantId)
    • checkIfParticipantDisplayIdExists

      @GetMapping("/participant/{studyId}/{participantDisplayId}/exists") @ResponseBody public Response checkIfParticipantDisplayIdExists(@PathVariable String studyId, @PathVariable String participantDisplayId)
    • updateParticipantData

      @PutMapping("/participant/{participantId}/update") @ResponseBody public Response updateParticipantData(@PathVariable String participantId, @Valid @RequestBody @Valid ParticipantDataRequest request) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException