/** * Solves vehicle routing problems * This endpoint for solving vehicle routing problems, i.e. traveling salesman or vehicle routing problems, and returns the solution. * @param key your API key (required) * @param body Request object that contains the problem to be solved (required) * @return ApiResponse<JobId> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse<JobId> postVrpWithHttpInfo(String key, Request body) throws ApiException { com.squareup.okhttp.Call call = postVrpValidateBeforeCall(key, body, null, null); Type localVarReturnType = new TypeToken<JobId>(){}.getType(); return apiClient.execute(call, localVarReturnType); }
/** * Solves vehicle routing problems * This endpoint for solving vehicle routing problems, i.e. traveling salesman or vehicle routing problems, and returns the solution. * @param key your API key (required) * @param body Request object that contains the problem to be solved (required) * @return ApiResponse<JobId> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse<JobId> postVrpWithHttpInfo(String key, Request body) throws ApiException { com.squareup.okhttp.Call call = postVrpValidateBeforeCall(key, body, null, null); Type localVarReturnType = new TypeToken<JobId>(){}.getType(); return apiClient.execute(call, localVarReturnType); }
/** * Solves vehicle routing problems * This endpoint for solving vehicle routing problems, i.e. traveling salesman or vehicle routing problems, and returns the solution. * @param key your API key (required) * @param body Request object that contains the problem to be solved (required) * @return ApiResponse<JobId> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse<JobId> postVrpWithHttpInfo(String key, Request body) throws ApiException { com.squareup.okhttp.Call call = postVrpValidateBeforeCall(key, body, null, null); Type localVarReturnType = new TypeToken<JobId>(){}.getType(); return apiClient.execute(call, localVarReturnType); }