Package com.veeroute.lss.monitor.api
Class DealsApi
java.lang.Object
com.veeroute.lss.monitor.api.DealsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassignTripsBatch(UUID fileKey, List<TripAssignment> tripAssignment) Assign trips (batch) Free trips to a crew (batch).okhttp3.CallassignTripsBatchAsync(UUID fileKey, List<TripAssignment> tripAssignment, ApiCallback<Void> _callback) Assign trips (batch) (asynchronously) Free trips to a crew (batch).okhttp3.CallassignTripsBatchCall(UUID fileKey, List<TripAssignment> tripAssignment, ApiCallback _callback) Build call for assignTripsBatchassignTripsBatchWithHttpInfo(UUID fileKey, List<TripAssignment> tripAssignment) Assign trips (batch) Free trips to a crew (batch).voidautomatchTripsBatch(UUID fileKey, List<String> requestBody) Automatching crews (batch) Automatic crew selection and trip assignment (batch).okhttp3.CallautomatchTripsBatchAsync(UUID fileKey, List<String> requestBody, ApiCallback<Void> _callback) Automatching crews (batch) (asynchronously) Automatic crew selection and trip assignment (batch).okhttp3.CallautomatchTripsBatchCall(UUID fileKey, List<String> requestBody, ApiCallback _callback) Build call for automatchTripsBatchautomatchTripsBatchWithHttpInfo(UUID fileKey, List<String> requestBody) Automatching crews (batch) Automatic crew selection and trip assignment (batch).voidfreeTripsBatch(UUID fileKey, List<String> requestBody) Free trips (batch) Free trips (batch) - removes crew assignments.okhttp3.CallfreeTripsBatchAsync(UUID fileKey, List<String> requestBody, ApiCallback<Void> _callback) Free trips (batch) (asynchronously) Free trips (batch) - removes crew assignments.okhttp3.CallfreeTripsBatchCall(UUID fileKey, List<String> requestBody, ApiCallback _callback) Build call for freeTripsBatchfreeTripsBatchWithHttpInfo(UUID fileKey, List<String> requestBody) Free trips (batch) Free trips (batch) - removes crew assignments.intGetting deal information Getting deal information by key.okhttp3.CallreadDealAsync(UUID dealKey, ApiCallback<Deal> _callback) Getting deal information (asynchronously) Getting deal information by key.okhttp3.CallreadDealCall(UUID dealKey, ApiCallback _callback) Build call for readDealreadDealWithHttpInfo(UUID dealKey) Getting deal information Getting deal information by key.readTripAvailableCrews(UUID fileKey, String essenceKey, Integer offset, Integer limit, TableCrewColumnType sortField, String sortDirection, TableCrewFilterList tableCrewFilterList) Read available crews Obtaining a list of crews that can perform the specified trip.okhttp3.CallreadTripAvailableCrewsAsync(UUID fileKey, String essenceKey, Integer offset, Integer limit, TableCrewColumnType sortField, String sortDirection, TableCrewFilterList tableCrewFilterList, ApiCallback<TableCrewList> _callback) Read available crews (asynchronously) Obtaining a list of crews that can perform the specified trip.okhttp3.CallreadTripAvailableCrewsCall(UUID fileKey, String essenceKey, Integer offset, Integer limit, TableCrewColumnType sortField, String sortDirection, TableCrewFilterList tableCrewFilterList, ApiCallback _callback) Build call for readTripAvailableCrewsreadTripAvailableCrewsWithHttpInfo(UUID fileKey, String essenceKey, Integer offset, Integer limit, TableCrewColumnType sortField, String sortDirection, TableCrewFilterList tableCrewFilterList) Read available crews Obtaining a list of crews that can perform the specified trip.voidrunTripsBatch(UUID fileKey, List<String> requestBody) Run trips (batch) Run trips (batch).okhttp3.CallrunTripsBatchAsync(UUID fileKey, List<String> requestBody, ApiCallback<Void> _callback) Run trips (batch) (asynchronously) Run trips (batch).okhttp3.CallrunTripsBatchCall(UUID fileKey, List<String> requestBody, ApiCallback _callback) Build call for runTripsBatchrunTripsBatchWithHttpInfo(UUID fileKey, List<String> requestBody) Run trips (batch) Run trips (batch).voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex) voidstopTripsBatch(UUID fileKey, List<String> requestBody) Stop trips (batch) Stop trips (batch).okhttp3.CallstopTripsBatchAsync(UUID fileKey, List<String> requestBody, ApiCallback<Void> _callback) Stop trips (batch) (asynchronously) Stop trips (batch).okhttp3.CallstopTripsBatchCall(UUID fileKey, List<String> requestBody, ApiCallback _callback) Build call for stopTripsBatchstopTripsBatchWithHttpInfo(UUID fileKey, List<String> requestBody) Stop trips (batch) Stop trips (batch).
-
Constructor Details
-
DealsApi
public DealsApi() -
DealsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
assignTripsBatchCall
public okhttp3.Call assignTripsBatchCall(@Nonnull UUID fileKey, @Nonnull List<TripAssignment> tripAssignment, ApiCallback _callback) throws ApiException Build call for assignTripsBatch- Parameters:
fileKey- File key, unique identifier. (required)tripAssignment- Request to assign trips. (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 Trips successfully assigned - 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 -
-
assignTripsBatch
public void assignTripsBatch(@Nonnull UUID fileKey, @Nonnull List<TripAssignment> tripAssignment) throws ApiException Assign trips (batch) Free trips to a crew (batch).- Parameters:
fileKey- File key, unique identifier. (required)tripAssignment- Request to assign trips. (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 Trips successfully assigned - 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 -
-
assignTripsBatchWithHttpInfo
public ApiResponse<Void> assignTripsBatchWithHttpInfo(@Nonnull UUID fileKey, @Nonnull List<TripAssignment> tripAssignment) throws ApiException Assign trips (batch) Free trips to a crew (batch).- Parameters:
fileKey- File key, unique identifier. (required)tripAssignment- Request to assign trips. (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 Trips successfully assigned - 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 -
-
assignTripsBatchAsync
public okhttp3.Call assignTripsBatchAsync(@Nonnull UUID fileKey, @Nonnull List<TripAssignment> tripAssignment, ApiCallback<Void> _callback) throws ApiException Assign trips (batch) (asynchronously) Free trips to a crew (batch).- Parameters:
fileKey- File key, unique identifier. (required)tripAssignment- Request to assign trips. (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 Trips successfully assigned - 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 -
-
automatchTripsBatchCall
public okhttp3.Call automatchTripsBatchCall(@Nonnull UUID fileKey, @Nonnull List<String> requestBody, ApiCallback _callback) throws ApiException Build call for automatchTripsBatch- Parameters:
fileKey- File key, unique identifier. (required)requestBody- Request for automatic crew matching for trips. (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 Autoassignment completed successfully - 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 -
-
automatchTripsBatch
public void automatchTripsBatch(@Nonnull UUID fileKey, @Nonnull List<String> requestBody) throws ApiException Automatching crews (batch) Automatic crew selection and trip assignment (batch). Automatic selection finds suitable crews based on the following parameters: * the crew is available (does not have another trip for the searched time slot) * the crew meets the performer compatibility requirements (`crew.performer_compatibilities` is checked against `performer.compatibilities`) * the crew meets the performer limitations requirements (`crew.performer_limits` is checked against `performer.limits`) * the crew has the same transport type (`crew.transport_type` is equal to `transport.transport_type`) * the crew meets the transport capacity requirements (`crew.transport_boxes` is checked against `transport.boxes`) * the crew meets the transport compatibility requirements (`crew.transport_compatibilities` is checked against `transport.compatibilities`) * the crew meets the transport limitations requirements (`crew.transport_limits`) checked against `transport.limits`)- Parameters:
fileKey- File key, unique identifier. (required)requestBody- Request for automatic crew matching for trips. (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 Autoassignment completed successfully - 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 -
-
automatchTripsBatchWithHttpInfo
public ApiResponse<Void> automatchTripsBatchWithHttpInfo(@Nonnull UUID fileKey, @Nonnull List<String> requestBody) throws ApiException Automatching crews (batch) Automatic crew selection and trip assignment (batch). Automatic selection finds suitable crews based on the following parameters: * the crew is available (does not have another trip for the searched time slot) * the crew meets the performer compatibility requirements (`crew.performer_compatibilities` is checked against `performer.compatibilities`) * the crew meets the performer limitations requirements (`crew.performer_limits` is checked against `performer.limits`) * the crew has the same transport type (`crew.transport_type` is equal to `transport.transport_type`) * the crew meets the transport capacity requirements (`crew.transport_boxes` is checked against `transport.boxes`) * the crew meets the transport compatibility requirements (`crew.transport_compatibilities` is checked against `transport.compatibilities`) * the crew meets the transport limitations requirements (`crew.transport_limits`) checked against `transport.limits`)- Parameters:
fileKey- File key, unique identifier. (required)requestBody- Request for automatic crew matching for trips. (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 Autoassignment completed successfully - 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 -
-
automatchTripsBatchAsync
public okhttp3.Call automatchTripsBatchAsync(@Nonnull UUID fileKey, @Nonnull List<String> requestBody, ApiCallback<Void> _callback) throws ApiException Automatching crews (batch) (asynchronously) Automatic crew selection and trip assignment (batch). Automatic selection finds suitable crews based on the following parameters: * the crew is available (does not have another trip for the searched time slot) * the crew meets the performer compatibility requirements (`crew.performer_compatibilities` is checked against `performer.compatibilities`) * the crew meets the performer limitations requirements (`crew.performer_limits` is checked against `performer.limits`) * the crew has the same transport type (`crew.transport_type` is equal to `transport.transport_type`) * the crew meets the transport capacity requirements (`crew.transport_boxes` is checked against `transport.boxes`) * the crew meets the transport compatibility requirements (`crew.transport_compatibilities` is checked against `transport.compatibilities`) * the crew meets the transport limitations requirements (`crew.transport_limits`) checked against `transport.limits`)- Parameters:
fileKey- File key, unique identifier. (required)requestBody- Request for automatic crew matching for trips. (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 Autoassignment completed successfully - 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 -
-
freeTripsBatchCall
public okhttp3.Call freeTripsBatchCall(@Nonnull UUID fileKey, @Nonnull List<String> requestBody, ApiCallback _callback) throws ApiException Build call for freeTripsBatch- Parameters:
fileKey- File key, unique identifier. (required)requestBody- Request to free trips. (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 Trips successfully free - 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 -
-
freeTripsBatch
public void freeTripsBatch(@Nonnull UUID fileKey, @Nonnull List<String> requestBody) throws ApiException Free trips (batch) Free trips (batch) - removes crew assignments. If the trips key list is empty, all trips in the wave are released.- Parameters:
fileKey- File key, unique identifier. (required)requestBody- Request to free trips. (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 Trips successfully free - 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 -
-
freeTripsBatchWithHttpInfo
public ApiResponse<Void> freeTripsBatchWithHttpInfo(@Nonnull UUID fileKey, @Nonnull List<String> requestBody) throws ApiException Free trips (batch) Free trips (batch) - removes crew assignments. If the trips key list is empty, all trips in the wave are released.- Parameters:
fileKey- File key, unique identifier. (required)requestBody- Request to free trips. (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 Trips successfully free - 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 -
-
freeTripsBatchAsync
public okhttp3.Call freeTripsBatchAsync(@Nonnull UUID fileKey, @Nonnull List<String> requestBody, ApiCallback<Void> _callback) throws ApiException Free trips (batch) (asynchronously) Free trips (batch) - removes crew assignments. If the trips key list is empty, all trips in the wave are released.- Parameters:
fileKey- File key, unique identifier. (required)requestBody- Request to free trips. (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 Trips successfully free - 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 -
-
readDealCall
Build call for readDeal- Parameters:
dealKey- Key, unique 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 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 -
-
readDeal
Getting deal information Getting deal information by key.- Parameters:
dealKey- Key, unique identifier. (required)- Returns:
- Deal
- 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 -
-
readDealWithHttpInfo
Getting deal information Getting deal information by key.- Parameters:
dealKey- Key, unique identifier. (required)- Returns:
- ApiResponse<Deal>
- 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 -
-
readDealAsync
public okhttp3.Call readDealAsync(@Nonnull UUID dealKey, ApiCallback<Deal> _callback) throws ApiException Getting deal information (asynchronously) Getting deal information by key.- Parameters:
dealKey- Key, unique 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 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 -
-
readTripAvailableCrewsCall
public okhttp3.Call readTripAvailableCrewsCall(@Nonnull UUID fileKey, @Nonnull String essenceKey, @Nullable Integer offset, @Nullable Integer limit, @Nullable TableCrewColumnType sortField, @Nullable String sortDirection, @Nullable TableCrewFilterList tableCrewFilterList, ApiCallback _callback) throws ApiException Build call for readTripAvailableCrews- Parameters:
fileKey- File key, unique identifier. (required)essenceKey- Key, unique identifier. (required)offset- The number of items to skip before starting to collect the result set. (optional, default to 0)limit- The number of items to return. (optional, default to 100)sortField- Crew table column name. (optional, default to ESSENCE_KEY)sortDirection- Sort direction. (optional, default to ASC)tableCrewFilterList- Crews filter. (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 - 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 -
-
readTripAvailableCrews
public TableCrewList readTripAvailableCrews(@Nonnull UUID fileKey, @Nonnull String essenceKey, @Nullable Integer offset, @Nullable Integer limit, @Nullable TableCrewColumnType sortField, @Nullable String sortDirection, @Nullable TableCrewFilterList tableCrewFilterList) throws ApiException Read available crews Obtaining a list of crews that can perform the specified trip.- Parameters:
fileKey- File key, unique identifier. (required)essenceKey- Key, unique identifier. (required)offset- The number of items to skip before starting to collect the result set. (optional, default to 0)limit- The number of items to return. (optional, default to 100)sortField- Crew table column name. (optional, default to ESSENCE_KEY)sortDirection- Sort direction. (optional, default to ASC)tableCrewFilterList- Crews filter. (optional)- Returns:
- TableCrewList
- 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 -
-
readTripAvailableCrewsWithHttpInfo
public ApiResponse<TableCrewList> readTripAvailableCrewsWithHttpInfo(@Nonnull UUID fileKey, @Nonnull String essenceKey, @Nullable Integer offset, @Nullable Integer limit, @Nullable TableCrewColumnType sortField, @Nullable String sortDirection, @Nullable TableCrewFilterList tableCrewFilterList) throws ApiException Read available crews Obtaining a list of crews that can perform the specified trip.- Parameters:
fileKey- File key, unique identifier. (required)essenceKey- Key, unique identifier. (required)offset- The number of items to skip before starting to collect the result set. (optional, default to 0)limit- The number of items to return. (optional, default to 100)sortField- Crew table column name. (optional, default to ESSENCE_KEY)sortDirection- Sort direction. (optional, default to ASC)tableCrewFilterList- Crews filter. (optional)- Returns:
- ApiResponse<TableCrewList>
- 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 -
-
readTripAvailableCrewsAsync
public okhttp3.Call readTripAvailableCrewsAsync(@Nonnull UUID fileKey, @Nonnull String essenceKey, @Nullable Integer offset, @Nullable Integer limit, @Nullable TableCrewColumnType sortField, @Nullable String sortDirection, @Nullable TableCrewFilterList tableCrewFilterList, ApiCallback<TableCrewList> _callback) throws ApiException Read available crews (asynchronously) Obtaining a list of crews that can perform the specified trip.- Parameters:
fileKey- File key, unique identifier. (required)essenceKey- Key, unique identifier. (required)offset- The number of items to skip before starting to collect the result set. (optional, default to 0)limit- The number of items to return. (optional, default to 100)sortField- Crew table column name. (optional, default to ESSENCE_KEY)sortDirection- Sort direction. (optional, default to ASC)tableCrewFilterList- Crews filter. (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 - 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 -
-
runTripsBatchCall
public okhttp3.Call runTripsBatchCall(@Nonnull UUID fileKey, @Nonnull List<String> requestBody, ApiCallback _callback) throws ApiException Build call for runTripsBatch- Parameters:
fileKey- File key, unique identifier. (required)requestBody- Request to run trips. (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 Trips successfully run - 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 -
-
runTripsBatch
public void runTripsBatch(@Nonnull UUID fileKey, @Nonnull List<String> requestBody) throws ApiException Run trips (batch) Run trips (batch). If the trip key list is empty, all trips from the wave are run.- Parameters:
fileKey- File key, unique identifier. (required)requestBody- Request to run trips. (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 200 Trips successfully run - 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 -
-
runTripsBatchWithHttpInfo
public ApiResponse<Void> runTripsBatchWithHttpInfo(@Nonnull UUID fileKey, @Nonnull List<String> requestBody) throws ApiException Run trips (batch) Run trips (batch). If the trip key list is empty, all trips from the wave are run.- Parameters:
fileKey- File key, unique identifier. (required)requestBody- Request to run trips. (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 200 Trips successfully run - 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 -
-
runTripsBatchAsync
public okhttp3.Call runTripsBatchAsync(@Nonnull UUID fileKey, @Nonnull List<String> requestBody, ApiCallback<Void> _callback) throws ApiException Run trips (batch) (asynchronously) Run trips (batch). If the trip key list is empty, all trips from the wave are run.- Parameters:
fileKey- File key, unique identifier. (required)requestBody- Request to run trips. (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 Trips successfully run - 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 -
-
stopTripsBatchCall
public okhttp3.Call stopTripsBatchCall(@Nonnull UUID fileKey, @Nonnull List<String> requestBody, ApiCallback _callback) throws ApiException Build call for stopTripsBatch- Parameters:
fileKey- File key, unique identifier. (required)requestBody- Request to stop trips. (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 Trips successfully stop - 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 -
-
stopTripsBatch
public void stopTripsBatch(@Nonnull UUID fileKey, @Nonnull List<String> requestBody) throws ApiException Stop trips (batch) Stop trips (batch). If the trip key list is empty, all trips from the wave are stop.- Parameters:
fileKey- File key, unique identifier. (required)requestBody- Request to stop trips. (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 Trips successfully stop - 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 -
-
stopTripsBatchWithHttpInfo
public ApiResponse<Void> stopTripsBatchWithHttpInfo(@Nonnull UUID fileKey, @Nonnull List<String> requestBody) throws ApiException Stop trips (batch) Stop trips (batch). If the trip key list is empty, all trips from the wave are stop.- Parameters:
fileKey- File key, unique identifier. (required)requestBody- Request to stop trips. (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 Trips successfully stop - 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 -
-
stopTripsBatchAsync
public okhttp3.Call stopTripsBatchAsync(@Nonnull UUID fileKey, @Nonnull List<String> requestBody, ApiCallback<Void> _callback) throws ApiException Stop trips (batch) (asynchronously) Stop trips (batch). If the trip key list is empty, all trips from the wave are stop.- Parameters:
fileKey- File key, unique identifier. (required)requestBody- Request to stop trips. (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 Trips successfully stop - 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 -
-