T139 Server returns history to client request

This commit is contained in:
2021-03-17 18:44:58 +01:00
parent 4ad48419df
commit 3e53d174f4
6 changed files with 57 additions and 5 deletions

View File

@@ -33,7 +33,7 @@ import java.util.UUID;
public class EventController {
private final EtrackService service;
@GetMapping
@PostMapping
public ResponseEntity getHistory(@RequestBody EventRequestDto event){
return new ResponseEntity(service.getEventsByDateTimeAndBusinessKeys(event), HttpStatus.OK);
}