@PostMapping("/get_logs")
    @Operation(summary = "Get paginated account logs")
    public DAccountLogsResult getAccountLogs(@RequestBody DAccountLogsRequest deprecatedRequest){
        validatePageId(deprecatedRequest);
        AppSession appSession = validate(deprecatedRequest);
        var request = deprecatedRequest.getRequest();
        var result = accountService.getAccountLogs(appSession.getAccountId(), appSession.getDeviceName(), appSession.getAppCode(), request);
        return DAccountLogsResult.copyFrom(result);
    }
@Test
    public void testInvalidPageId() {
        DAccountLogsRequest request = new DAccountLogsRequest();
        request.setAppSessionId("id");

        DAccountException exc = assertThrows(DAccountException.class, () -> {
            accountLogsController.getAccountLogs(request);
        });

        assertEquals(HttpStatus.BAD_REQUEST, exc.getAccountErrorMessage().getHttpStatus());
        assertEquals("Missing parameters.", exc.getAccountErrorMessage().getMessage());
    }