Package com.veeroute.lss.universal.api
Class PlanApi
java.lang.Object
com.veeroute.lss.universal.api.PlanApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancelPlanCalculation(UUID processCode) Cancel calculation Cancel calculation by the calculation identifier.okhttp3.CallcancelPlanCalculationAsync(UUID processCode, ApiCallback<Void> _callback) Cancel calculation (asynchronously) Cancel calculation by the calculation identifier.okhttp3.CallcancelPlanCalculationCall(UUID processCode, ApiCallback _callback) Build call for cancelPlanCalculationcancelPlanCalculationWithHttpInfo(UUID processCode) Cancel calculation Cancel calculation by the calculation identifier.voiddeletePlanResult(UUID processCode) Result removal Removal of the planning result by the calculation identifier.okhttp3.CalldeletePlanResultAsync(UUID processCode, ApiCallback<Void> _callback) Result removal (asynchronously) Removal of the planning result by the calculation identifier.okhttp3.CalldeletePlanResultCall(UUID processCode, ApiCallback _callback) Build call for deletePlanResultdeletePlanResultWithHttpInfo(UUID processCode) Result removal Removal of the planning result by the calculation identifier.generatePlanStatistics(StatisticsTask statisticsTask) Calculation of statistics on trips Calculation of statistics for existing tripsokhttp3.CallgeneratePlanStatisticsAsync(StatisticsTask statisticsTask, ApiCallback<PlanResult> _callback) Calculation of statistics on trips (asynchronously) Calculation of statistics for existing tripsokhttp3.CallgeneratePlanStatisticsCall(StatisticsTask statisticsTask, ApiCallback _callback) Build call for generatePlanStatisticsgeneratePlanStatisticsWithHttpInfo(StatisticsTask statisticsTask) Calculation of statistics on trips Calculation of statistics for existing tripsintreadPlanResult(UUID processCode) Getting the result Getting the planning result based on the calculation identifier.okhttp3.CallreadPlanResultAsync(UUID processCode, ApiCallback<PlanResult> _callback) Getting the result (asynchronously) Getting the planning result based on the calculation identifier.okhttp3.CallreadPlanResultCall(UUID processCode, ApiCallback _callback) Build call for readPlanResultreadPlanResultWithHttpInfo(UUID processCode) Getting the result Getting the planning result based on the calculation identifier.readPlanState(UUID processCode) Calculation state Read calculation state by the calculation identifier.okhttp3.CallreadPlanStateAsync(UUID processCode, ApiCallback<CalculationState> _callback) Calculation state (asynchronously) Read calculation state by the calculation identifier.okhttp3.CallreadPlanStateCall(UUID processCode, ApiCallback _callback) Build call for readPlanStatereadPlanStateWithHttpInfo(UUID processCode) Calculation state Read calculation state by the calculation identifier.runPlanCalculation(PlanTask planTask) Planning (SYNC) Sync method for trip planning.runPlanCalculationAsync(PlanTask planTask) Planning Starting trip planning - after loading and checking the data, the `process_code` is returned.okhttp3.CallrunPlanCalculationAsync(PlanTask planTask, ApiCallback<PlanResult> _callback) Planning (SYNC) (asynchronously) Sync method for trip planning.okhttp3.CallrunPlanCalculationAsyncAsync(PlanTask planTask, ApiCallback<CalculationAsyncResult> _callback) Planning (asynchronously) Starting trip planning - after loading and checking the data, the `process_code` is returned.okhttp3.CallrunPlanCalculationAsyncCall(PlanTask planTask, ApiCallback _callback) Build call for runPlanCalculationAsyncrunPlanCalculationAsyncWithHttpInfo(PlanTask planTask) Planning Starting trip planning - after loading and checking the data, the `process_code` is returned.okhttp3.CallrunPlanCalculationCall(PlanTask planTask, ApiCallback _callback) Build call for runPlanCalculationrunPlanCalculationWithHttpInfo(PlanTask planTask) Planning (SYNC) Sync method for trip planning.runPlanRefine(PlanTask planTask, Boolean removeLocations) Data refine Cleaning up data for planning before calculation - entities that cannot participate in planning are removed from the original dataset: * Locations that no one references (depending on the `remove_locations` flag) * Orders that no performer can fulfill * Performers and transport that cannot fulfill any orderokhttp3.CallrunPlanRefineAsync(PlanTask planTask, Boolean removeLocations, ApiCallback<RefineResult> _callback) Data refine (asynchronously) Cleaning up data for planning before calculation - entities that cannot participate in planning are removed from the original dataset: * Locations that no one references (depending on the `remove_locations` flag) * Orders that no performer can fulfill * Performers and transport that cannot fulfill any orderokhttp3.CallrunPlanRefineCall(PlanTask planTask, Boolean removeLocations, ApiCallback _callback) Build call for runPlanRefinerunPlanRefineWithHttpInfo(PlanTask planTask, Boolean removeLocations) Data refine Cleaning up data for planning before calculation - entities that cannot participate in planning are removed from the original dataset: * Locations that no one references (depending on the `remove_locations` flag) * Orders that no performer can fulfill * Performers and transport that cannot fulfill any orderrunPlanValidation(PlanTask planTask) Data validation Check data before using.okhttp3.CallrunPlanValidationAsync(PlanTask planTask, ApiCallback<ValidateResult> _callback) Data validation (asynchronously) Check data before using.okhttp3.CallrunPlanValidationCall(PlanTask planTask, ApiCallback _callback) Build call for runPlanValidationrunPlanValidationWithHttpInfo(PlanTask planTask) Data validation Check data before using.voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
PlanApi
public PlanApi() -
PlanApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
cancelPlanCalculationCall
public okhttp3.Call cancelPlanCalculationCall(@Nonnull UUID processCode, ApiCallback _callback) throws ApiException Build call for cancelPlanCalculation- 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 -
-
cancelPlanCalculation
Cancel calculation Cancel calculation 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 -
-
cancelPlanCalculationWithHttpInfo
public ApiResponse<Void> cancelPlanCalculationWithHttpInfo(@Nonnull UUID processCode) throws ApiException Cancel calculation Cancel calculation 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 -
-
cancelPlanCalculationAsync
public okhttp3.Call cancelPlanCalculationAsync(@Nonnull UUID processCode, ApiCallback<Void> _callback) throws ApiException Cancel calculation (asynchronously) Cancel calculation 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 -
-
deletePlanResultCall
public okhttp3.Call deletePlanResultCall(@Nonnull UUID processCode, ApiCallback _callback) throws ApiException Build call for deletePlanResult- 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 -
-
deletePlanResult
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 -
-
deletePlanResultWithHttpInfo
public ApiResponse<Void> deletePlanResultWithHttpInfo(@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 -
-
deletePlanResultAsync
public okhttp3.Call deletePlanResultAsync(@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 -
-
generatePlanStatisticsCall
public okhttp3.Call generatePlanStatisticsCall(@Nonnull StatisticsTask statisticsTask, ApiCallback _callback) throws ApiException Build call for generatePlanStatistics- Parameters:
statisticsTask- New request. (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 -
-
generatePlanStatistics
public PlanResult generatePlanStatistics(@Nonnull StatisticsTask statisticsTask) throws ApiException Calculation of statistics on trips Calculation of statistics for existing trips- Parameters:
statisticsTask- New request. (required)- Returns:
- PlanResult
- 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 -
-
generatePlanStatisticsWithHttpInfo
public ApiResponse<PlanResult> generatePlanStatisticsWithHttpInfo(@Nonnull StatisticsTask statisticsTask) throws ApiException Calculation of statistics on trips Calculation of statistics for existing trips- Parameters:
statisticsTask- New request. (required)- Returns:
- ApiResponse<PlanResult>
- 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 -
-
generatePlanStatisticsAsync
public okhttp3.Call generatePlanStatisticsAsync(@Nonnull StatisticsTask statisticsTask, ApiCallback<PlanResult> _callback) throws ApiException Calculation of statistics on trips (asynchronously) Calculation of statistics for existing trips- Parameters:
statisticsTask- New request. (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 -
-
readPlanResultCall
public okhttp3.Call readPlanResultCall(@Nonnull UUID processCode, ApiCallback _callback) throws ApiException Build call for readPlanResult- 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 -
-
readPlanResult
Getting the result Getting the planning result based on the calculation identifier.- Parameters:
processCode- Unique process identifier. (required)- Returns:
- PlanResult
- 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 -
-
readPlanResultWithHttpInfo
public ApiResponse<PlanResult> readPlanResultWithHttpInfo(@Nonnull UUID processCode) throws ApiException Getting the result Getting the planning result based on the calculation identifier.- Parameters:
processCode- Unique process identifier. (required)- Returns:
- ApiResponse<PlanResult>
- 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 -
-
readPlanResultAsync
public okhttp3.Call readPlanResultAsync(@Nonnull UUID processCode, ApiCallback<PlanResult> _callback) throws ApiException Getting the result (asynchronously) Getting the planning 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 -
-
readPlanStateCall
public okhttp3.Call readPlanStateCall(@Nonnull UUID processCode, ApiCallback _callback) throws ApiException Build call for readPlanState- 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 -
-
readPlanState
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 -
-
readPlanStateWithHttpInfo
public ApiResponse<CalculationState> readPlanStateWithHttpInfo(@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 -
-
readPlanStateAsync
public okhttp3.Call readPlanStateAsync(@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 -
-
runPlanCalculationCall
public okhttp3.Call runPlanCalculationCall(@Nonnull PlanTask planTask, ApiCallback _callback) throws ApiException Build call for runPlanCalculation- Parameters:
planTask- New planning request. (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 -
-
runPlanCalculation
Planning (SYNC) Sync method for trip planning. Use only for testing and manual plannings. For production use [async method](#/plan/run_plan_calculation_async).- Parameters:
planTask- New planning request. (required)- Returns:
- PlanResult
- 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 -
-
runPlanCalculationWithHttpInfo
public ApiResponse<PlanResult> runPlanCalculationWithHttpInfo(@Nonnull PlanTask planTask) throws ApiException Planning (SYNC) Sync method for trip planning. Use only for testing and manual plannings. For production use [async method](#/plan/run_plan_calculation_async).- Parameters:
planTask- New planning request. (required)- Returns:
- ApiResponse<PlanResult>
- 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 -
-
runPlanCalculationAsync
public okhttp3.Call runPlanCalculationAsync(@Nonnull PlanTask planTask, ApiCallback<PlanResult> _callback) throws ApiException Planning (SYNC) (asynchronously) Sync method for trip planning. Use only for testing and manual plannings. For production use [async method](#/plan/run_plan_calculation_async).- Parameters:
planTask- New planning request. (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 -
-
runPlanCalculationAsyncCall
public okhttp3.Call runPlanCalculationAsyncCall(@Nonnull PlanTask planTask, ApiCallback _callback) throws ApiException Build call for runPlanCalculationAsync- Parameters:
planTask- Launching the asynchronous planning. (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 -
-
runPlanCalculationAsync
public CalculationAsyncResult runPlanCalculationAsync(@Nonnull PlanTask planTask) throws ApiException Planning Starting trip planning - after loading and checking the data, the `process_code` is returned. Using the `process_code`, you can find out [calculation state](#/plan/read_plan_state) and [get result](#/plan/read_plan_result), and also [cancel calculation](#/plan/cancel_plan_calculation) and [delete temporary data](#/plan/delete_plan_result) (otherwise they will be automatically deleted according to the ttl specified in the calculation settings).- Parameters:
planTask- Launching the asynchronous planning. (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 -
-
runPlanCalculationAsyncWithHttpInfo
public ApiResponse<CalculationAsyncResult> runPlanCalculationAsyncWithHttpInfo(@Nonnull PlanTask planTask) throws ApiException Planning Starting trip planning - after loading and checking the data, the `process_code` is returned. Using the `process_code`, you can find out [calculation state](#/plan/read_plan_state) and [get result](#/plan/read_plan_result), and also [cancel calculation](#/plan/cancel_plan_calculation) and [delete temporary data](#/plan/delete_plan_result) (otherwise they will be automatically deleted according to the ttl specified in the calculation settings).- Parameters:
planTask- Launching the asynchronous planning. (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 -
-
runPlanCalculationAsyncAsync
public okhttp3.Call runPlanCalculationAsyncAsync(@Nonnull PlanTask planTask, ApiCallback<CalculationAsyncResult> _callback) throws ApiException Planning (asynchronously) Starting trip planning - after loading and checking the data, the `process_code` is returned. Using the `process_code`, you can find out [calculation state](#/plan/read_plan_state) and [get result](#/plan/read_plan_result), and also [cancel calculation](#/plan/cancel_plan_calculation) and [delete temporary data](#/plan/delete_plan_result) (otherwise they will be automatically deleted according to the ttl specified in the calculation settings).- Parameters:
planTask- Launching the asynchronous planning. (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 -
-
runPlanRefineCall
public okhttp3.Call runPlanRefineCall(@Nonnull PlanTask planTask, @Nullable Boolean removeLocations, ApiCallback _callback) throws ApiException Build call for runPlanRefine- Parameters:
planTask- Data for refine. (required)removeLocations- Flag responsible for deleting a location when cleaning data. If `true` is specified, locations that are not referenced by any entity in the dataset are deleted. (optional, default to false)_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 Refine 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 -
-
runPlanRefine
public RefineResult runPlanRefine(@Nonnull PlanTask planTask, @Nullable Boolean removeLocations) throws ApiException Data refine Cleaning up data for planning before calculation - entities that cannot participate in planning are removed from the original dataset: * Locations that no one references (depending on the `remove_locations` flag) * Orders that no performer can fulfill * Performers and transport that cannot fulfill any order- Parameters:
planTask- Data for refine. (required)removeLocations- Flag responsible for deleting a location when cleaning data. If `true` is specified, locations that are not referenced by any entity in the dataset are deleted. (optional, default to false)- Returns:
- RefineResult
- 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 Refine 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 -
-
runPlanRefineWithHttpInfo
public ApiResponse<RefineResult> runPlanRefineWithHttpInfo(@Nonnull PlanTask planTask, @Nullable Boolean removeLocations) throws ApiException Data refine Cleaning up data for planning before calculation - entities that cannot participate in planning are removed from the original dataset: * Locations that no one references (depending on the `remove_locations` flag) * Orders that no performer can fulfill * Performers and transport that cannot fulfill any order- Parameters:
planTask- Data for refine. (required)removeLocations- Flag responsible for deleting a location when cleaning data. If `true` is specified, locations that are not referenced by any entity in the dataset are deleted. (optional, default to false)- Returns:
- ApiResponse<RefineResult>
- 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 Refine 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 -
-
runPlanRefineAsync
public okhttp3.Call runPlanRefineAsync(@Nonnull PlanTask planTask, @Nullable Boolean removeLocations, ApiCallback<RefineResult> _callback) throws ApiException Data refine (asynchronously) Cleaning up data for planning before calculation - entities that cannot participate in planning are removed from the original dataset: * Locations that no one references (depending on the `remove_locations` flag) * Orders that no performer can fulfill * Performers and transport that cannot fulfill any order- Parameters:
planTask- Data for refine. (required)removeLocations- Flag responsible for deleting a location when cleaning data. If `true` is specified, locations that are not referenced by any entity in the dataset are deleted. (optional, default to false)_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 Refine 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 -
-
runPlanValidationCall
public okhttp3.Call runPlanValidationCall(@Nonnull PlanTask planTask, ApiCallback _callback) throws ApiException Build call for runPlanValidation- Parameters:
planTask- Data for validation. (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 -
-
runPlanValidation
Data validation Check data before using.- Parameters:
planTask- Data for validation. (required)- Returns:
- ValidateResult
- 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 -
-
runPlanValidationWithHttpInfo
public ApiResponse<ValidateResult> runPlanValidationWithHttpInfo(@Nonnull PlanTask planTask) throws ApiException Data validation Check data before using.- Parameters:
planTask- Data for validation. (required)- Returns:
- ApiResponse<ValidateResult>
- 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 -
-
runPlanValidationAsync
public okhttp3.Call runPlanValidationAsync(@Nonnull PlanTask planTask, ApiCallback<ValidateResult> _callback) throws ApiException Data validation (asynchronously) Check data before using.- Parameters:
planTask- Data for validation. (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 -
-