Class PlanApi

java.lang.Object
com.veeroute.lss.agro.api.PlanApi

public class PlanApi extends Object
  • Constructor Details

    • PlanApi

      public PlanApi()
    • PlanApi

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

      public void cancelPlanCalculation(@Nonnull UUID processCode) throws ApiException
      Cancel calculation Cancel calculation process by the calculation identifier.
      Parameters:
      processCode - Unique process identifier. (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      204 Calculation successfully canceled -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      404 Not found -
      405 Method not allowed, check method (POST, GET, ...) -
      406 Client is unable to process a format of response, check headers -
      415 Unsupported media type, check headers -
      429 Too many requests -
      431 Request header fields too large -
      500 Internal server error -
      501 Not implemented -
      502 Bad gateway -
      503 Service unavailable -
      504 Gateway timeout -
      0 Service unavailable -
    • cancelPlanCalculationWithHttpInfo

      public ApiResponse<Void> cancelPlanCalculationWithHttpInfo(@Nonnull UUID processCode) throws ApiException
      Cancel calculation Cancel calculation process by the calculation identifier.
      Parameters:
      processCode - Unique process identifier. (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      204 Calculation successfully canceled -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      404 Not found -
      405 Method not allowed, check method (POST, GET, ...) -
      406 Client is unable to process a format of response, check headers -
      415 Unsupported media type, check headers -
      429 Too many requests -
      431 Request header fields too large -
      500 Internal server error -
      501 Not implemented -
      502 Bad gateway -
      503 Service unavailable -
      504 Gateway timeout -
      0 Service unavailable -
    • cancelPlanCalculationAsync

      public okhttp3.Call cancelPlanCalculationAsync(@Nonnull UUID processCode, ApiCallback<Void> _callback) throws ApiException
      Cancel calculation (asynchronously) Cancel calculation process by the calculation identifier.
      Parameters:
      processCode - Unique process identifier. (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      204 Calculation successfully canceled -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      404 Not found -
      405 Method not allowed, check method (POST, GET, ...) -
      406 Client is unable to process a format of response, check headers -
      415 Unsupported media type, check headers -
      429 Too many requests -
      431 Request header fields too large -
      500 Internal server error -
      501 Not implemented -
      502 Bad gateway -
      503 Service unavailable -
      504 Gateway timeout -
      0 Service unavailable -
    • 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

      public void deletePlanResult(@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 -
    • 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 -
    • readAlgoDataCall

      public okhttp3.Call readAlgoDataCall(@Nonnull UUID processCode, @Nullable FlowType dataFlowType, ApiCallback _callback) throws ApiException
      Build call for readAlgoData
      Parameters:
      processCode - Unique process identifier. (required)
      dataFlowType - Data flow type. (optional, default to INPUT)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful execution -
      400 Bad request - input data contains errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      403 Forbidden - no permission to execute this operation -
      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 -
    • readAlgoData

      public byte[] readAlgoData(@Nonnull UUID processCode, @Nullable FlowType dataFlowType) throws ApiException
      Algo data Receiving algo data by `tracedata.process_code`.
      Parameters:
      processCode - Unique process identifier. (required)
      dataFlowType - Data flow type. (optional, default to INPUT)
      Returns:
      byte[]
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful execution -
      400 Bad request - input data contains errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      403 Forbidden - no permission to execute this operation -
      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 -
    • readAlgoDataWithHttpInfo

      public ApiResponse<byte[]> readAlgoDataWithHttpInfo(@Nonnull UUID processCode, @Nullable FlowType dataFlowType) throws ApiException
      Algo data Receiving algo data by `tracedata.process_code`.
      Parameters:
      processCode - Unique process identifier. (required)
      dataFlowType - Data flow type. (optional, default to INPUT)
      Returns:
      ApiResponse<byte[]>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful execution -
      400 Bad request - input data contains errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      403 Forbidden - no permission to execute this operation -
      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 -
    • readAlgoDataAsync

      public okhttp3.Call readAlgoDataAsync(@Nonnull UUID processCode, @Nullable FlowType dataFlowType, ApiCallback<byte[]> _callback) throws ApiException
      Algo data (asynchronously) Receiving algo data by `tracedata.process_code`.
      Parameters:
      processCode - Unique process identifier. (required)
      dataFlowType - Data flow type. (optional, default to INPUT)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful execution -
      400 Bad request - input data contains errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      403 Forbidden - no permission to execute this operation -
      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

      public AgroPlanResult readPlanResult(@Nonnull UUID processCode) throws ApiException
      Getting the result Getting the result based on the calculation identifier.
      Parameters:
      processCode - Unique process identifier. (required)
      Returns:
      AgroPlanResult
      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<AgroPlanResult> readPlanResultWithHttpInfo(@Nonnull UUID processCode) throws ApiException
      Getting the result Getting the result based on the calculation identifier.
      Parameters:
      processCode - Unique process identifier. (required)
      Returns:
      ApiResponse<AgroPlanResult>
      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<AgroPlanResult> _callback) throws ApiException
      Getting the result (asynchronously) Getting the result based on the calculation identifier.
      Parameters:
      processCode - Unique process identifier. (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Calculation completed successfully -
      202 Calculation in progress, intermediate results returned -
      299 Calculation completed, problems encountered during the calculation process -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      404 Not found -
      405 Method not allowed, check method (POST, GET, ...) -
      406 Client is unable to process a format of response, check headers -
      415 Unsupported media type, check headers -
      429 Too many requests -
      431 Request header fields too large -
      500 Internal server error -
      501 Not implemented -
      502 Bad gateway -
      503 Service unavailable -
      504 Gateway timeout -
      0 Service unavailable -
    • 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

      public CalculationState readPlanState(@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 -
    • 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 AgroPlanTask agroPlanTask, ApiCallback _callback) throws ApiException
      Build call for runPlanCalculation
      Parameters:
      agroPlanTask - Data for calculation. (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Calculation completed successfully -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      404 Not found -
      405 Method not allowed, check method (POST, GET, ...) -
      406 Client is unable to process a format of response, check headers -
      415 Unsupported media type, check headers -
      429 Too many requests -
      431 Request header fields too large -
      500 Internal server error -
      501 Not implemented -
      502 Bad gateway -
      503 Service unavailable -
      504 Gateway timeout -
      0 Service unavailable -
    • runPlanCalculation

      public AgroPlanResult runPlanCalculation(@Nonnull AgroPlanTask agroPlanTask) throws ApiException
      Planning (SYNC) Production plan calculation.
      Parameters:
      agroPlanTask - Data for calculation. (required)
      Returns:
      AgroPlanResult
      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<AgroPlanResult> runPlanCalculationWithHttpInfo(@Nonnull AgroPlanTask agroPlanTask) throws ApiException
      Planning (SYNC) Production plan calculation.
      Parameters:
      agroPlanTask - Data for calculation. (required)
      Returns:
      ApiResponse<AgroPlanResult>
      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 AgroPlanTask agroPlanTask, ApiCallback<AgroPlanResult> _callback) throws ApiException
      Planning (SYNC) (asynchronously) Production plan calculation.
      Parameters:
      agroPlanTask - Data for calculation. (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Calculation completed successfully -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      404 Not found -
      405 Method not allowed, check method (POST, GET, ...) -
      406 Client is unable to process a format of response, check headers -
      415 Unsupported media type, check headers -
      429 Too many requests -
      431 Request header fields too large -
      500 Internal server error -
      501 Not implemented -
      502 Bad gateway -
      503 Service unavailable -
      504 Gateway timeout -
      0 Service unavailable -
    • runPlanCalculationAsyncCall

      public okhttp3.Call runPlanCalculationAsyncCall(@Nonnull AgroPlanTask agroPlanTask, ApiCallback _callback) throws ApiException
      Build call for runPlanCalculationAsync
      Parameters:
      agroPlanTask - Data for calculation. (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 The calculation was successfully added to the queue -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      404 Not found -
      405 Method not allowed, check method (POST, GET, ...) -
      406 Client is unable to process a format of response, check headers -
      415 Unsupported media type, check headers -
      429 Too many requests -
      431 Request header fields too large -
      500 Internal server error -
      501 Not implemented -
      502 Bad gateway -
      503 Service unavailable -
      504 Gateway timeout -
      0 Service unavailable -
    • runPlanCalculationAsync

      public CalculationAsyncResult runPlanCalculationAsync(@Nonnull AgroPlanTask agroPlanTask) throws ApiException
      Planning The result can be obtained using the [result](#/plan/read_plan_result) method, removing - with [delete](#/plan/delete_plan_result).
      Parameters:
      agroPlanTask - Data for calculation. (required)
      Returns:
      CalculationAsyncResult
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 The calculation was successfully added to the queue -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      404 Not found -
      405 Method not allowed, check method (POST, GET, ...) -
      406 Client is unable to process a format of response, check headers -
      415 Unsupported media type, check headers -
      429 Too many requests -
      431 Request header fields too large -
      500 Internal server error -
      501 Not implemented -
      502 Bad gateway -
      503 Service unavailable -
      504 Gateway timeout -
      0 Service unavailable -
    • runPlanCalculationAsyncWithHttpInfo

      public ApiResponse<CalculationAsyncResult> runPlanCalculationAsyncWithHttpInfo(@Nonnull AgroPlanTask agroPlanTask) throws ApiException
      Planning The result can be obtained using the [result](#/plan/read_plan_result) method, removing - with [delete](#/plan/delete_plan_result).
      Parameters:
      agroPlanTask - Data for calculation. (required)
      Returns:
      ApiResponse<CalculationAsyncResult>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 The calculation was successfully added to the queue -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      404 Not found -
      405 Method not allowed, check method (POST, GET, ...) -
      406 Client is unable to process a format of response, check headers -
      415 Unsupported media type, check headers -
      429 Too many requests -
      431 Request header fields too large -
      500 Internal server error -
      501 Not implemented -
      502 Bad gateway -
      503 Service unavailable -
      504 Gateway timeout -
      0 Service unavailable -
    • runPlanCalculationAsyncAsync

      public okhttp3.Call runPlanCalculationAsyncAsync(@Nonnull AgroPlanTask agroPlanTask, ApiCallback<CalculationAsyncResult> _callback) throws ApiException
      Planning (asynchronously) The result can be obtained using the [result](#/plan/read_plan_result) method, removing - with [delete](#/plan/delete_plan_result).
      Parameters:
      agroPlanTask - Data for calculation. (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 The calculation was successfully added to the queue -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      404 Not found -
      405 Method not allowed, check method (POST, GET, ...) -
      406 Client is unable to process a format of response, check headers -
      415 Unsupported media type, check headers -
      429 Too many requests -
      431 Request header fields too large -
      500 Internal server error -
      501 Not implemented -
      502 Bad gateway -
      503 Service unavailable -
      504 Gateway timeout -
      0 Service unavailable -
    • runPlanClipCall

      public okhttp3.Call runPlanClipCall(@Nonnull String clipKey, @Nonnull AgroPlanTask agroPlanTask, @Nullable String clipStrategy, ApiCallback _callback) throws ApiException
      Build call for runPlanClip
      Parameters:
      clipKey - Target essence key. (required)
      agroPlanTask - Data for clipping. (required)
      clipStrategy - Data clipping strategy. (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful execution -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • runPlanClip

      public AgroPlanTask runPlanClip(@Nonnull String clipKey, @Nonnull AgroPlanTask agroPlanTask, @Nullable String clipStrategy) throws ApiException
      Clipping (SYNC) Data clipping.
      Parameters:
      clipKey - Target essence key. (required)
      agroPlanTask - Data for clipping. (required)
      clipStrategy - Data clipping strategy. (optional)
      Returns:
      AgroPlanTask
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful execution -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • runPlanClipWithHttpInfo

      public ApiResponse<AgroPlanTask> runPlanClipWithHttpInfo(@Nonnull String clipKey, @Nonnull AgroPlanTask agroPlanTask, @Nullable String clipStrategy) throws ApiException
      Clipping (SYNC) Data clipping.
      Parameters:
      clipKey - Target essence key. (required)
      agroPlanTask - Data for clipping. (required)
      clipStrategy - Data clipping strategy. (optional)
      Returns:
      ApiResponse<AgroPlanTask>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful execution -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • runPlanClipAsync

      public okhttp3.Call runPlanClipAsync(@Nonnull String clipKey, @Nonnull AgroPlanTask agroPlanTask, @Nullable String clipStrategy, ApiCallback<AgroPlanTask> _callback) throws ApiException
      Clipping (SYNC) (asynchronously) Data clipping.
      Parameters:
      clipKey - Target essence key. (required)
      agroPlanTask - Data for clipping. (required)
      clipStrategy - Data clipping strategy. (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Successful execution -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 AgroPlanTask agroPlanTask, ApiCallback _callback) throws ApiException
      Build call for runPlanValidation
      Parameters:
      agroPlanTask - Data for calculation. (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Data validation completed successfully -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      404 Not found -
      405 Method not allowed, check method (POST, GET, ...) -
      406 Client is unable to process a format of response, check headers -
      415 Unsupported media type, check headers -
      429 Too many requests -
      431 Request header fields too large -
      500 Internal server error -
      501 Not implemented -
      502 Bad gateway -
      503 Service unavailable -
      504 Gateway timeout -
      0 Service unavailable -
    • runPlanValidation

      public AgroValidateResult runPlanValidation(@Nonnull AgroPlanTask agroPlanTask) throws ApiException
      Data validation Checking data before planning.
      Parameters:
      agroPlanTask - Data for calculation. (required)
      Returns:
      AgroValidateResult
      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<AgroValidateResult> runPlanValidationWithHttpInfo(@Nonnull AgroPlanTask agroPlanTask) throws ApiException
      Data validation Checking data before planning.
      Parameters:
      agroPlanTask - Data for calculation. (required)
      Returns:
      ApiResponse<AgroValidateResult>
      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 AgroPlanTask agroPlanTask, ApiCallback<AgroValidateResult> _callback) throws ApiException
      Data validation (asynchronously) Checking data before planning.
      Parameters:
      agroPlanTask - Data for calculation. (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      200 Data validation completed successfully -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      404 Not found -
      405 Method not allowed, check method (POST, GET, ...) -
      406 Client is unable to process a format of response, check headers -
      415 Unsupported media type, check headers -
      429 Too many requests -
      431 Request header fields too large -
      500 Internal server error -
      501 Not implemented -
      502 Bad gateway -
      503 Service unavailable -
      504 Gateway timeout -
      0 Service unavailable -