Class CrewsApi

java.lang.Object
com.veeroute.lss.monitor.api.CrewsApi

public class CrewsApi extends Object
  • Constructor Details

    • CrewsApi

      public CrewsApi()
    • CrewsApi

      public CrewsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl(String customBaseUrl)
    • 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

      public Crew createCrew(@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:
      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

      public void deleteCrew(@Nonnull String crewKey) throws ApiException
      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

      public ApiResponse<Void> deleteCrewWithHttpInfo(@Nonnull String crewKey) throws ApiException
      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

      public void deleteCrewsBatch(@Nonnull List<String> requestBody) throws ApiException
      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

      public okhttp3.Call exportCrewsJsonCall(ApiCallback _callback) throws ApiException
      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

      public List<CrewSpecification> exportCrewsJson() throws ApiException
      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

      public ApiResponse<List<CrewSpecification>> exportCrewsJsonWithHttpInfo() throws ApiException
      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

      public okhttp3.Call exportCrewsXlsxCall(ApiCallback _callback) throws ApiException
      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

      public byte[] exportCrewsXlsx() throws ApiException
      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

      public ApiResponse<byte[]> exportCrewsXlsxWithHttpInfo() throws ApiException
      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

      public okhttp3.Call exportCrewsXlsxAsync(ApiCallback<byte[]> _callback) throws ApiException
      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

      public void importCrewsJson(@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)
      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

      public void importCrewsXlsx(@Nonnull byte[] body) throws ApiException
      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

      public ApiResponse<Void> importCrewsXlsxWithHttpInfo(@Nonnull byte[] body) throws ApiException
      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

      public WebCrew readCrew(@Nonnull String crewKey) throws ApiException
      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

      public ApiResponse<WebCrew> readCrewWithHttpInfo(@Nonnull String crewKey) throws ApiException
      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

      public Crew updateCrew(@Nonnull CrewSpecification crewSpecification) throws ApiException
      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 -