Package com.veeroute.lss.agro.api
Class PlanApi
java.lang.Object
com.veeroute.lss.agro.api.PlanApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancelPlanCalculation(UUID processCode) Cancel calculation Cancel calculation process by the calculation identifier.okhttp3.CallcancelPlanCalculationAsync(UUID processCode, ApiCallback<Void> _callback) Cancel calculation (asynchronously) Cancel calculation process by the calculation identifier.okhttp3.CallcancelPlanCalculationCall(UUID processCode, ApiCallback _callback) Build call for cancelPlanCalculationcancelPlanCalculationWithHttpInfo(UUID processCode) Cancel calculation Cancel calculation process by the calculation identifier.voiddeletePlanResult(UUID processCode) Result removal Removal of the planning result by the calculation identifier.okhttp3.CalldeletePlanResultAsync(UUID processCode, ApiCallback<Void> _callback) Result removal (asynchronously) Removal of the planning result by the calculation identifier.okhttp3.CalldeletePlanResultCall(UUID processCode, ApiCallback _callback) Build call for deletePlanResultdeletePlanResultWithHttpInfo(UUID processCode) Result removal Removal of the planning result by the calculation identifier.intbyte[]readAlgoData(UUID processCode, FlowType dataFlowType) Algo data Receiving algo data by `tracedata.process_code`.okhttp3.CallreadAlgoDataAsync(UUID processCode, FlowType dataFlowType, ApiCallback<byte[]> _callback) Algo data (asynchronously) Receiving algo data by `tracedata.process_code`.okhttp3.CallreadAlgoDataCall(UUID processCode, FlowType dataFlowType, ApiCallback _callback) Build call for readAlgoDataApiResponse<byte[]> readAlgoDataWithHttpInfo(UUID processCode, FlowType dataFlowType) Algo data Receiving algo data by `tracedata.process_code`.readPlanResult(UUID processCode) Getting the result Getting the result based on the calculation identifier.okhttp3.CallreadPlanResultAsync(UUID processCode, ApiCallback<AgroPlanResult> _callback) Getting the result (asynchronously) Getting the result based on the calculation identifier.okhttp3.CallreadPlanResultCall(UUID processCode, ApiCallback _callback) Build call for readPlanResultreadPlanResultWithHttpInfo(UUID processCode) Getting the result Getting the result based on the calculation identifier.readPlanState(UUID processCode) Calculation state Read calculation state by the calculation identifier.okhttp3.CallreadPlanStateAsync(UUID processCode, ApiCallback<CalculationState> _callback) Calculation state (asynchronously) Read calculation state by the calculation identifier.okhttp3.CallreadPlanStateCall(UUID processCode, ApiCallback _callback) Build call for readPlanStatereadPlanStateWithHttpInfo(UUID processCode) Calculation state Read calculation state by the calculation identifier.runPlanCalculation(AgroPlanTask agroPlanTask) Planning (SYNC) Production plan calculation.runPlanCalculationAsync(AgroPlanTask agroPlanTask) Planning The result can be obtained using the [result](#/plan/read_plan_result) method, removing - with [delete](#/plan/delete_plan_result).okhttp3.CallrunPlanCalculationAsync(AgroPlanTask agroPlanTask, ApiCallback<AgroPlanResult> _callback) Planning (SYNC) (asynchronously) Production plan calculation.okhttp3.CallrunPlanCalculationAsyncAsync(AgroPlanTask agroPlanTask, ApiCallback<CalculationAsyncResult> _callback) Planning (asynchronously) The result can be obtained using the [result](#/plan/read_plan_result) method, removing - with [delete](#/plan/delete_plan_result).okhttp3.CallrunPlanCalculationAsyncCall(AgroPlanTask agroPlanTask, ApiCallback _callback) Build call for runPlanCalculationAsyncrunPlanCalculationAsyncWithHttpInfo(AgroPlanTask agroPlanTask) Planning The result can be obtained using the [result](#/plan/read_plan_result) method, removing - with [delete](#/plan/delete_plan_result).okhttp3.CallrunPlanCalculationCall(AgroPlanTask agroPlanTask, ApiCallback _callback) Build call for runPlanCalculationrunPlanCalculationWithHttpInfo(AgroPlanTask agroPlanTask) Planning (SYNC) Production plan calculation.runPlanClip(String clipKey, AgroPlanTask agroPlanTask, String clipStrategy) Clipping (SYNC) Data clipping.okhttp3.CallrunPlanClipAsync(String clipKey, AgroPlanTask agroPlanTask, String clipStrategy, ApiCallback<AgroPlanTask> _callback) Clipping (SYNC) (asynchronously) Data clipping.okhttp3.CallrunPlanClipCall(String clipKey, AgroPlanTask agroPlanTask, String clipStrategy, ApiCallback _callback) Build call for runPlanCliprunPlanClipWithHttpInfo(String clipKey, AgroPlanTask agroPlanTask, String clipStrategy) Clipping (SYNC) Data clipping.runPlanValidation(AgroPlanTask agroPlanTask) Data validation Checking data before planning.okhttp3.CallrunPlanValidationAsync(AgroPlanTask agroPlanTask, ApiCallback<AgroValidateResult> _callback) Data validation (asynchronously) Checking data before planning.okhttp3.CallrunPlanValidationCall(AgroPlanTask agroPlanTask, ApiCallback _callback) Build call for runPlanValidationrunPlanValidationWithHttpInfo(AgroPlanTask agroPlanTask) Data validation Checking data before planning.voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
PlanApi
public PlanApi() -
PlanApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
cancelPlanCalculationCall
public okhttp3.Call cancelPlanCalculationCall(@Nonnull UUID processCode, ApiCallback _callback) throws ApiException Build call for cancelPlanCalculation- Parameters:
processCode- Unique process identifier. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 Calculation successfully canceled - 400 Bad request - data contain errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
cancelPlanCalculation
Cancel calculation Cancel calculation 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
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
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
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
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
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 -
-