Class GetStatistics

java.lang.Object
com.ubs.backend.services.GetStatistics

@Path("getStatistics") public class GetStatistics extends Object
Since:
25.08.2021
Author:
Tim Irmler
  • Constructor Details

    • GetStatistics

      public GetStatistics()
  • Method Details

    • allSentAnswersPerTime

      @GET @Produces("application/json") @Path("/sentAnswersPerTime") public String allSentAnswersPerTime(@QueryParam("timeRange") String timeRangeString, @Context javax.servlet.http.HttpServletRequest request)
      Parameters:
      timeRangeString - the time range which the statistics will be returned for
      Returns:
      a JSON Array with the Statistics
      Since:
      25.08.2021
    • answeredVsUnansweredPerTime

      @GET @Produces("application/json") @Path("/answeredVsUnansweredPerTime") public String answeredVsUnansweredPerTime(@QueryParam("timeRange") String timeRangeString, @Context javax.servlet.http.HttpServletRequest request)
      Parameters:
      timeRangeString - the time range which the statistics will be returned for
      Returns:
      a JSON Array with the Statistics
      Since:
      30.08.2021
    • amountAnsweredQuestionsPerTime

      @GET @Produces("application/json") @Path("/answeredQuestionsPerTime") public String amountAnsweredQuestionsPerTime(@QueryParam("timeRange") String timeRangeString, @Context javax.servlet.http.HttpServletRequest request)
      Parameters:
      timeRangeString - the time range which the statistics will be returned for
      Returns:
      a JSON Array with the Statistics
      Since:
      30.08.2021
    • amountUnansweredQuestionsPerTime

      @GET @Produces("application/json") @Path("/unansweredQuestionsPerTime") public String amountUnansweredQuestionsPerTime(@QueryParam("timeRange") String timeRangeString, @Context javax.servlet.http.HttpServletRequest request)
      Parameters:
      timeRangeString - the time range which the statistics will be returned for
      Returns:
      a JSON Array with the Statistics
      Since:
      30.08.2021