Class ReplanApi

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

public class ReplanApi extends Object
  • Constructor Details

    • ReplanApi

      public ReplanApi()
    • ReplanApi

      public ReplanApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl(String customBaseUrl)
    • cancelReplanCalculationCall

      public okhttp3.Call cancelReplanCalculationCall(@Nonnull UUID processCode, ApiCallback _callback) throws ApiException
      Build call for cancelReplanCalculation
      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 -
    • cancelReplanCalculation

      public void cancelReplanCalculation(@Nonnull UUID processCode) throws ApiException
      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 -
    • cancelReplanCalculationWithHttpInfo

      public ApiResponse<Void> cancelReplanCalculationWithHttpInfo(@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 -
    • cancelReplanCalculationAsync

      public okhttp3.Call cancelReplanCalculationAsync(@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 -
    • deleteReplanResultCall

      public okhttp3.Call deleteReplanResultCall(@Nonnull UUID processCode, ApiCallback _callback) throws ApiException
      Build call for deleteReplanResult
      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 -
    • deleteReplanResult

      public void deleteReplanResult(@Nonnull UUID processCode) throws ApiException
      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 -
    • deleteReplanResultWithHttpInfo

      public ApiResponse<Void> deleteReplanResultWithHttpInfo(@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 -
    • deleteReplanResultAsync

      public okhttp3.Call deleteReplanResultAsync(@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 -
    • generateReplanStatisticsCall

      public okhttp3.Call generateReplanStatisticsCall(@Nonnull ReplanTask replanTask, ApiCallback _callback) throws ApiException
      Build call for generateReplanStatistics
      Parameters:
      replanTask - 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 Recalculation 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 -
    • generateReplanStatistics

      public ReplanResult generateReplanStatistics(@Nonnull ReplanTask replanTask) throws ApiException
      Recalculation of statistics on trips Recalculation of statistics for existing trips taking into account the facts that have occurred
      Parameters:
      replanTask - New request. (required)
      Returns:
      ReplanResult
      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 Recalculation 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 -
    • generateReplanStatisticsWithHttpInfo

      public ApiResponse<ReplanResult> generateReplanStatisticsWithHttpInfo(@Nonnull ReplanTask replanTask) throws ApiException
      Recalculation of statistics on trips Recalculation of statistics for existing trips taking into account the facts that have occurred
      Parameters:
      replanTask - New request. (required)
      Returns:
      ApiResponse<ReplanResult>
      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 Recalculation 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 -
    • generateReplanStatisticsAsync

      public okhttp3.Call generateReplanStatisticsAsync(@Nonnull ReplanTask replanTask, ApiCallback<ReplanResult> _callback) throws ApiException
      Recalculation of statistics on trips (asynchronously) Recalculation of statistics for existing trips taking into account the facts that have occurred
      Parameters:
      replanTask - 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 Recalculation 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 -
    • readReplanResultCall

      public okhttp3.Call readReplanResultCall(@Nonnull UUID processCode, ApiCallback _callback) throws ApiException
      Build call for readReplanResult
      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 -
    • readReplanResult

      public ReplanResult readReplanResult(@Nonnull UUID processCode) throws ApiException
      Getting the result Getting the replanning result based on the calculation identifier.
      Parameters:
      processCode - Unique process identifier. (required)
      Returns:
      ReplanResult
      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 -
    • readReplanResultWithHttpInfo

      public ApiResponse<ReplanResult> readReplanResultWithHttpInfo(@Nonnull UUID processCode) throws ApiException
      Getting the result Getting the replanning result based on the calculation identifier.
      Parameters:
      processCode - Unique process identifier. (required)
      Returns:
      ApiResponse<ReplanResult>
      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 -
    • readReplanResultAsync

      public okhttp3.Call readReplanResultAsync(@Nonnull UUID processCode, ApiCallback<ReplanResult> _callback) throws ApiException
      Getting the result (asynchronously) Getting the replanning 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 -
    • readReplanStateCall

      public okhttp3.Call readReplanStateCall(@Nonnull UUID processCode, ApiCallback _callback) throws ApiException
      Build call for readReplanState
      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 -
    • readReplanState

      public CalculationState readReplanState(@Nonnull UUID processCode) throws ApiException
      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 -
    • readReplanStateWithHttpInfo

      public ApiResponse<CalculationState> readReplanStateWithHttpInfo(@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 -
    • readReplanStateAsync

      public okhttp3.Call readReplanStateAsync(@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 -
    • runReplanCalculationCall

      public okhttp3.Call runReplanCalculationCall(@Nonnull ReplanTask replanTask, ApiCallback _callback) throws ApiException
      Build call for runReplanCalculation
      Parameters:
      replanTask - New replanning 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 -
    • runReplanCalculation

      public ReplanResult runReplanCalculation(@Nonnull ReplanTask replanTask) throws ApiException
      Replanning (SYNC) Sync method for trips replanning. Use only for testing and manual plannings. For production use [async method](#/replan/run_replan_calculation_async).
      Parameters:
      replanTask - New replanning request. (required)
      Returns:
      ReplanResult
      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 -
    • runReplanCalculationWithHttpInfo

      public ApiResponse<ReplanResult> runReplanCalculationWithHttpInfo(@Nonnull ReplanTask replanTask) throws ApiException
      Replanning (SYNC) Sync method for trips replanning. Use only for testing and manual plannings. For production use [async method](#/replan/run_replan_calculation_async).
      Parameters:
      replanTask - New replanning request. (required)
      Returns:
      ApiResponse<ReplanResult>
      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 -
    • runReplanCalculationAsync

      public okhttp3.Call runReplanCalculationAsync(@Nonnull ReplanTask replanTask, ApiCallback<ReplanResult> _callback) throws ApiException
      Replanning (SYNC) (asynchronously) Sync method for trips replanning. Use only for testing and manual plannings. For production use [async method](#/replan/run_replan_calculation_async).
      Parameters:
      replanTask - New replanning 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 -
    • runReplanCalculationAsyncCall

      public okhttp3.Call runReplanCalculationAsyncCall(@Nonnull ReplanTask replanTask, ApiCallback _callback) throws ApiException
      Build call for runReplanCalculationAsync
      Parameters:
      replanTask - Launching the asynchronous replanning. (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 -
    • runReplanCalculationAsync

      public CalculationAsyncResult runReplanCalculationAsync(@Nonnull ReplanTask replanTask) throws ApiException
      Replanning Starting trip replanning - changing existing and creating new trips based on the facts and data about orders, performers and transport. After loading and checking the data, the `process_code` is returned. Using the `process_code`, you can find out [calculation state](#/replan/read_replan_state) and [get result](#/replan/read_replan_result), and also [cancel calculation](#/replan/cancel_replan_calculation) and [delete temporary data](#/replan/delete_replan_result) (otherwise they will be automatically deleted according to the ttl specified in the calculation settings). An replan task can be transformed into a plan task using [data processing](#/replan/run_replan_refine).
      Parameters:
      replanTask - Launching the asynchronous replanning. (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 -
    • runReplanCalculationAsyncWithHttpInfo

      public ApiResponse<CalculationAsyncResult> runReplanCalculationAsyncWithHttpInfo(@Nonnull ReplanTask replanTask) throws ApiException
      Replanning Starting trip replanning - changing existing and creating new trips based on the facts and data about orders, performers and transport. After loading and checking the data, the `process_code` is returned. Using the `process_code`, you can find out [calculation state](#/replan/read_replan_state) and [get result](#/replan/read_replan_result), and also [cancel calculation](#/replan/cancel_replan_calculation) and [delete temporary data](#/replan/delete_replan_result) (otherwise they will be automatically deleted according to the ttl specified in the calculation settings). An replan task can be transformed into a plan task using [data processing](#/replan/run_replan_refine).
      Parameters:
      replanTask - Launching the asynchronous replanning. (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 -
    • runReplanCalculationAsyncAsync

      public okhttp3.Call runReplanCalculationAsyncAsync(@Nonnull ReplanTask replanTask, ApiCallback<CalculationAsyncResult> _callback) throws ApiException
      Replanning (asynchronously) Starting trip replanning - changing existing and creating new trips based on the facts and data about orders, performers and transport. After loading and checking the data, the `process_code` is returned. Using the `process_code`, you can find out [calculation state](#/replan/read_replan_state) and [get result](#/replan/read_replan_result), and also [cancel calculation](#/replan/cancel_replan_calculation) and [delete temporary data](#/replan/delete_replan_result) (otherwise they will be automatically deleted according to the ttl specified in the calculation settings). An replan task can be transformed into a plan task using [data processing](#/replan/run_replan_refine).
      Parameters:
      replanTask - Launching the asynchronous replanning. (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 -
    • runReplanRefineCall

      public okhttp3.Call runReplanRefineCall(@Nonnull ReplanTask replanTask, @Nullable Boolean removeLocations, ApiCallback _callback) throws ApiException
      Build call for runReplanRefine
      Parameters:
      replanTask - 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 -
    • runReplanRefine

      public RefineResult runReplanRefine(@Nonnull ReplanTask replanTask, @Nullable Boolean removeLocations) throws ApiException
      Data refine Cleaning up data for re-planning before calculation: * If one entity is referenced by several facts, only the latest one by the time field is taken into account; if the time is the same, a random one is taken into account. * All facts that occurred later than `actualize_settings.current_time` are deleted. * If `plan_new_orders: false` is specified - all orders that are not in the specified trips are removed from the original task. * If `create_new_trips: false` is specified - all performers and transport that are not in the specified trips are removed from the original task, and unplanned shifts of performers and transport that are in the specified trips are also removed. * Afterwards, [cleaning up data for planning](#/plan/run_plan_refine) is performed. As a result, a task for planning is returned.
      Parameters:
      replanTask - 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 -
    • runReplanRefineWithHttpInfo

      public ApiResponse<RefineResult> runReplanRefineWithHttpInfo(@Nonnull ReplanTask replanTask, @Nullable Boolean removeLocations) throws ApiException
      Data refine Cleaning up data for re-planning before calculation: * If one entity is referenced by several facts, only the latest one by the time field is taken into account; if the time is the same, a random one is taken into account. * All facts that occurred later than `actualize_settings.current_time` are deleted. * If `plan_new_orders: false` is specified - all orders that are not in the specified trips are removed from the original task. * If `create_new_trips: false` is specified - all performers and transport that are not in the specified trips are removed from the original task, and unplanned shifts of performers and transport that are in the specified trips are also removed. * Afterwards, [cleaning up data for planning](#/plan/run_plan_refine) is performed. As a result, a task for planning is returned.
      Parameters:
      replanTask - 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 -
    • runReplanRefineAsync

      public okhttp3.Call runReplanRefineAsync(@Nonnull ReplanTask replanTask, @Nullable Boolean removeLocations, ApiCallback<RefineResult> _callback) throws ApiException
      Data refine (asynchronously) Cleaning up data for re-planning before calculation: * If one entity is referenced by several facts, only the latest one by the time field is taken into account; if the time is the same, a random one is taken into account. * All facts that occurred later than `actualize_settings.current_time` are deleted. * If `plan_new_orders: false` is specified - all orders that are not in the specified trips are removed from the original task. * If `create_new_trips: false` is specified - all performers and transport that are not in the specified trips are removed from the original task, and unplanned shifts of performers and transport that are in the specified trips are also removed. * Afterwards, [cleaning up data for planning](#/plan/run_plan_refine) is performed. As a result, a task for planning is returned.
      Parameters:
      replanTask - 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 -
    • runReplanValidationCall

      public okhttp3.Call runReplanValidationCall(@Nonnull ReplanTask replanTask, ApiCallback _callback) throws ApiException
      Build call for runReplanValidation
      Parameters:
      replanTask - 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 -
    • runReplanValidation

      public ValidateResult runReplanValidation(@Nonnull ReplanTask replanTask) throws ApiException
      Data validation Check data before using.
      Parameters:
      replanTask - 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 -
    • runReplanValidationWithHttpInfo

      public ApiResponse<ValidateResult> runReplanValidationWithHttpInfo(@Nonnull ReplanTask replanTask) throws ApiException
      Data validation Check data before using.
      Parameters:
      replanTask - 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 -
    • runReplanValidationAsync

      public okhttp3.Call runReplanValidationAsync(@Nonnull ReplanTask replanTask, ApiCallback<ValidateResult> _callback) throws ApiException
      Data validation (asynchronously) Check data before using.
      Parameters:
      replanTask - 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 -