Package com.veeroute.lss.packer.api
Class PackApi
java.lang.Object
com.veeroute.lss.packer.api.PackApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancelPackCalculation(UUID processCode) Cancel calculation Cancel calculation process by the calculation identifier.okhttp3.CallcancelPackCalculationAsync(UUID processCode, ApiCallback<Void> _callback) Cancel calculation (asynchronously) Cancel calculation process by the calculation identifier.okhttp3.CallcancelPackCalculationCall(UUID processCode, ApiCallback _callback) Build call for cancelPackCalculationcancelPackCalculationWithHttpInfo(UUID processCode) Cancel calculation Cancel calculation process by the calculation identifier.voiddeletePackResult(UUID processCode) Result removal Removal of the planning result by the calculation identifier.okhttp3.CalldeletePackResultAsync(UUID processCode, ApiCallback<Void> _callback) Result removal (asynchronously) Removal of the planning result by the calculation identifier.okhttp3.CalldeletePackResultCall(UUID processCode, ApiCallback _callback) Build call for deletePackResultdeletePackResultWithHttpInfo(UUID processCode) Result removal Removal of the planning result by the calculation identifier.intreadPackResult(UUID processCode) Getting the result Getting the result based on the calculation identifier.okhttp3.CallreadPackResultAsync(UUID processCode, ApiCallback<PackResult> _callback) Getting the result (asynchronously) Getting the result based on the calculation identifier.okhttp3.CallreadPackResultCall(UUID processCode, ApiCallback _callback) Build call for readPackResultreadPackResultWithHttpInfo(UUID processCode) Getting the result Getting the result based on the calculation identifier.readPackState(UUID processCode) Calculation state Read calculation state by the calculation identifier.okhttp3.CallreadPackStateAsync(UUID processCode, ApiCallback<CalculationState> _callback) Calculation state (asynchronously) Read calculation state by the calculation identifier.okhttp3.CallreadPackStateCall(UUID processCode, ApiCallback _callback) Build call for readPackStatereadPackStateWithHttpInfo(UUID processCode) Calculation state Read calculation state by the calculation identifier.runPackCalculation(PackTask packTask) Packing (SYNC) Planning the optimal package.runPackCalculationAsync(PackTask packTask) Packing The result can be obtained using the [result](#/pack/read_pack_result) method, removing - with [delete](#/pack/delete_pack_result).okhttp3.CallrunPackCalculationAsync(PackTask packTask, ApiCallback<PackResult> _callback) Packing (SYNC) (asynchronously) Planning the optimal package.okhttp3.CallrunPackCalculationAsyncAsync(PackTask packTask, ApiCallback<CalculationAsyncResult> _callback) Packing (asynchronously) The result can be obtained using the [result](#/pack/read_pack_result) method, removing - with [delete](#/pack/delete_pack_result).okhttp3.CallrunPackCalculationAsyncCall(PackTask packTask, ApiCallback _callback) Build call for runPackCalculationAsyncrunPackCalculationAsyncWithHttpInfo(PackTask packTask) Packing The result can be obtained using the [result](#/pack/read_pack_result) method, removing - with [delete](#/pack/delete_pack_result).okhttp3.CallrunPackCalculationCall(PackTask packTask, ApiCallback _callback) Build call for runPackCalculationrunPackCalculationWithHttpInfo(PackTask packTask) Packing (SYNC) Planning the optimal package.runPackValidation(PackTask packTask) Data validation Checking data before planning.okhttp3.CallrunPackValidationAsync(PackTask packTask, ApiCallback<PackerValidateResult> _callback) Data validation (asynchronously) Checking data before planning.okhttp3.CallrunPackValidationCall(PackTask packTask, ApiCallback _callback) Build call for runPackValidationrunPackValidationWithHttpInfo(PackTask packTask) Data validation Checking data before planning.voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
PackApi
public PackApi() -
PackApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
cancelPackCalculationCall
public okhttp3.Call cancelPackCalculationCall(@Nonnull UUID processCode, ApiCallback _callback) throws ApiException Build call for cancelPackCalculation- Parameters:
processCode- Unique process identifier. (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 204 Calculation successfully canceled - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
cancelPackCalculation
Cancel calculation Cancel calculation process by the calculation identifier.- Parameters:
processCode- Unique process identifier. (required)- 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 204 Calculation successfully canceled - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
cancelPackCalculationWithHttpInfo
public ApiResponse<Void> cancelPackCalculationWithHttpInfo(@Nonnull UUID processCode) throws ApiException Cancel calculation Cancel calculation process by the calculation identifier.- Parameters:
processCode- Unique process identifier. (required)- Returns:
- ApiResponse<Void>
- 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 204 Calculation successfully canceled - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
cancelPackCalculationAsync
public okhttp3.Call cancelPackCalculationAsync(@Nonnull UUID processCode, ApiCallback<Void> _callback) throws ApiException Cancel calculation (asynchronously) Cancel calculation process by the calculation identifier.- Parameters:
processCode- Unique process identifier. (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 204 Calculation successfully canceled - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
deletePackResultCall
public okhttp3.Call deletePackResultCall(@Nonnull UUID processCode, ApiCallback _callback) throws ApiException Build call for deletePackResult- Parameters:
processCode- Unique process identifier. (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 204 Successful execution - calculation result deleted - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
deletePackResult
Result removal Removal of the planning result by the calculation identifier.- Parameters:
processCode- Unique process identifier. (required)- 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 204 Successful execution - calculation result deleted - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
deletePackResultWithHttpInfo
public ApiResponse<Void> deletePackResultWithHttpInfo(@Nonnull UUID processCode) throws ApiException Result removal Removal of the planning result by the calculation identifier.- Parameters:
processCode- Unique process identifier. (required)- Returns:
- ApiResponse<Void>
- 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 204 Successful execution - calculation result deleted - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
deletePackResultAsync
public okhttp3.Call deletePackResultAsync(@Nonnull UUID processCode, ApiCallback<Void> _callback) throws ApiException Result removal (asynchronously) Removal of the planning result by the calculation identifier.- Parameters:
processCode- Unique process identifier. (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 204 Successful execution - calculation result deleted - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
readPackResultCall
public okhttp3.Call readPackResultCall(@Nonnull UUID processCode, ApiCallback _callback) throws ApiException Build call for readPackResult- Parameters:
processCode- Unique process identifier. (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 Calculation completed successfully - 202 Calculation in progress, intermediate results returned - 299 Calculation completed, problems encountered during the calculation process - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
readPackResult
Getting the result Getting the result based on the calculation identifier.- Parameters:
processCode- Unique process identifier. (required)- Returns:
- PackResult
- 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 Calculation completed successfully - 202 Calculation in progress, intermediate results returned - 299 Calculation completed, problems encountered during the calculation process - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
readPackResultWithHttpInfo
public ApiResponse<PackResult> readPackResultWithHttpInfo(@Nonnull UUID processCode) throws ApiException Getting the result Getting the result based on the calculation identifier.- Parameters:
processCode- Unique process identifier. (required)- Returns:
- ApiResponse<PackResult>
- 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 Calculation completed successfully - 202 Calculation in progress, intermediate results returned - 299 Calculation completed, problems encountered during the calculation process - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
readPackResultAsync
public okhttp3.Call readPackResultAsync(@Nonnull UUID processCode, ApiCallback<PackResult> _callback) throws ApiException Getting the result (asynchronously) Getting the result based on the calculation identifier.- Parameters:
processCode- Unique process identifier. (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 Calculation completed successfully - 202 Calculation in progress, intermediate results returned - 299 Calculation completed, problems encountered during the calculation process - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
readPackStateCall
public okhttp3.Call readPackStateCall(@Nonnull UUID processCode, ApiCallback _callback) throws ApiException Build call for readPackState- Parameters:
processCode- Unique process identifier. (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 Calculation completed successfully - 202 Calculation in progress, intermediate results returned - 299 Calculation completed, problems encountered during the calculation process - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
readPackState
Calculation state Read calculation state by the calculation identifier.- Parameters:
processCode- Unique process identifier. (required)- Returns:
- CalculationState
- 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 Calculation completed successfully - 202 Calculation in progress, intermediate results returned - 299 Calculation completed, problems encountered during the calculation process - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
readPackStateWithHttpInfo
public ApiResponse<CalculationState> readPackStateWithHttpInfo(@Nonnull UUID processCode) throws ApiException Calculation state Read calculation state by the calculation identifier.- Parameters:
processCode- Unique process identifier. (required)- Returns:
- ApiResponse<CalculationState>
- 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 Calculation completed successfully - 202 Calculation in progress, intermediate results returned - 299 Calculation completed, problems encountered during the calculation process - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
readPackStateAsync
public okhttp3.Call readPackStateAsync(@Nonnull UUID processCode, ApiCallback<CalculationState> _callback) throws ApiException Calculation state (asynchronously) Read calculation state by the calculation identifier.- Parameters:
processCode- Unique process identifier. (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 Calculation completed successfully - 202 Calculation in progress, intermediate results returned - 299 Calculation completed, problems encountered during the calculation process - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
runPackCalculationCall
public okhttp3.Call runPackCalculationCall(@Nonnull PackTask packTask, ApiCallback _callback) throws ApiException Build call for runPackCalculation- Parameters:
packTask- Data for calculation. (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 Calculation completed successfully - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
runPackCalculation
Packing (SYNC) Planning the optimal package.- Parameters:
packTask- Data for calculation. (required)- Returns:
- PackResult
- 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 Calculation completed successfully - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
runPackCalculationWithHttpInfo
public ApiResponse<PackResult> runPackCalculationWithHttpInfo(@Nonnull PackTask packTask) throws ApiException Packing (SYNC) Planning the optimal package.- Parameters:
packTask- Data for calculation. (required)- Returns:
- ApiResponse<PackResult>
- 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 Calculation completed successfully - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
runPackCalculationAsync
public okhttp3.Call runPackCalculationAsync(@Nonnull PackTask packTask, ApiCallback<PackResult> _callback) throws ApiException Packing (SYNC) (asynchronously) Planning the optimal package.- Parameters:
packTask- Data for calculation. (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 Calculation completed successfully - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
runPackCalculationAsyncCall
public okhttp3.Call runPackCalculationAsyncCall(@Nonnull PackTask packTask, ApiCallback _callback) throws ApiException Build call for runPackCalculationAsync- Parameters:
packTask- Data for calculation. (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 The calculation was successfully added to the queue - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
runPackCalculationAsync
public CalculationAsyncResult runPackCalculationAsync(@Nonnull PackTask packTask) throws ApiException Packing The result can be obtained using the [result](#/pack/read_pack_result) method, removing - with [delete](#/pack/delete_pack_result).- Parameters:
packTask- Data for calculation. (required)- Returns:
- CalculationAsyncResult
- 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 The calculation was successfully added to the queue - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
runPackCalculationAsyncWithHttpInfo
public ApiResponse<CalculationAsyncResult> runPackCalculationAsyncWithHttpInfo(@Nonnull PackTask packTask) throws ApiException Packing The result can be obtained using the [result](#/pack/read_pack_result) method, removing - with [delete](#/pack/delete_pack_result).- Parameters:
packTask- Data for calculation. (required)- Returns:
- ApiResponse<CalculationAsyncResult>
- 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 The calculation was successfully added to the queue - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
runPackCalculationAsyncAsync
public okhttp3.Call runPackCalculationAsyncAsync(@Nonnull PackTask packTask, ApiCallback<CalculationAsyncResult> _callback) throws ApiException Packing (asynchronously) The result can be obtained using the [result](#/pack/read_pack_result) method, removing - with [delete](#/pack/delete_pack_result).- Parameters:
packTask- Data for calculation. (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 The calculation was successfully added to the queue - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
runPackValidationCall
public okhttp3.Call runPackValidationCall(@Nonnull PackTask packTask, ApiCallback _callback) throws ApiException Build call for runPackValidation- Parameters:
packTask- Data for calculation. (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 Data validation completed successfully - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
runPackValidation
Data validation Checking data before planning.- Parameters:
packTask- Data for calculation. (required)- Returns:
- PackerValidateResult
- 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 Data validation completed successfully - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
runPackValidationWithHttpInfo
public ApiResponse<PackerValidateResult> runPackValidationWithHttpInfo(@Nonnull PackTask packTask) throws ApiException Data validation Checking data before planning.- Parameters:
packTask- Data for calculation. (required)- Returns:
- ApiResponse<PackerValidateResult>
- 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 Data validation completed successfully - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-
runPackValidationAsync
public okhttp3.Call runPackValidationAsync(@Nonnull PackTask packTask, ApiCallback<PackerValidateResult> _callback) throws ApiException Data validation (asynchronously) Checking data before planning.- Parameters:
packTask- Data for calculation. (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 Data validation completed successfully - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 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 -
-