Class ConvertApi

java.lang.Object
com.veeroute.lss.universal.api.ConvertApi

public class ConvertApi extends Object
  • Constructor Details

    • ConvertApi

      public ConvertApi()
    • ConvertApi

      public ConvertApi(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)
    • runConvertJsonToThriftCall

      public okhttp3.Call runConvertJsonToThriftCall(@Nonnull UniversalData universalData, ApiCallback _callback) throws ApiException
      Build call for runConvertJsonToThrift
      Parameters:
      universalData - Conversion request to the THRIFT. (required)
      _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 Successful execution -
      400 Bad request - data contain 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 -
    • runConvertJsonToThrift

      public String runConvertJsonToThrift(@Nonnull UniversalData universalData) throws ApiException
      JSON >> THRIFT Used for conversion of input data to the THRIFT format.
      Parameters:
      universalData - Conversion request to the THRIFT. (required)
      Returns:
      String
      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 Successful execution -
      400 Bad request - data contain 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 -
    • runConvertJsonToThriftWithHttpInfo

      public ApiResponse<String> runConvertJsonToThriftWithHttpInfo(@Nonnull UniversalData universalData) throws ApiException
      JSON >> THRIFT Used for conversion of input data to the THRIFT format.
      Parameters:
      universalData - Conversion request to the THRIFT. (required)
      Returns:
      ApiResponse<String>
      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 Successful execution -
      400 Bad request - data contain 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 -
    • runConvertJsonToThriftAsync

      public okhttp3.Call runConvertJsonToThriftAsync(@Nonnull UniversalData universalData, ApiCallback<String> _callback) throws ApiException
      JSON >> THRIFT (asynchronously) Used for conversion of input data to the THRIFT format.
      Parameters:
      universalData - Conversion request to the THRIFT. (required)
      _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 Successful execution -
      400 Bad request - data contain 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 -
    • runConvertJsonToXlsxCall

      public okhttp3.Call runConvertJsonToXlsxCall(@Nonnull UniversalData universalData, @Nullable Integer timezone, ApiCallback _callback) throws ApiException
      Build call for runConvertJsonToXlsx
      Parameters:
      universalData - Conversion request to the XLSX. (required)
      timezone - Target time zone. (optional, default to 0)
      _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 Successful execution -
      400 Bad request - data contain 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 -
    • runConvertJsonToXlsx

      public byte[] runConvertJsonToXlsx(@Nonnull UniversalData universalData, @Nullable Integer timezone) throws ApiException
      JSON >> XLSX Used for conversion of data to the [VRt.Universal XLSX](#/xlsx) format.
      Parameters:
      universalData - Conversion request to the XLSX. (required)
      timezone - Target time zone. (optional, default to 0)
      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 Successful execution -
      400 Bad request - data contain 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 -
    • runConvertJsonToXlsxWithHttpInfo

      public ApiResponse<byte[]> runConvertJsonToXlsxWithHttpInfo(@Nonnull UniversalData universalData, @Nullable Integer timezone) throws ApiException
      JSON >> XLSX Used for conversion of data to the [VRt.Universal XLSX](#/xlsx) format.
      Parameters:
      universalData - Conversion request to the XLSX. (required)
      timezone - Target time zone. (optional, default to 0)
      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 Successful execution -
      400 Bad request - data contain 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 -
    • runConvertJsonToXlsxAsync

      public okhttp3.Call runConvertJsonToXlsxAsync(@Nonnull UniversalData universalData, @Nullable Integer timezone, ApiCallback<byte[]> _callback) throws ApiException
      JSON >> XLSX (asynchronously) Used for conversion of data to the [VRt.Universal XLSX](#/xlsx) format.
      Parameters:
      universalData - Conversion request to the XLSX. (required)
      timezone - Target time zone. (optional, default to 0)
      _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 Successful execution -
      400 Bad request - data contain 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 -
    • runConvertXlsxToJsonCall

      public okhttp3.Call runConvertXlsxToJsonCall(@Nonnull byte[] body, ApiCallback _callback) throws ApiException
      Build call for runConvertXlsxToJson
      Parameters:
      body - Conversion request to the JSON format. (required)
      _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 Successful execution -
      400 Bad request - data contain 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 -
    • runConvertXlsxToJson

      public UniversalData runConvertXlsxToJson(@Nonnull byte[] body) throws ApiException
      XLSX >> JSON Used for data conversion from the [VRt.Universal XLSX](#/xlsx) format to the VRt.Universal JSON format.
      Parameters:
      body - Conversion request to the JSON format. (required)
      Returns:
      UniversalData
      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 Successful execution -
      400 Bad request - data contain 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 -
    • runConvertXlsxToJsonWithHttpInfo

      public ApiResponse<UniversalData> runConvertXlsxToJsonWithHttpInfo(@Nonnull byte[] body) throws ApiException
      XLSX >> JSON Used for data conversion from the [VRt.Universal XLSX](#/xlsx) format to the VRt.Universal JSON format.
      Parameters:
      body - Conversion request to the JSON format. (required)
      Returns:
      ApiResponse<UniversalData>
      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 Successful execution -
      400 Bad request - data contain 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 -
    • runConvertXlsxToJsonAsync

      public okhttp3.Call runConvertXlsxToJsonAsync(@Nonnull byte[] body, ApiCallback<UniversalData> _callback) throws ApiException
      XLSX >> JSON (asynchronously) Used for data conversion from the [VRt.Universal XLSX](#/xlsx) format to the VRt.Universal JSON format.
      Parameters:
      body - Conversion request to the JSON format. (required)
      _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 Successful execution -
      400 Bad request - data contain 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 -