Class ReportsApi

java.lang.Object
com.veeroute.lss.monitor.api.ReportsApi

public class ReportsApi extends Object
  • Constructor Details

    • ReportsApi

      public ReportsApi()
    • ReportsApi

      public ReportsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl(String customBaseUrl)
    • generateReportXlsxCall

      public okhttp3.Call generateReportXlsxCall(@Nonnull ReportType reportType, @Nonnull List<UUID> UUID, @Nullable OffsetDateTime from, @Nullable OffsetDateTime to, ApiCallback _callback) throws ApiException
      Build call for generateReportXlsx
      Parameters:
      reportType - Report type. (required)
      UUID - List of wave keys for which data needs to be downloaded. (required)
      from - Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If no datetime is specified, audit data are returned from the beginning of the day. (optional)
      to - Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If not specified, data up to the current time is returned. (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Report created successfully -
      400 Bad request - input data contains errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      403 Forbidden - no permission to execute this operation -
      406 Client is unable to process a format of response, check headers -
      415 Unsupported media type, check headers -
      429 Too many requests -
      431 Request header fields too large -
      500 Internal server error -
      501 Not implemented -
      502 Bad gateway -
      503 Service unavailable -
      504 Gateway timeout -
      0 Service unavailable -
    • generateReportXlsx

      public byte[] generateReportXlsx(@Nonnull ReportType reportType, @Nonnull List<UUID> UUID, @Nullable OffsetDateTime from, @Nullable OffsetDateTime to) throws ApiException
      Report creating Creating report.
      Parameters:
      reportType - Report type. (required)
      UUID - List of wave keys for which data needs to be downloaded. (required)
      from - Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If no datetime is specified, audit data are returned from the beginning of the day. (optional)
      to - Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If not specified, data up to the current time is returned. (optional)
      Returns:
      byte[]
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Report created successfully -
      400 Bad request - input data contains errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      403 Forbidden - no permission to execute this operation -
      406 Client is unable to process a format of response, check headers -
      415 Unsupported media type, check headers -
      429 Too many requests -
      431 Request header fields too large -
      500 Internal server error -
      501 Not implemented -
      502 Bad gateway -
      503 Service unavailable -
      504 Gateway timeout -
      0 Service unavailable -
    • generateReportXlsxWithHttpInfo

      public ApiResponse<byte[]> generateReportXlsxWithHttpInfo(@Nonnull ReportType reportType, @Nonnull List<UUID> UUID, @Nullable OffsetDateTime from, @Nullable OffsetDateTime to) throws ApiException
      Report creating Creating report.
      Parameters:
      reportType - Report type. (required)
      UUID - List of wave keys for which data needs to be downloaded. (required)
      from - Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If no datetime is specified, audit data are returned from the beginning of the day. (optional)
      to - Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If not specified, data up to the current time is returned. (optional)
      Returns:
      ApiResponse<byte[]>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Report created successfully -
      400 Bad request - input data contains errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      403 Forbidden - no permission to execute this operation -
      406 Client is unable to process a format of response, check headers -
      415 Unsupported media type, check headers -
      429 Too many requests -
      431 Request header fields too large -
      500 Internal server error -
      501 Not implemented -
      502 Bad gateway -
      503 Service unavailable -
      504 Gateway timeout -
      0 Service unavailable -
    • generateReportXlsxAsync

      public okhttp3.Call generateReportXlsxAsync(@Nonnull ReportType reportType, @Nonnull List<UUID> UUID, @Nullable OffsetDateTime from, @Nullable OffsetDateTime to, ApiCallback<byte[]> _callback) throws ApiException
      Report creating (asynchronously) Creating report.
      Parameters:
      reportType - Report type. (required)
      UUID - List of wave keys for which data needs to be downloaded. (required)
      from - Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If no datetime is specified, audit data are returned from the beginning of the day. (optional)
      to - Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If not specified, data up to the current time is returned. (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Report created successfully -
      400 Bad request - input data contains errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      403 Forbidden - no permission to execute this operation -
      406 Client is unable to process a format of response, check headers -
      415 Unsupported media type, check headers -
      429 Too many requests -
      431 Request header fields too large -
      500 Internal server error -
      501 Not implemented -
      502 Bad gateway -
      503 Service unavailable -
      504 Gateway timeout -
      0 Service unavailable -