Skip to content

Commit

Permalink
Fix misunderstanding
Browse files Browse the repository at this point in the history
  • Loading branch information
alicela committed Oct 25, 2024
1 parent 796bd2c commit d9be567
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public ResponseEntity<List<SurveyUnitModel>> getLatestByUE(@RequestParam("idUE")
return ResponseEntity.ok(responses);
}

@Operation(summary = "Retrieve responses for an interrogation, using IdUE and IdQuestionnaire from Genesis Database. It returns only the latest value of each variable regardless of the state. The result is in one object in the output")
@Operation(summary = "Retrieve responses for an interrogation, using IdUE and IdQuestionnaire from Genesis Database. For a given mode, it returns only the latest value of each variable regardless of the state. The result is one object by mode in the output")
@GetMapping(path = "/get-simplified-response/by-ue-questionnaire-and-mode/latest")
public ResponseEntity<SurveyUnitSimplified> getLatestByUEOneObject(@RequestParam("idUE") String idUE,
@RequestParam("idQuestionnaire") String idQuestionnaire,
Expand All @@ -251,7 +251,7 @@ public ResponseEntity<SurveyUnitSimplified> getLatestByUEOneObject(@RequestParam

@Operation(summary = "Retrieve all responses for a questionnaire and a list of UE",
description = "Return the latest state for each variable for the given ids and a given questionnaire.<br>" +
"For a given id, the endpoint returns a single document that merges all collection modes (if there is more than one).")
"For a given id, the endpoint returns a document by collection mode (if there is more than one).")
@PostMapping(path = "/get-simplified-responses/by-list-ue-and-questionnaire/latest")
public ResponseEntity<List<SurveyUnitSimplified>> getLatestForUEList(@RequestParam("idQuestionnaire") String idQuestionnaire,
@RequestBody List<SurveyUnitId> idUEs) {
Expand Down

0 comments on commit d9be567

Please sign in to comment.