Package com.veeroute.lss.monitor.api
Class CrewsApi
java.lang.Object
com.veeroute.lss.monitor.api.CrewsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCrew(CrewSpecification crewSpecification) Crew creation A crew is created by a logistician via the web interface or the API integration module.okhttp3.CallcreateCrewAsync(CrewSpecification crewSpecification, ApiCallback<Crew> _callback) Crew creation (asynchronously) A crew is created by a logistician via the web interface or the API integration module.okhttp3.CallcreateCrewCall(CrewSpecification crewSpecification, ApiCallback _callback) Build call for createCrewcreateCrewWithHttpInfo(CrewSpecification crewSpecification) Crew creation A crew is created by a logistician via the web interface or the API integration module.voiddeleteCrew(String crewKey) Delete crew Delete a crew.okhttp3.CalldeleteCrewAsync(String crewKey, ApiCallback<Void> _callback) Delete crew (asynchronously) Delete a crew.okhttp3.CalldeleteCrewCall(String crewKey, ApiCallback _callback) Build call for deleteCrewvoiddeleteCrewsBatch(List<String> requestBody) Crews removal (batch) Batch crews delete.okhttp3.CalldeleteCrewsBatchAsync(List<String> requestBody, ApiCallback<Void> _callback) Crews removal (batch) (asynchronously) Batch crews delete.okhttp3.CalldeleteCrewsBatchCall(List<String> requestBody, ApiCallback _callback) Build call for deleteCrewsBatchdeleteCrewsBatchWithHttpInfo(List<String> requestBody) Crews removal (batch) Batch crews delete.deleteCrewWithHttpInfo(String crewKey) Delete crew Delete a crew.Export crews (JSON) Exporting crews to a JSON file.okhttp3.CallexportCrewsJsonAsync(ApiCallback<List<CrewSpecification>> _callback) Export crews (JSON) (asynchronously) Exporting crews to a JSON file.okhttp3.CallexportCrewsJsonCall(ApiCallback _callback) Build call for exportCrewsJsonExport crews (JSON) Exporting crews to a JSON file.byte[]Export crews (XLSX) Exporting crews to a XLSX file.okhttp3.CallexportCrewsXlsxAsync(ApiCallback<byte[]> _callback) Export crews (XLSX) (asynchronously) Exporting crews to a XLSX file.okhttp3.CallexportCrewsXlsxCall(ApiCallback _callback) Build call for exportCrewsXlsxApiResponse<byte[]> Export crews (XLSX) Exporting crews to a XLSX file.intvoidimportCrewsJson(List<CrewSpecification> crewSpecification) Import crews (JSON) Importing new data from JSON file.okhttp3.CallimportCrewsJsonAsync(List<CrewSpecification> crewSpecification, ApiCallback<Void> _callback) Import crews (JSON) (asynchronously) Importing new data from JSON file.okhttp3.CallimportCrewsJsonCall(List<CrewSpecification> crewSpecification, ApiCallback _callback) Build call for importCrewsJsonimportCrewsJsonWithHttpInfo(List<CrewSpecification> crewSpecification) Import crews (JSON) Importing new data from JSON file.voidimportCrewsXlsx(byte[] body) Import crews (XLSX) Importing new data from XLSX file.okhttp3.CallimportCrewsXlsxAsync(byte[] body, ApiCallback<Void> _callback) Import crews (XLSX) (asynchronously) Importing new data from XLSX file.okhttp3.CallimportCrewsXlsxCall(byte[] body, ApiCallback _callback) Build call for importCrewsXlsximportCrewsXlsxWithHttpInfo(byte[] body) Import crews (XLSX) Importing new data from XLSX file.Getting crew information Getting crew information by key.okhttp3.CallreadCrewAsync(String crewKey, ApiCallback<WebCrew> _callback) Getting crew information (asynchronously) Getting crew information by key.okhttp3.CallreadCrewCall(String crewKey, ApiCallback _callback) Build call for readCrewreadCrewsTable(Integer offset, Integer limit, TableCrewColumnType sortField, String sortDirection, TableCrewFilterList tableCrewFilterList) Reading crews (table) Getting a list of crews.okhttp3.CallreadCrewsTableAsync(Integer offset, Integer limit, TableCrewColumnType sortField, String sortDirection, TableCrewFilterList tableCrewFilterList, ApiCallback<TableCrewList> _callback) Reading crews (table) (asynchronously) Getting a list of crews.okhttp3.CallreadCrewsTableCall(Integer offset, Integer limit, TableCrewColumnType sortField, String sortDirection, TableCrewFilterList tableCrewFilterList, ApiCallback _callback) Build call for readCrewsTablereadCrewsTableWithHttpInfo(Integer offset, Integer limit, TableCrewColumnType sortField, String sortDirection, TableCrewFilterList tableCrewFilterList) Reading crews (table) Getting a list of crews.readCrewsTrackpoints(Integer offset, Integer limit, TableCrewFilterList tableCrewFilterList) Crew trackpoints Getting a crew trackpoints.okhttp3.CallreadCrewsTrackpointsAsync(Integer offset, Integer limit, TableCrewFilterList tableCrewFilterList, ApiCallback<CrewTrackpointList> _callback) Crew trackpoints (asynchronously) Getting a crew trackpoints.okhttp3.CallreadCrewsTrackpointsCall(Integer offset, Integer limit, TableCrewFilterList tableCrewFilterList, ApiCallback _callback) Build call for readCrewsTrackpointsreadCrewsTrackpointsWithHttpInfo(Integer offset, Integer limit, TableCrewFilterList tableCrewFilterList) Crew trackpoints Getting a crew trackpoints.readCrewWithHttpInfo(String crewKey) Getting crew information Getting crew information by key.voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex) updateCrew(CrewSpecification crewSpecification) Crew update Updating the crew information.okhttp3.CallupdateCrewAsync(CrewSpecification crewSpecification, ApiCallback<Crew> _callback) Crew update (asynchronously) Updating the crew information.okhttp3.CallupdateCrewCall(CrewSpecification crewSpecification, ApiCallback _callback) Build call for updateCrewupdateCrewWithHttpInfo(CrewSpecification crewSpecification) Crew update Updating the crew information.
-
Constructor Details
-
CrewsApi
public CrewsApi() -
CrewsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
createCrewCall
public okhttp3.Call createCrewCall(@Nonnull CrewSpecification crewSpecification, ApiCallback _callback) throws ApiException Build call for createCrew- Parameters:
crewSpecification- Crew creation request. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 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 -
-
createCrew
Crew creation A crew is created by a logistician via the web interface or the API integration module. An authorization account is automatically created according to the following rules: * The crew account username is created by concatenating the following strings: `company key` + `_2_` + `crew key`, This ensures unique logins for crews from different companies. * The account role is [CREW] * The account password is taken from the `crew_specification.password` field. * `owner_username` is set to the `username` of the user calling the creation method. * `owner_company_key` is set to the `company_key` of the user calling the creation method.- Parameters:
crewSpecification- Crew creation request. (required)- Returns:
- Crew
- 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 201 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 -
-
createCrewWithHttpInfo
public ApiResponse<Crew> createCrewWithHttpInfo(@Nonnull CrewSpecification crewSpecification) throws ApiException Crew creation A crew is created by a logistician via the web interface or the API integration module. An authorization account is automatically created according to the following rules: * The crew account username is created by concatenating the following strings: `company key` + `_2_` + `crew key`, This ensures unique logins for crews from different companies. * The account role is [CREW] * The account password is taken from the `crew_specification.password` field. * `owner_username` is set to the `username` of the user calling the creation method. * `owner_company_key` is set to the `company_key` of the user calling the creation method.- Parameters:
crewSpecification- Crew creation request. (required)- Returns:
- ApiResponse<Crew>
- 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 201 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 -
-
createCrewAsync
public okhttp3.Call createCrewAsync(@Nonnull CrewSpecification crewSpecification, ApiCallback<Crew> _callback) throws ApiException Crew creation (asynchronously) A crew is created by a logistician via the web interface or the API integration module. An authorization account is automatically created according to the following rules: * The crew account username is created by concatenating the following strings: `company key` + `_2_` + `crew key`, This ensures unique logins for crews from different companies. * The account role is [CREW] * The account password is taken from the `crew_specification.password` field. * `owner_username` is set to the `username` of the user calling the creation method. * `owner_company_key` is set to the `company_key` of the user calling the creation method.- Parameters:
crewSpecification- Crew creation request. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 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 -
-
deleteCrewCall
public okhttp3.Call deleteCrewCall(@Nonnull String crewKey, ApiCallback _callback) throws ApiException Build call for deleteCrew- Parameters:
crewKey- Parameter (path) with crew key. (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 - 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 -
-
deleteCrew
Delete crew Delete a crew. A crew cannot be deleted if a trip is assigned to it (i.e. a deal exists). When a crew is deleted, the account associated with it is also deleted, along with all audit actions and all statistics for that account.- Parameters:
crewKey- Parameter (path) with crew key. (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 - 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 -
-
deleteCrewWithHttpInfo
Delete crew Delete a crew. A crew cannot be deleted if a trip is assigned to it (i.e. a deal exists). When a crew is deleted, the account associated with it is also deleted, along with all audit actions and all statistics for that account.- Parameters:
crewKey- Parameter (path) with crew key. (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 - 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 -
-
deleteCrewAsync
public okhttp3.Call deleteCrewAsync(@Nonnull String crewKey, ApiCallback<Void> _callback) throws ApiException Delete crew (asynchronously) Delete a crew. A crew cannot be deleted if a trip is assigned to it (i.e. a deal exists). When a crew is deleted, the account associated with it is also deleted, along with all audit actions and all statistics for that account.- Parameters:
crewKey- Parameter (path) with crew key. (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 - 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 -
-
deleteCrewsBatchCall
public okhttp3.Call deleteCrewsBatchCall(@Nonnull List<String> requestBody, ApiCallback _callback) throws ApiException Build call for deleteCrewsBatch- Parameters:
requestBody- Request to delete crews. (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 Crews successfully deleted - 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 -
-
deleteCrewsBatch
Crews removal (batch) Batch crews delete.- Parameters:
requestBody- Request to delete crews. (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 Crews successfully deleted - 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 -
-
deleteCrewsBatchWithHttpInfo
public ApiResponse<Void> deleteCrewsBatchWithHttpInfo(@Nonnull List<String> requestBody) throws ApiException Crews removal (batch) Batch crews delete.- Parameters:
requestBody- Request to delete crews. (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 Crews successfully deleted - 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 -
-
deleteCrewsBatchAsync
public okhttp3.Call deleteCrewsBatchAsync(@Nonnull List<String> requestBody, ApiCallback<Void> _callback) throws ApiException Crews removal (batch) (asynchronously) Batch crews delete.- Parameters:
requestBody- Request to delete crews. (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 Crews successfully deleted - 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 -
-
exportCrewsJsonCall
Build call for exportCrewsJson- Parameters:
_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 export completed successfully - 400 Bad request - data contain 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 -
-
exportCrewsJson
Export crews (JSON) Exporting crews to a JSON file.- Returns:
- List<CrewSpecification>
- 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 export completed successfully - 400 Bad request - data contain 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 -
-
exportCrewsJsonWithHttpInfo
Export crews (JSON) Exporting crews to a JSON file.- Returns:
- ApiResponse<List<CrewSpecification>>
- 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 export completed successfully - 400 Bad request - data contain 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 -
-
exportCrewsJsonAsync
public okhttp3.Call exportCrewsJsonAsync(ApiCallback<List<CrewSpecification>> _callback) throws ApiException Export crews (JSON) (asynchronously) Exporting crews to a JSON file.- Parameters:
_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 export completed successfully - 400 Bad request - data contain 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 -
-
exportCrewsXlsxCall
Build call for exportCrewsXlsx- Parameters:
_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 export completed successfully - 400 Bad request - data contain 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 -
-
exportCrewsXlsx
Export crews (XLSX) Exporting crews to a XLSX file.- 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 Data export completed successfully - 400 Bad request - data contain 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 -
-
exportCrewsXlsxWithHttpInfo
Export crews (XLSX) Exporting crews to a XLSX file.- 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 Data export completed successfully - 400 Bad request - data contain 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 -
-
exportCrewsXlsxAsync
Export crews (XLSX) (asynchronously) Exporting crews to a XLSX file.- Parameters:
_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 export completed successfully - 400 Bad request - data contain 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 -
-
importCrewsJsonCall
public okhttp3.Call importCrewsJsonCall(@Nonnull List<CrewSpecification> crewSpecification, ApiCallback _callback) throws ApiException Build call for importCrewsJson- Parameters:
crewSpecification- Data (JSON). (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 import completed successfully - 400 Bad request - data contain 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 -
-
importCrewsJson
Import crews (JSON) Importing new data from JSON file. If the entity is already present (determined by its key), it is updated. If not, a new one is created.- Parameters:
crewSpecification- Data (JSON). (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 Data import completed successfully - 400 Bad request - data contain 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 -
-
importCrewsJsonWithHttpInfo
public ApiResponse<Void> importCrewsJsonWithHttpInfo(@Nonnull List<CrewSpecification> crewSpecification) throws ApiException Import crews (JSON) Importing new data from JSON file. If the entity is already present (determined by its key), it is updated. If not, a new one is created.- Parameters:
crewSpecification- Data (JSON). (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 Data import completed successfully - 400 Bad request - data contain 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 -
-
importCrewsJsonAsync
public okhttp3.Call importCrewsJsonAsync(@Nonnull List<CrewSpecification> crewSpecification, ApiCallback<Void> _callback) throws ApiException Import crews (JSON) (asynchronously) Importing new data from JSON file. If the entity is already present (determined by its key), it is updated. If not, a new one is created.- Parameters:
crewSpecification- Data (JSON). (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 import completed successfully - 400 Bad request - data contain 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 -
-
importCrewsXlsxCall
public okhttp3.Call importCrewsXlsxCall(@Nonnull byte[] body, ApiCallback _callback) throws ApiException Build call for importCrewsXlsx- Parameters:
body- Data (XLSX). (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 import completed successfully - 400 Bad request - data contain 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 -
-
importCrewsXlsx
Import crews (XLSX) Importing new data from XLSX file. If the entity is already present (determined by its key), it is updated. If not, a new one is created.- Parameters:
body- Data (XLSX). (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 Data import completed successfully - 400 Bad request - data contain 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 -
-
importCrewsXlsxWithHttpInfo
Import crews (XLSX) Importing new data from XLSX file. If the entity is already present (determined by its key), it is updated. If not, a new one is created.- Parameters:
body- Data (XLSX). (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 Data import completed successfully - 400 Bad request - data contain 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 -
-
importCrewsXlsxAsync
public okhttp3.Call importCrewsXlsxAsync(@Nonnull byte[] body, ApiCallback<Void> _callback) throws ApiException Import crews (XLSX) (asynchronously) Importing new data from XLSX file. If the entity is already present (determined by its key), it is updated. If not, a new one is created.- Parameters:
body- Data (XLSX). (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 import completed successfully - 400 Bad request - data contain 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 -
-
readCrewCall
public okhttp3.Call readCrewCall(@Nonnull String crewKey, ApiCallback _callback) throws ApiException Build call for readCrew- Parameters:
crewKey- Parameter (path) with crew key. (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 -
-
readCrew
Getting crew information Getting crew information by key.- Parameters:
crewKey- Parameter (path) with crew key. (required)- Returns:
- WebCrew
- 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 -
-
readCrewWithHttpInfo
Getting crew information Getting crew information by key.- Parameters:
crewKey- Parameter (path) with crew key. (required)- Returns:
- ApiResponse<WebCrew>
- 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 -
-
readCrewAsync
public okhttp3.Call readCrewAsync(@Nonnull String crewKey, ApiCallback<WebCrew> _callback) throws ApiException Getting crew information (asynchronously) Getting crew information by key.- Parameters:
crewKey- Parameter (path) with crew key. (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 -
-
readCrewsTableCall
public okhttp3.Call readCrewsTableCall(@Nullable Integer offset, @Nullable Integer limit, @Nullable TableCrewColumnType sortField, @Nullable String sortDirection, @Nullable TableCrewFilterList tableCrewFilterList, ApiCallback _callback) throws ApiException Build call for readCrewsTable- Parameters:
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 -
-
readCrewsTable
public TableCrewList readCrewsTable(@Nullable Integer offset, @Nullable Integer limit, @Nullable TableCrewColumnType sortField, @Nullable String sortDirection, @Nullable TableCrewFilterList tableCrewFilterList) throws ApiException Reading crews (table) Getting a list of crews.- Parameters:
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 -
-
readCrewsTableWithHttpInfo
public ApiResponse<TableCrewList> readCrewsTableWithHttpInfo(@Nullable Integer offset, @Nullable Integer limit, @Nullable TableCrewColumnType sortField, @Nullable String sortDirection, @Nullable TableCrewFilterList tableCrewFilterList) throws ApiException Reading crews (table) Getting a list of crews.- Parameters:
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 -
-
readCrewsTableAsync
public okhttp3.Call readCrewsTableAsync(@Nullable Integer offset, @Nullable Integer limit, @Nullable TableCrewColumnType sortField, @Nullable String sortDirection, @Nullable TableCrewFilterList tableCrewFilterList, ApiCallback<TableCrewList> _callback) throws ApiException Reading crews (table) (asynchronously) Getting a list of crews.- Parameters:
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 -
-
readCrewsTrackpointsCall
public okhttp3.Call readCrewsTrackpointsCall(@Nullable Integer offset, @Nullable Integer limit, @Nullable TableCrewFilterList tableCrewFilterList, ApiCallback _callback) throws ApiException Build call for readCrewsTrackpoints- Parameters:
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)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 Data received 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 -
-
readCrewsTrackpoints
public CrewTrackpointList readCrewsTrackpoints(@Nullable Integer offset, @Nullable Integer limit, @Nullable TableCrewFilterList tableCrewFilterList) throws ApiException Crew trackpoints Getting a crew trackpoints.- Parameters:
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)tableCrewFilterList- Crews filter. (optional)- Returns:
- CrewTrackpointList
- 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 received 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 -
-
readCrewsTrackpointsWithHttpInfo
public ApiResponse<CrewTrackpointList> readCrewsTrackpointsWithHttpInfo(@Nullable Integer offset, @Nullable Integer limit, @Nullable TableCrewFilterList tableCrewFilterList) throws ApiException Crew trackpoints Getting a crew trackpoints.- Parameters:
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)tableCrewFilterList- Crews filter. (optional)- Returns:
- ApiResponse<CrewTrackpointList>
- 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 received 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 -
-
readCrewsTrackpointsAsync
public okhttp3.Call readCrewsTrackpointsAsync(@Nullable Integer offset, @Nullable Integer limit, @Nullable TableCrewFilterList tableCrewFilterList, ApiCallback<CrewTrackpointList> _callback) throws ApiException Crew trackpoints (asynchronously) Getting a crew trackpoints.- Parameters:
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)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 Data received 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 -
-
updateCrewCall
public okhttp3.Call updateCrewCall(@Nonnull CrewSpecification crewSpecification, ApiCallback _callback) throws ApiException Build call for updateCrew- Parameters:
crewSpecification- Crew update request. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 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 -
-
updateCrew
Crew update Updating the crew information.- Parameters:
crewSpecification- Crew update request. (required)- Returns:
- Crew
- 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 -
-
updateCrewWithHttpInfo
public ApiResponse<Crew> updateCrewWithHttpInfo(@Nonnull CrewSpecification crewSpecification) throws ApiException Crew update Updating the crew information.- Parameters:
crewSpecification- Crew update request. (required)- Returns:
- ApiResponse<Crew>
- 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 -
-
updateCrewAsync
public okhttp3.Call updateCrewAsync(@Nonnull CrewSpecification crewSpecification, ApiCallback<Crew> _callback) throws ApiException Crew update (asynchronously) Updating the crew information.- Parameters:
crewSpecification- Crew update request. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 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 -
-