Package com.veeroute.lss.universal.api
Class ConvertApi
java.lang.Object
com.veeroute.lss.universal.api.ConvertApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintrunConvertJsonToThrift(UniversalData universalData) JSON >> THRIFT Used for conversion of input data to the THRIFT format.okhttp3.CallrunConvertJsonToThriftAsync(UniversalData universalData, ApiCallback<String> _callback) JSON >> THRIFT (asynchronously) Used for conversion of input data to the THRIFT format.okhttp3.CallrunConvertJsonToThriftCall(UniversalData universalData, ApiCallback _callback) Build call for runConvertJsonToThriftrunConvertJsonToThriftWithHttpInfo(UniversalData universalData) JSON >> THRIFT Used for conversion of input data to the THRIFT format.byte[]runConvertJsonToXlsx(UniversalData universalData, Integer timezone) JSON >> XLSX Used for conversion of data to the [VRt.Universal XLSX](#/xlsx) format.okhttp3.CallrunConvertJsonToXlsxAsync(UniversalData universalData, Integer timezone, ApiCallback<byte[]> _callback) JSON >> XLSX (asynchronously) Used for conversion of data to the [VRt.Universal XLSX](#/xlsx) format.okhttp3.CallrunConvertJsonToXlsxCall(UniversalData universalData, Integer timezone, ApiCallback _callback) Build call for runConvertJsonToXlsxApiResponse<byte[]> runConvertJsonToXlsxWithHttpInfo(UniversalData universalData, Integer timezone) JSON >> XLSX Used for conversion of data to the [VRt.Universal XLSX](#/xlsx) format.runConvertXlsxToJson(byte[] body) XLSX >> JSON Used for data conversion from the [VRt.Universal XLSX](#/xlsx) format to the VRt.Universal JSON format.okhttp3.CallrunConvertXlsxToJsonAsync(byte[] body, ApiCallback<UniversalData> _callback) XLSX >> JSON (asynchronously) Used for data conversion from the [VRt.Universal XLSX](#/xlsx) format to the VRt.Universal JSON format.okhttp3.CallrunConvertXlsxToJsonCall(byte[] body, ApiCallback _callback) Build call for runConvertXlsxToJsonrunConvertXlsxToJsonWithHttpInfo(byte[] body) XLSX >> JSON Used for data conversion from the [VRt.Universal XLSX](#/xlsx) format to the VRt.Universal JSON format.voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
ConvertApi
public ConvertApi() -
ConvertApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
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
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
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 -
-