Class KnowledgeApi

java.lang.Object
com.mypurecloud.sdk.v2.api.KnowledgeApi

public class KnowledgeApi extends Object
  • Constructor Details

    • KnowledgeApi

      public KnowledgeApi()
    • KnowledgeApi

      public KnowledgeApi(ApiClient apiClient)
  • Method Details

    • deleteKnowledgeKnowledgebase

      public KnowledgeBase deleteKnowledgeKnowledgebase(String knowledgeBaseId) throws IOException, ApiException
      Delete knowledge base
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      Returns:
      KnowledgeBase
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseWithHttpInfo

      public ApiResponse<KnowledgeBase> deleteKnowledgeKnowledgebaseWithHttpInfo(String knowledgeBaseId) throws IOException
      Delete knowledge base
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      Returns:
      KnowledgeBase
      Throws:
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebase

      public KnowledgeBase deleteKnowledgeKnowledgebase(DeleteKnowledgeKnowledgebaseRequest request) throws IOException, ApiException
      Delete knowledge base
      Parameters:
      request - The request object
      Returns:
      KnowledgeBase
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebase

      public ApiResponse<KnowledgeBase> deleteKnowledgeKnowledgebase(ApiRequest<Void> request) throws IOException
      Delete knowledge base
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseCategory

      public CategoryResponse deleteKnowledgeKnowledgebaseCategory(String knowledgeBaseId, String categoryId) throws IOException, ApiException
      Delete category
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      categoryId - Category ID (required)
      Returns:
      CategoryResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseCategoryWithHttpInfo

      public ApiResponse<CategoryResponse> deleteKnowledgeKnowledgebaseCategoryWithHttpInfo(String knowledgeBaseId, String categoryId) throws IOException
      Delete category
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      categoryId - Category ID (required)
      Returns:
      CategoryResponse
      Throws:
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseCategory

      public CategoryResponse deleteKnowledgeKnowledgebaseCategory(DeleteKnowledgeKnowledgebaseCategoryRequest request) throws IOException, ApiException
      Delete category
      Parameters:
      request - The request object
      Returns:
      CategoryResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseCategory

      public ApiResponse<CategoryResponse> deleteKnowledgeKnowledgebaseCategory(ApiRequest<Void> request) throws IOException
      Delete category
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseDocument

      public void deleteKnowledgeKnowledgebaseDocument(String knowledgeBaseId, String documentId) throws IOException, ApiException
      Delete document.
      Parameters:
      knowledgeBaseId - Knowledge base ID. (required)
      documentId - Document ID. (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseDocumentWithHttpInfo

      public ApiResponse<Void> deleteKnowledgeKnowledgebaseDocumentWithHttpInfo(String knowledgeBaseId, String documentId) throws IOException
      Delete document.
      Parameters:
      knowledgeBaseId - Knowledge base ID. (required)
      documentId - Document ID. (required)
      Throws:
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseDocument

      public void deleteKnowledgeKnowledgebaseDocument(DeleteKnowledgeKnowledgebaseDocumentRequest request) throws IOException, ApiException
      Delete document.
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseDocument

      public ApiResponse<Void> deleteKnowledgeKnowledgebaseDocument(ApiRequest<Void> request) throws IOException
      Delete document.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseDocumentVariation

      public void deleteKnowledgeKnowledgebaseDocumentVariation(String documentVariationId, String documentId, String knowledgeBaseId) throws IOException, ApiException
      Delete a variation for a document.
      Parameters:
      documentVariationId - Globally unique identifier for a document variation. (required)
      documentId - Globally unique identifier for a document. (required)
      knowledgeBaseId - Globally unique identifier for a knowledge base. (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseDocumentVariationWithHttpInfo

      public ApiResponse<Void> deleteKnowledgeKnowledgebaseDocumentVariationWithHttpInfo(String documentVariationId, String documentId, String knowledgeBaseId) throws IOException
      Delete a variation for a document.
      Parameters:
      documentVariationId - Globally unique identifier for a document variation. (required)
      documentId - Globally unique identifier for a document. (required)
      knowledgeBaseId - Globally unique identifier for a knowledge base. (required)
      Throws:
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseDocumentVariation

      public void deleteKnowledgeKnowledgebaseDocumentVariation(DeleteKnowledgeKnowledgebaseDocumentVariationRequest request) throws IOException, ApiException
      Delete a variation for a document.
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseDocumentVariation

      public ApiResponse<Void> deleteKnowledgeKnowledgebaseDocumentVariation(ApiRequest<Void> request) throws IOException
      Delete a variation for a document.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseExportJob

      public void deleteKnowledgeKnowledgebaseExportJob(String knowledgeBaseId, String exportJobId) throws IOException, ApiException
      Delete export job
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      exportJobId - Export job ID (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseExportJobWithHttpInfo

      public ApiResponse<Void> deleteKnowledgeKnowledgebaseExportJobWithHttpInfo(String knowledgeBaseId, String exportJobId) throws IOException
      Delete export job
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      exportJobId - Export job ID (required)
      Throws:
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseExportJob

      public void deleteKnowledgeKnowledgebaseExportJob(DeleteKnowledgeKnowledgebaseExportJobRequest request) throws IOException, ApiException
      Delete export job
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseExportJob

      public ApiResponse<Void> deleteKnowledgeKnowledgebaseExportJob(ApiRequest<Void> request) throws IOException
      Delete export job
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseImportJob

      public void deleteKnowledgeKnowledgebaseImportJob(String knowledgeBaseId, String importJobId) throws IOException, ApiException
      Delete import job
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      importJobId - Import job ID (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseImportJobWithHttpInfo

      public ApiResponse<Void> deleteKnowledgeKnowledgebaseImportJobWithHttpInfo(String knowledgeBaseId, String importJobId) throws IOException
      Delete import job
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      importJobId - Import job ID (required)
      Throws:
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseImportJob

      public void deleteKnowledgeKnowledgebaseImportJob(DeleteKnowledgeKnowledgebaseImportJobRequest request) throws IOException, ApiException
      Delete import job
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseImportJob

      public ApiResponse<Void> deleteKnowledgeKnowledgebaseImportJob(ApiRequest<Void> request) throws IOException
      Delete import job
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseLabel

      public LabelResponse deleteKnowledgeKnowledgebaseLabel(String knowledgeBaseId, String labelId) throws IOException, ApiException
      Delete label
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      labelId - Label ID (required)
      Returns:
      LabelResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseLabelWithHttpInfo

      public ApiResponse<LabelResponse> deleteKnowledgeKnowledgebaseLabelWithHttpInfo(String knowledgeBaseId, String labelId) throws IOException
      Delete label
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      labelId - Label ID (required)
      Returns:
      LabelResponse
      Throws:
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseLabel

      public LabelResponse deleteKnowledgeKnowledgebaseLabel(DeleteKnowledgeKnowledgebaseLabelRequest request) throws IOException, ApiException
      Delete label
      Parameters:
      request - The request object
      Returns:
      LabelResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseLabel

      public ApiResponse<LabelResponse> deleteKnowledgeKnowledgebaseLabel(ApiRequest<Void> request) throws IOException
      Delete label
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseLanguageCategory

      public KnowledgeCategory deleteKnowledgeKnowledgebaseLanguageCategory(String categoryId, String knowledgeBaseId, String languageCode) throws IOException, ApiException
      Deprecated.
      Delete category
      Parameters:
      categoryId - Category ID (required)
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      Returns:
      KnowledgeCategory
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseLanguageCategoryWithHttpInfo

      public ApiResponse<KnowledgeCategory> deleteKnowledgeKnowledgebaseLanguageCategoryWithHttpInfo(String categoryId, String knowledgeBaseId, String languageCode) throws IOException
      Deprecated.
      Delete category
      Parameters:
      categoryId - Category ID (required)
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      Returns:
      KnowledgeCategory
      Throws:
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseLanguageCategory

      public KnowledgeCategory deleteKnowledgeKnowledgebaseLanguageCategory(DeleteKnowledgeKnowledgebaseLanguageCategoryRequest request) throws IOException, ApiException
      Deprecated.
      Delete category
      Parameters:
      request - The request object
      Returns:
      KnowledgeCategory
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseLanguageCategory

      public ApiResponse<KnowledgeCategory> deleteKnowledgeKnowledgebaseLanguageCategory(ApiRequest<Void> request) throws IOException
      Deprecated.
      Delete category
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseLanguageDocument

      public KnowledgeDocument deleteKnowledgeKnowledgebaseLanguageDocument(String documentId, String knowledgeBaseId, String languageCode) throws IOException, ApiException
      Deprecated.
      Delete document
      Parameters:
      documentId - Document ID (required)
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      Returns:
      KnowledgeDocument
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseLanguageDocumentWithHttpInfo

      public ApiResponse<KnowledgeDocument> deleteKnowledgeKnowledgebaseLanguageDocumentWithHttpInfo(String documentId, String knowledgeBaseId, String languageCode) throws IOException
      Deprecated.
      Delete document
      Parameters:
      documentId - Document ID (required)
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      Returns:
      KnowledgeDocument
      Throws:
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseLanguageDocument

      public KnowledgeDocument deleteKnowledgeKnowledgebaseLanguageDocument(DeleteKnowledgeKnowledgebaseLanguageDocumentRequest request) throws IOException, ApiException
      Deprecated.
      Delete document
      Parameters:
      request - The request object
      Returns:
      KnowledgeDocument
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseLanguageDocument

      public ApiResponse<KnowledgeDocument> deleteKnowledgeKnowledgebaseLanguageDocument(ApiRequest<Void> request) throws IOException
      Deprecated.
      Delete document
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseLanguageDocumentsImport

      public void deleteKnowledgeKnowledgebaseLanguageDocumentsImport(String knowledgeBaseId, String languageCode, String importId) throws IOException, ApiException
      Deprecated.
      Delete import operation
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      importId - Import ID (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseLanguageDocumentsImportWithHttpInfo

      public ApiResponse<Void> deleteKnowledgeKnowledgebaseLanguageDocumentsImportWithHttpInfo(String knowledgeBaseId, String languageCode, String importId) throws IOException
      Deprecated.
      Delete import operation
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      importId - Import ID (required)
      Throws:
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseLanguageDocumentsImport

      public void deleteKnowledgeKnowledgebaseLanguageDocumentsImport(DeleteKnowledgeKnowledgebaseLanguageDocumentsImportRequest request) throws IOException, ApiException
      Deprecated.
      Delete import operation
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteKnowledgeKnowledgebaseLanguageDocumentsImport

      public ApiResponse<Void> deleteKnowledgeKnowledgebaseLanguageDocumentsImport(ApiRequest<Void> request) throws IOException
      Deprecated.
      Delete import operation
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeGuestSessionCategories

      public GuestCategoryResponseListing getKnowledgeGuestSessionCategories(String sessionId, String before, String after, String pageSize, String parentId, Boolean isRoot, String name, String sortBy, String expand, Boolean includeDocumentCount) throws IOException, ApiException
      Get categories
      Parameters:
      sessionId - Knowledge guest session ID. (required)
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      parentId - If specified, retrieves the children categories by parent category ID. (optional)
      isRoot - If specified, retrieves only the root categories. (optional)
      name - Filter to return the categories that starts with the given category name. (optional)
      sortBy - Name: sort by category names alphabetically; Hierarchy: sort by the full path of hierarchical category names alphabetically (optional, default to Name)
      expand - The specified entity attribute will be filled. Supported value:\"Ancestors\": every ancestors will be filled via the parent attribute recursively,but only the id, name, parentId will be present for the ancestors. (optional)
      includeDocumentCount - If specified, retrieves the number of documents related to category. (optional)
      Returns:
      GuestCategoryResponseListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeGuestSessionCategoriesWithHttpInfo

      public ApiResponse<GuestCategoryResponseListing> getKnowledgeGuestSessionCategoriesWithHttpInfo(String sessionId, String before, String after, String pageSize, String parentId, Boolean isRoot, String name, String sortBy, String expand, Boolean includeDocumentCount) throws IOException
      Get categories
      Parameters:
      sessionId - Knowledge guest session ID. (required)
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      parentId - If specified, retrieves the children categories by parent category ID. (optional)
      isRoot - If specified, retrieves only the root categories. (optional)
      name - Filter to return the categories that starts with the given category name. (optional)
      sortBy - Name: sort by category names alphabetically; Hierarchy: sort by the full path of hierarchical category names alphabetically (optional, default to Name)
      expand - The specified entity attribute will be filled. Supported value:\"Ancestors\": every ancestors will be filled via the parent attribute recursively,but only the id, name, parentId will be present for the ancestors. (optional)
      includeDocumentCount - If specified, retrieves the number of documents related to category. (optional)
      Returns:
      GuestCategoryResponseListing
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeGuestSessionCategories

      public GuestCategoryResponseListing getKnowledgeGuestSessionCategories(GetKnowledgeGuestSessionCategoriesRequest request) throws IOException, ApiException
      Get categories
      Parameters:
      request - The request object
      Returns:
      GuestCategoryResponseListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeGuestSessionCategories

      public ApiResponse<GuestCategoryResponseListing> getKnowledgeGuestSessionCategories(ApiRequest<Void> request) throws IOException
      Get categories
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeGuestSessionDocument

      public KnowledgeGuestDocumentResponse getKnowledgeGuestSessionDocument(String sessionId, String documentId) throws IOException, ApiException
      Get a knowledge document by ID.
      Parameters:
      sessionId - Knowledge guest session ID. (required)
      documentId - Document ID (required)
      Returns:
      KnowledgeGuestDocumentResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeGuestSessionDocumentWithHttpInfo

      public ApiResponse<KnowledgeGuestDocumentResponse> getKnowledgeGuestSessionDocumentWithHttpInfo(String sessionId, String documentId) throws IOException
      Get a knowledge document by ID.
      Parameters:
      sessionId - Knowledge guest session ID. (required)
      documentId - Document ID (required)
      Returns:
      KnowledgeGuestDocumentResponse
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeGuestSessionDocument

      public KnowledgeGuestDocumentResponse getKnowledgeGuestSessionDocument(GetKnowledgeGuestSessionDocumentRequest request) throws IOException, ApiException
      Get a knowledge document by ID.
      Parameters:
      request - The request object
      Returns:
      KnowledgeGuestDocumentResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeGuestSessionDocument

      public ApiResponse<KnowledgeGuestDocumentResponse> getKnowledgeGuestSessionDocument(ApiRequest<Void> request) throws IOException
      Get a knowledge document by ID.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeGuestSessionDocuments

      public KnowledgeGuestDocumentResponseListing getKnowledgeGuestSessionDocuments(String sessionId, List<String> categoryId, Integer pageSize) throws IOException, ApiException
      Get documents.
      Parameters:
      sessionId - Knowledge guest session ID. (required)
      categoryId - If specified, retrieves documents associated with category ids, comma separated values expected. (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      Returns:
      KnowledgeGuestDocumentResponseListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeGuestSessionDocumentsWithHttpInfo

      public ApiResponse<KnowledgeGuestDocumentResponseListing> getKnowledgeGuestSessionDocumentsWithHttpInfo(String sessionId, List<String> categoryId, Integer pageSize) throws IOException
      Get documents.
      Parameters:
      sessionId - Knowledge guest session ID. (required)
      categoryId - If specified, retrieves documents associated with category ids, comma separated values expected. (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      Returns:
      KnowledgeGuestDocumentResponseListing
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeGuestSessionDocuments

      Get documents.
      Parameters:
      request - The request object
      Returns:
      KnowledgeGuestDocumentResponseListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeGuestSessionDocuments

      public ApiResponse<KnowledgeGuestDocumentResponseListing> getKnowledgeGuestSessionDocuments(ApiRequest<Void> request) throws IOException
      Get documents.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebase

      public KnowledgeBase getKnowledgeKnowledgebase(String knowledgeBaseId) throws IOException, ApiException
      Get knowledge base
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      Returns:
      KnowledgeBase
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseWithHttpInfo

      public ApiResponse<KnowledgeBase> getKnowledgeKnowledgebaseWithHttpInfo(String knowledgeBaseId) throws IOException
      Get knowledge base
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      Returns:
      KnowledgeBase
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebase

      public KnowledgeBase getKnowledgeKnowledgebase(GetKnowledgeKnowledgebaseRequest request) throws IOException, ApiException
      Get knowledge base
      Parameters:
      request - The request object
      Returns:
      KnowledgeBase
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebase

      public ApiResponse<KnowledgeBase> getKnowledgeKnowledgebase(ApiRequest<Void> request) throws IOException
      Get knowledge base
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseCategories

      public CategoryResponseListing getKnowledgeKnowledgebaseCategories(String knowledgeBaseId, String before, String after, String pageSize, String parentId, Boolean isRoot, String name, String sortBy, String expand, Boolean includeDocumentCount) throws IOException, ApiException
      Get categories
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      parentId - If specified, retrieves the children categories by parent category ID. (optional)
      isRoot - If specified, retrieves only the root categories. (optional)
      name - Filter to return the categories that starts with the given category name. (optional)
      sortBy - Name: sort by category names alphabetically; Hierarchy: sort by the full path of hierarchical category names alphabetically (optional, default to Name)
      expand - The specified entity attribute will be filled. Supported value:\"Ancestors\": every ancestors will be filled via the parent attribute recursively,but only the id, name, parentId will be present for the ancestors. (optional)
      includeDocumentCount - If specified, retrieves the number of documents related to category. (optional)
      Returns:
      CategoryResponseListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseCategoriesWithHttpInfo

      public ApiResponse<CategoryResponseListing> getKnowledgeKnowledgebaseCategoriesWithHttpInfo(String knowledgeBaseId, String before, String after, String pageSize, String parentId, Boolean isRoot, String name, String sortBy, String expand, Boolean includeDocumentCount) throws IOException
      Get categories
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      parentId - If specified, retrieves the children categories by parent category ID. (optional)
      isRoot - If specified, retrieves only the root categories. (optional)
      name - Filter to return the categories that starts with the given category name. (optional)
      sortBy - Name: sort by category names alphabetically; Hierarchy: sort by the full path of hierarchical category names alphabetically (optional, default to Name)
      expand - The specified entity attribute will be filled. Supported value:\"Ancestors\": every ancestors will be filled via the parent attribute recursively,but only the id, name, parentId will be present for the ancestors. (optional)
      includeDocumentCount - If specified, retrieves the number of documents related to category. (optional)
      Returns:
      CategoryResponseListing
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseCategories

      public CategoryResponseListing getKnowledgeKnowledgebaseCategories(GetKnowledgeKnowledgebaseCategoriesRequest request) throws IOException, ApiException
      Get categories
      Parameters:
      request - The request object
      Returns:
      CategoryResponseListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseCategories

      public ApiResponse<CategoryResponseListing> getKnowledgeKnowledgebaseCategories(ApiRequest<Void> request) throws IOException
      Get categories
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseCategory

      public CategoryResponse getKnowledgeKnowledgebaseCategory(String knowledgeBaseId, String categoryId) throws IOException, ApiException
      Get category
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      categoryId - Category ID (required)
      Returns:
      CategoryResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseCategoryWithHttpInfo

      public ApiResponse<CategoryResponse> getKnowledgeKnowledgebaseCategoryWithHttpInfo(String knowledgeBaseId, String categoryId) throws IOException
      Get category
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      categoryId - Category ID (required)
      Returns:
      CategoryResponse
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseCategory

      public CategoryResponse getKnowledgeKnowledgebaseCategory(GetKnowledgeKnowledgebaseCategoryRequest request) throws IOException, ApiException
      Get category
      Parameters:
      request - The request object
      Returns:
      CategoryResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseCategory

      public ApiResponse<CategoryResponse> getKnowledgeKnowledgebaseCategory(ApiRequest<Void> request) throws IOException
      Get category
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocument

      public KnowledgeDocumentResponse getKnowledgeKnowledgebaseDocument(String knowledgeBaseId, String documentId, List<String> expand, String state) throws IOException, ApiException
      Get document.
      Parameters:
      knowledgeBaseId - Knowledge base ID. (required)
      documentId - Document ID. (required)
      expand - The specified entity attributes will be filled. Comma separated values expected. Max No. of variations that can be returned on expand is 20. (optional)
      state - \"when state is \"Draft\", draft version of the document is returned,otherwise by default published version is returned in the response. (optional)
      Returns:
      KnowledgeDocumentResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentWithHttpInfo

      public ApiResponse<KnowledgeDocumentResponse> getKnowledgeKnowledgebaseDocumentWithHttpInfo(String knowledgeBaseId, String documentId, List<String> expand, String state) throws IOException
      Get document.
      Parameters:
      knowledgeBaseId - Knowledge base ID. (required)
      documentId - Document ID. (required)
      expand - The specified entity attributes will be filled. Comma separated values expected. Max No. of variations that can be returned on expand is 20. (optional)
      state - \"when state is \"Draft\", draft version of the document is returned,otherwise by default published version is returned in the response. (optional)
      Returns:
      KnowledgeDocumentResponse
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocument

      public KnowledgeDocumentResponse getKnowledgeKnowledgebaseDocument(GetKnowledgeKnowledgebaseDocumentRequest request) throws IOException, ApiException
      Get document.
      Parameters:
      request - The request object
      Returns:
      KnowledgeDocumentResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocument

      public ApiResponse<KnowledgeDocumentResponse> getKnowledgeKnowledgebaseDocument(ApiRequest<Void> request) throws IOException
      Get document.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentFeedback

      public KnowledgeDocumentFeedbackResponseListing getKnowledgeKnowledgebaseDocumentFeedback(String knowledgeBaseId, String documentId, String before, String after, String pageSize, Boolean onlyCommented, String documentVersionId, String documentVariationId, String appType, String queryType, String userId, String queueId, String state) throws IOException, ApiException
      Get a list of feedback records given on a document
      Parameters:
      knowledgeBaseId - Knowledge base ID. (required)
      documentId - Document ID. (required)
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      onlyCommented - If true, only feedback records that have comment are returned. If false, feedback records with and without comment are returned. Default: false. (optional)
      documentVersionId - Document version ID to filter by. Supported only if onlyCommented=true is set. (optional)
      documentVariationId - Document variation ID to filter by. Supported only if onlyCommented=true is set. (optional)
      appType - Application type to filter by. Supported only if onlyCommented=true is set. (optional)
      queryType - Query type to filter by. Supported only if onlyCommented=true is set. (optional)
      userId - The ID of the user, who created the feedback, to filter by. Supported only if onlyCommented=true is set. (optional)
      queueId - Queue ID to filter by. Supported only if onlyCommented=true is set. (optional)
      state - State to filter by. Supported only if onlyCommented=true is set. Default: Final (optional)
      Returns:
      KnowledgeDocumentFeedbackResponseListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentFeedbackWithHttpInfo

      public ApiResponse<KnowledgeDocumentFeedbackResponseListing> getKnowledgeKnowledgebaseDocumentFeedbackWithHttpInfo(String knowledgeBaseId, String documentId, String before, String after, String pageSize, Boolean onlyCommented, String documentVersionId, String documentVariationId, String appType, String queryType, String userId, String queueId, String state) throws IOException
      Get a list of feedback records given on a document
      Parameters:
      knowledgeBaseId - Knowledge base ID. (required)
      documentId - Document ID. (required)
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      onlyCommented - If true, only feedback records that have comment are returned. If false, feedback records with and without comment are returned. Default: false. (optional)
      documentVersionId - Document version ID to filter by. Supported only if onlyCommented=true is set. (optional)
      documentVariationId - Document variation ID to filter by. Supported only if onlyCommented=true is set. (optional)
      appType - Application type to filter by. Supported only if onlyCommented=true is set. (optional)
      queryType - Query type to filter by. Supported only if onlyCommented=true is set. (optional)
      userId - The ID of the user, who created the feedback, to filter by. Supported only if onlyCommented=true is set. (optional)
      queueId - Queue ID to filter by. Supported only if onlyCommented=true is set. (optional)
      state - State to filter by. Supported only if onlyCommented=true is set. Default: Final (optional)
      Returns:
      KnowledgeDocumentFeedbackResponseListing
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentFeedback

      Get a list of feedback records given on a document
      Parameters:
      request - The request object
      Returns:
      KnowledgeDocumentFeedbackResponseListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentFeedback

      public ApiResponse<KnowledgeDocumentFeedbackResponseListing> getKnowledgeKnowledgebaseDocumentFeedback(ApiRequest<Void> request) throws IOException
      Get a list of feedback records given on a document
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentFeedbackFeedbackId

      public KnowledgeDocumentFeedbackResponse getKnowledgeKnowledgebaseDocumentFeedbackFeedbackId(String knowledgeBaseId, String documentId, String feedbackId) throws IOException, ApiException
      Get a single feedback record given on a document
      Parameters:
      knowledgeBaseId - Knowledge base ID. (required)
      documentId - Document ID. (required)
      feedbackId - Feedback ID. (required)
      Returns:
      KnowledgeDocumentFeedbackResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentFeedbackFeedbackIdWithHttpInfo

      public ApiResponse<KnowledgeDocumentFeedbackResponse> getKnowledgeKnowledgebaseDocumentFeedbackFeedbackIdWithHttpInfo(String knowledgeBaseId, String documentId, String feedbackId) throws IOException
      Get a single feedback record given on a document
      Parameters:
      knowledgeBaseId - Knowledge base ID. (required)
      documentId - Document ID. (required)
      feedbackId - Feedback ID. (required)
      Returns:
      KnowledgeDocumentFeedbackResponse
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentFeedbackFeedbackId

      public KnowledgeDocumentFeedbackResponse getKnowledgeKnowledgebaseDocumentFeedbackFeedbackId(GetKnowledgeKnowledgebaseDocumentFeedbackFeedbackIdRequest request) throws IOException, ApiException
      Get a single feedback record given on a document
      Parameters:
      request - The request object
      Returns:
      KnowledgeDocumentFeedbackResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentFeedbackFeedbackId

      public ApiResponse<KnowledgeDocumentFeedbackResponse> getKnowledgeKnowledgebaseDocumentFeedbackFeedbackId(ApiRequest<Void> request) throws IOException
      Get a single feedback record given on a document
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentVariation

      public DocumentVariation getKnowledgeKnowledgebaseDocumentVariation(String documentVariationId, String documentId, String knowledgeBaseId, String documentState) throws IOException, ApiException
      Get a variation for a document.
      Parameters:
      documentVariationId - Globally unique identifier for a document variation. (required)
      documentId - Globally unique identifier for a document. (required)
      knowledgeBaseId - Globally unique identifier for a knowledge base. (required)
      documentState - The state of the document. (optional)
      Returns:
      DocumentVariation
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentVariationWithHttpInfo

      public ApiResponse<DocumentVariation> getKnowledgeKnowledgebaseDocumentVariationWithHttpInfo(String documentVariationId, String documentId, String knowledgeBaseId, String documentState) throws IOException
      Get a variation for a document.
      Parameters:
      documentVariationId - Globally unique identifier for a document variation. (required)
      documentId - Globally unique identifier for a document. (required)
      knowledgeBaseId - Globally unique identifier for a knowledge base. (required)
      documentState - The state of the document. (optional)
      Returns:
      DocumentVariation
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentVariation

      public DocumentVariation getKnowledgeKnowledgebaseDocumentVariation(GetKnowledgeKnowledgebaseDocumentVariationRequest request) throws IOException, ApiException
      Get a variation for a document.
      Parameters:
      request - The request object
      Returns:
      DocumentVariation
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentVariation

      public ApiResponse<DocumentVariation> getKnowledgeKnowledgebaseDocumentVariation(ApiRequest<Void> request) throws IOException
      Get a variation for a document.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentVariations

      public DocumentVariationListing getKnowledgeKnowledgebaseDocumentVariations(String knowledgeBaseId, String documentId, String before, String after, String pageSize, String documentState) throws IOException, ApiException
      Get variations for a document.
      Parameters:
      knowledgeBaseId - Globally unique identifier for the knowledge base. (required)
      documentId - Globally unique identifier for the document. (required)
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      documentState - The state of the document. (optional)
      Returns:
      DocumentVariationListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentVariationsWithHttpInfo

      public ApiResponse<DocumentVariationListing> getKnowledgeKnowledgebaseDocumentVariationsWithHttpInfo(String knowledgeBaseId, String documentId, String before, String after, String pageSize, String documentState) throws IOException
      Get variations for a document.
      Parameters:
      knowledgeBaseId - Globally unique identifier for the knowledge base. (required)
      documentId - Globally unique identifier for the document. (required)
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      documentState - The state of the document. (optional)
      Returns:
      DocumentVariationListing
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentVariations

      public DocumentVariationListing getKnowledgeKnowledgebaseDocumentVariations(GetKnowledgeKnowledgebaseDocumentVariationsRequest request) throws IOException, ApiException
      Get variations for a document.
      Parameters:
      request - The request object
      Returns:
      DocumentVariationListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentVariations

      public ApiResponse<DocumentVariationListing> getKnowledgeKnowledgebaseDocumentVariations(ApiRequest<Void> request) throws IOException
      Get variations for a document.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentVersion

      public KnowledgeDocumentVersion getKnowledgeKnowledgebaseDocumentVersion(String knowledgeBaseId, String documentId, String versionId, List<String> expand) throws IOException, ApiException
      Get document version.
      Parameters:
      knowledgeBaseId - Globally unique identifier for the knowledge base. (required)
      documentId - Globally unique identifier for the document. (required)
      versionId - Globally unique identifier for the document version. (required)
      expand - The specified entity attributes will be filled. Comma separated values expected. (optional)
      Returns:
      KnowledgeDocumentVersion
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentVersionWithHttpInfo

      public ApiResponse<KnowledgeDocumentVersion> getKnowledgeKnowledgebaseDocumentVersionWithHttpInfo(String knowledgeBaseId, String documentId, String versionId, List<String> expand) throws IOException
      Get document version.
      Parameters:
      knowledgeBaseId - Globally unique identifier for the knowledge base. (required)
      documentId - Globally unique identifier for the document. (required)
      versionId - Globally unique identifier for the document version. (required)
      expand - The specified entity attributes will be filled. Comma separated values expected. (optional)
      Returns:
      KnowledgeDocumentVersion
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentVersion

      public KnowledgeDocumentVersion getKnowledgeKnowledgebaseDocumentVersion(GetKnowledgeKnowledgebaseDocumentVersionRequest request) throws IOException, ApiException
      Get document version.
      Parameters:
      request - The request object
      Returns:
      KnowledgeDocumentVersion
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentVersion

      public ApiResponse<KnowledgeDocumentVersion> getKnowledgeKnowledgebaseDocumentVersion(ApiRequest<Void> request) throws IOException
      Get document version.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentVersionVariation

      public KnowledgeDocumentVersionVariation getKnowledgeKnowledgebaseDocumentVersionVariation(String knowledgeBaseId, String documentId, String versionId, String variationId) throws IOException, ApiException
      Get variation for the given document version.
      Parameters:
      knowledgeBaseId - Globally unique identifier for the knowledge base. (required)
      documentId - Globally unique identifier for the document. (required)
      versionId - Globally unique identifier for the document version. (required)
      variationId - Globally unique identifier for the document version variation. (required)
      Returns:
      KnowledgeDocumentVersionVariation
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentVersionVariationWithHttpInfo

      public ApiResponse<KnowledgeDocumentVersionVariation> getKnowledgeKnowledgebaseDocumentVersionVariationWithHttpInfo(String knowledgeBaseId, String documentId, String versionId, String variationId) throws IOException
      Get variation for the given document version.
      Parameters:
      knowledgeBaseId - Globally unique identifier for the knowledge base. (required)
      documentId - Globally unique identifier for the document. (required)
      versionId - Globally unique identifier for the document version. (required)
      variationId - Globally unique identifier for the document version variation. (required)
      Returns:
      KnowledgeDocumentVersionVariation
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentVersionVariation

      public KnowledgeDocumentVersionVariation getKnowledgeKnowledgebaseDocumentVersionVariation(GetKnowledgeKnowledgebaseDocumentVersionVariationRequest request) throws IOException, ApiException
      Get variation for the given document version.
      Parameters:
      request - The request object
      Returns:
      KnowledgeDocumentVersionVariation
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentVersionVariation

      public ApiResponse<KnowledgeDocumentVersionVariation> getKnowledgeKnowledgebaseDocumentVersionVariation(ApiRequest<Void> request) throws IOException
      Get variation for the given document version.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentVersionVariations

      public KnowledgeDocumentVersionVariationListing getKnowledgeKnowledgebaseDocumentVersionVariations(String knowledgeBaseId, String documentId, String versionId, String before, String after, String pageSize) throws IOException, ApiException
      Get variations for the given document version.
      Parameters:
      knowledgeBaseId - Globally unique identifier for the knowledge base. (required)
      documentId - Globally unique identifier for the document. (required)
      versionId - Globally unique identifier for the document version. (required)
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      Returns:
      KnowledgeDocumentVersionVariationListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentVersionVariationsWithHttpInfo

      public ApiResponse<KnowledgeDocumentVersionVariationListing> getKnowledgeKnowledgebaseDocumentVersionVariationsWithHttpInfo(String knowledgeBaseId, String documentId, String versionId, String before, String after, String pageSize) throws IOException
      Get variations for the given document version.
      Parameters:
      knowledgeBaseId - Globally unique identifier for the knowledge base. (required)
      documentId - Globally unique identifier for the document. (required)
      versionId - Globally unique identifier for the document version. (required)
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      Returns:
      KnowledgeDocumentVersionVariationListing
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentVersionVariations

      public KnowledgeDocumentVersionVariationListing getKnowledgeKnowledgebaseDocumentVersionVariations(GetKnowledgeKnowledgebaseDocumentVersionVariationsRequest request) throws IOException, ApiException
      Get variations for the given document version.
      Parameters:
      request - The request object
      Returns:
      KnowledgeDocumentVersionVariationListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentVersionVariations

      public ApiResponse<KnowledgeDocumentVersionVariationListing> getKnowledgeKnowledgebaseDocumentVersionVariations(ApiRequest<Void> request) throws IOException
      Get variations for the given document version.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentVersions

      public KnowledgeDocumentVersionListing getKnowledgeKnowledgebaseDocumentVersions(String knowledgeBaseId, String documentId, String before, String after, String pageSize, List<String> expand) throws IOException, ApiException
      Get document versions.
      Parameters:
      knowledgeBaseId - Globally unique identifier for the knowledge base. (required)
      documentId - Globally unique identifier for the document. (required)
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      expand - The specified entity attributes will be filled. Comma separated values expected. (optional)
      Returns:
      KnowledgeDocumentVersionListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentVersionsWithHttpInfo

      public ApiResponse<KnowledgeDocumentVersionListing> getKnowledgeKnowledgebaseDocumentVersionsWithHttpInfo(String knowledgeBaseId, String documentId, String before, String after, String pageSize, List<String> expand) throws IOException
      Get document versions.
      Parameters:
      knowledgeBaseId - Globally unique identifier for the knowledge base. (required)
      documentId - Globally unique identifier for the document. (required)
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      expand - The specified entity attributes will be filled. Comma separated values expected. (optional)
      Returns:
      KnowledgeDocumentVersionListing
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentVersions

      public KnowledgeDocumentVersionListing getKnowledgeKnowledgebaseDocumentVersions(GetKnowledgeKnowledgebaseDocumentVersionsRequest request) throws IOException, ApiException
      Get document versions.
      Parameters:
      request - The request object
      Returns:
      KnowledgeDocumentVersionListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentVersions

      public ApiResponse<KnowledgeDocumentVersionListing> getKnowledgeKnowledgebaseDocumentVersions(ApiRequest<Void> request) throws IOException
      Get document versions.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocuments

      public KnowledgeDocumentResponseListing getKnowledgeKnowledgebaseDocuments(String knowledgeBaseId, String before, String after, String pageSize, String interval, List<String> documentId, List<String> categoryId, Boolean includeSubcategories, Boolean includeDrafts, List<String> labelIds, List<String> expand, List<String> externalIds) throws IOException, ApiException
      Get documents.
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      interval - Retrieves the documents modified in specified date and time range. If the after and before cursor parameters are within this interval, it would return valid data, otherwise it throws an error.The dates in the interval are represented in ISO-8601 format: YYYY-MM-DDThh:mm:ssZ/YYYY-MM-DDThh:mm:ssZ (optional)
      documentId - Retrieves the specified documents, comma separated values expected. (optional)
      categoryId - If specified, retrieves documents associated with category ids, comma separated values expected. (optional)
      includeSubcategories - Works along with 'categoryId' query parameter. If specified, retrieves documents associated with category ids and its children categories. (optional)
      includeDrafts - If includeDrafts is true, Documents in the draft state are also returned in the response. (optional)
      labelIds - If specified, retrieves documents associated with label ids, comma separated values expected. (optional)
      expand - The specified entity attributes will be filled. Comma separated values expected. (optional)
      externalIds - If specified, retrieves documents associated with external ids, comma separated values expected. (optional)
      Returns:
      KnowledgeDocumentResponseListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocumentsWithHttpInfo

      public ApiResponse<KnowledgeDocumentResponseListing> getKnowledgeKnowledgebaseDocumentsWithHttpInfo(String knowledgeBaseId, String before, String after, String pageSize, String interval, List<String> documentId, List<String> categoryId, Boolean includeSubcategories, Boolean includeDrafts, List<String> labelIds, List<String> expand, List<String> externalIds) throws IOException
      Get documents.
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      interval - Retrieves the documents modified in specified date and time range. If the after and before cursor parameters are within this interval, it would return valid data, otherwise it throws an error.The dates in the interval are represented in ISO-8601 format: YYYY-MM-DDThh:mm:ssZ/YYYY-MM-DDThh:mm:ssZ (optional)
      documentId - Retrieves the specified documents, comma separated values expected. (optional)
      categoryId - If specified, retrieves documents associated with category ids, comma separated values expected. (optional)
      includeSubcategories - Works along with 'categoryId' query parameter. If specified, retrieves documents associated with category ids and its children categories. (optional)
      includeDrafts - If includeDrafts is true, Documents in the draft state are also returned in the response. (optional)
      labelIds - If specified, retrieves documents associated with label ids, comma separated values expected. (optional)
      expand - The specified entity attributes will be filled. Comma separated values expected. (optional)
      externalIds - If specified, retrieves documents associated with external ids, comma separated values expected. (optional)
      Returns:
      KnowledgeDocumentResponseListing
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocuments

      public KnowledgeDocumentResponseListing getKnowledgeKnowledgebaseDocuments(GetKnowledgeKnowledgebaseDocumentsRequest request) throws IOException, ApiException
      Get documents.
      Parameters:
      request - The request object
      Returns:
      KnowledgeDocumentResponseListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseDocuments

      public ApiResponse<KnowledgeDocumentResponseListing> getKnowledgeKnowledgebaseDocuments(ApiRequest<Void> request) throws IOException
      Get documents.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseExportJob

      public KnowledgeExportJobResponse getKnowledgeKnowledgebaseExportJob(String knowledgeBaseId, String exportJobId) throws IOException, ApiException
      Get export job report
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      exportJobId - Export job ID (required)
      Returns:
      KnowledgeExportJobResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseExportJobWithHttpInfo

      public ApiResponse<KnowledgeExportJobResponse> getKnowledgeKnowledgebaseExportJobWithHttpInfo(String knowledgeBaseId, String exportJobId) throws IOException
      Get export job report
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      exportJobId - Export job ID (required)
      Returns:
      KnowledgeExportJobResponse
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseExportJob

      public KnowledgeExportJobResponse getKnowledgeKnowledgebaseExportJob(GetKnowledgeKnowledgebaseExportJobRequest request) throws IOException, ApiException
      Get export job report
      Parameters:
      request - The request object
      Returns:
      KnowledgeExportJobResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseExportJob

      public ApiResponse<KnowledgeExportJobResponse> getKnowledgeKnowledgebaseExportJob(ApiRequest<Void> request) throws IOException
      Get export job report
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseImportJob

      public KnowledgeImportJobResponse getKnowledgeKnowledgebaseImportJob(String knowledgeBaseId, String importJobId, List<String> expand) throws IOException, ApiException
      Get import job report
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      importJobId - Import job ID (required)
      expand - If expand contains 'urls' downloadURL and failedEntitiesURL will be filled. (optional)
      Returns:
      KnowledgeImportJobResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseImportJobWithHttpInfo

      public ApiResponse<KnowledgeImportJobResponse> getKnowledgeKnowledgebaseImportJobWithHttpInfo(String knowledgeBaseId, String importJobId, List<String> expand) throws IOException
      Get import job report
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      importJobId - Import job ID (required)
      expand - If expand contains 'urls' downloadURL and failedEntitiesURL will be filled. (optional)
      Returns:
      KnowledgeImportJobResponse
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseImportJob

      public KnowledgeImportJobResponse getKnowledgeKnowledgebaseImportJob(GetKnowledgeKnowledgebaseImportJobRequest request) throws IOException, ApiException
      Get import job report
      Parameters:
      request - The request object
      Returns:
      KnowledgeImportJobResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseImportJob

      public ApiResponse<KnowledgeImportJobResponse> getKnowledgeKnowledgebaseImportJob(ApiRequest<Void> request) throws IOException
      Get import job report
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLabel

      public LabelResponse getKnowledgeKnowledgebaseLabel(String knowledgeBaseId, String labelId) throws IOException, ApiException
      Get label
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      labelId - Label ID (required)
      Returns:
      LabelResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLabelWithHttpInfo

      public ApiResponse<LabelResponse> getKnowledgeKnowledgebaseLabelWithHttpInfo(String knowledgeBaseId, String labelId) throws IOException
      Get label
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      labelId - Label ID (required)
      Returns:
      LabelResponse
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLabel

      public LabelResponse getKnowledgeKnowledgebaseLabel(GetKnowledgeKnowledgebaseLabelRequest request) throws IOException, ApiException
      Get label
      Parameters:
      request - The request object
      Returns:
      LabelResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLabel

      public ApiResponse<LabelResponse> getKnowledgeKnowledgebaseLabel(ApiRequest<Void> request) throws IOException
      Get label
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLabels

      public LabelListing getKnowledgeKnowledgebaseLabels(String knowledgeBaseId, String before, String after, String pageSize, String name, Boolean includeDocumentCount) throws IOException, ApiException
      Get labels
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      name - Filter to return the labels that contains the given phrase in the name. (optional)
      includeDocumentCount - If specified, retrieves the number of documents related to label. (optional)
      Returns:
      LabelListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLabelsWithHttpInfo

      public ApiResponse<LabelListing> getKnowledgeKnowledgebaseLabelsWithHttpInfo(String knowledgeBaseId, String before, String after, String pageSize, String name, Boolean includeDocumentCount) throws IOException
      Get labels
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      name - Filter to return the labels that contains the given phrase in the name. (optional)
      includeDocumentCount - If specified, retrieves the number of documents related to label. (optional)
      Returns:
      LabelListing
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLabels

      public LabelListing getKnowledgeKnowledgebaseLabels(GetKnowledgeKnowledgebaseLabelsRequest request) throws IOException, ApiException
      Get labels
      Parameters:
      request - The request object
      Returns:
      LabelListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLabels

      public ApiResponse<LabelListing> getKnowledgeKnowledgebaseLabels(ApiRequest<Void> request) throws IOException
      Get labels
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageCategories

      public CategoryListing getKnowledgeKnowledgebaseLanguageCategories(String knowledgeBaseId, String languageCode, String before, String after, String limit, String pageSize, String name) throws IOException, ApiException
      Deprecated.
      Get categories
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      limit - Number of entities to return. Maximum of 200. Deprecated in favour of pageSize (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      name - Filter to return the categories that starts with the given category name. (optional)
      Returns:
      CategoryListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageCategoriesWithHttpInfo

      public ApiResponse<CategoryListing> getKnowledgeKnowledgebaseLanguageCategoriesWithHttpInfo(String knowledgeBaseId, String languageCode, String before, String after, String limit, String pageSize, String name) throws IOException
      Deprecated.
      Get categories
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      limit - Number of entities to return. Maximum of 200. Deprecated in favour of pageSize (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      name - Filter to return the categories that starts with the given category name. (optional)
      Returns:
      CategoryListing
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageCategories

      public CategoryListing getKnowledgeKnowledgebaseLanguageCategories(GetKnowledgeKnowledgebaseLanguageCategoriesRequest request) throws IOException, ApiException
      Deprecated.
      Get categories
      Parameters:
      request - The request object
      Returns:
      CategoryListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageCategories

      public ApiResponse<CategoryListing> getKnowledgeKnowledgebaseLanguageCategories(ApiRequest<Void> request) throws IOException
      Deprecated.
      Get categories
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageCategory

      public KnowledgeExtendedCategory getKnowledgeKnowledgebaseLanguageCategory(String categoryId, String knowledgeBaseId, String languageCode) throws IOException, ApiException
      Deprecated.
      Get category
      Parameters:
      categoryId - Category ID (required)
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      Returns:
      KnowledgeExtendedCategory
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageCategoryWithHttpInfo

      public ApiResponse<KnowledgeExtendedCategory> getKnowledgeKnowledgebaseLanguageCategoryWithHttpInfo(String categoryId, String knowledgeBaseId, String languageCode) throws IOException
      Deprecated.
      Get category
      Parameters:
      categoryId - Category ID (required)
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      Returns:
      KnowledgeExtendedCategory
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageCategory

      public KnowledgeExtendedCategory getKnowledgeKnowledgebaseLanguageCategory(GetKnowledgeKnowledgebaseLanguageCategoryRequest request) throws IOException, ApiException
      Deprecated.
      Get category
      Parameters:
      request - The request object
      Returns:
      KnowledgeExtendedCategory
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageCategory

      public ApiResponse<KnowledgeExtendedCategory> getKnowledgeKnowledgebaseLanguageCategory(ApiRequest<Void> request) throws IOException
      Deprecated.
      Get category
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageDocument

      public KnowledgeDocument getKnowledgeKnowledgebaseLanguageDocument(String documentId, String knowledgeBaseId, String languageCode) throws IOException, ApiException
      Deprecated.
      Get document
      Parameters:
      documentId - Document ID (required)
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      Returns:
      KnowledgeDocument
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageDocumentWithHttpInfo

      public ApiResponse<KnowledgeDocument> getKnowledgeKnowledgebaseLanguageDocumentWithHttpInfo(String documentId, String knowledgeBaseId, String languageCode) throws IOException
      Deprecated.
      Get document
      Parameters:
      documentId - Document ID (required)
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      Returns:
      KnowledgeDocument
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageDocument

      public KnowledgeDocument getKnowledgeKnowledgebaseLanguageDocument(GetKnowledgeKnowledgebaseLanguageDocumentRequest request) throws IOException, ApiException
      Deprecated.
      Get document
      Parameters:
      request - The request object
      Returns:
      KnowledgeDocument
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageDocument

      public ApiResponse<KnowledgeDocument> getKnowledgeKnowledgebaseLanguageDocument(ApiRequest<Void> request) throws IOException
      Deprecated.
      Get document
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageDocumentUpload

      public KnowledgeDocumentContentUpload getKnowledgeKnowledgebaseLanguageDocumentUpload(String documentId, String knowledgeBaseId, String languageCode, String uploadId) throws IOException, ApiException
      Deprecated.
      Get document content upload status getKnowledgeKnowledgebaseLanguageDocumentUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      documentId - Document ID (required)
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      uploadId - UploadId (required)
      Returns:
      KnowledgeDocumentContentUpload
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageDocumentUploadWithHttpInfo

      public ApiResponse<KnowledgeDocumentContentUpload> getKnowledgeKnowledgebaseLanguageDocumentUploadWithHttpInfo(String documentId, String knowledgeBaseId, String languageCode, String uploadId) throws IOException
      Deprecated.
      Get document content upload status getKnowledgeKnowledgebaseLanguageDocumentUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      documentId - Document ID (required)
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      uploadId - UploadId (required)
      Returns:
      KnowledgeDocumentContentUpload
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageDocumentUpload

      public KnowledgeDocumentContentUpload getKnowledgeKnowledgebaseLanguageDocumentUpload(GetKnowledgeKnowledgebaseLanguageDocumentUploadRequest request) throws IOException, ApiException
      Deprecated.
      Get document content upload status getKnowledgeKnowledgebaseLanguageDocumentUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      KnowledgeDocumentContentUpload
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageDocumentUpload

      public ApiResponse<KnowledgeDocumentContentUpload> getKnowledgeKnowledgebaseLanguageDocumentUpload(ApiRequest<Void> request) throws IOException
      Deprecated.
      Get document content upload status getKnowledgeKnowledgebaseLanguageDocumentUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageDocuments

      public DocumentListing getKnowledgeKnowledgebaseLanguageDocuments(String knowledgeBaseId, String languageCode, String before, String after, String limit, String pageSize, String categories, String title, String sortBy, String sortOrder, List<String> documentIds) throws IOException, ApiException
      Deprecated.
      Get documents
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      limit - Number of entities to return. Maximum of 200. Deprecated in favour of pageSize (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      categories - Filter by categories ids, comma separated values expected. (optional)
      title - Filter by document title. (optional)
      sortBy - Sort by. (optional)
      sortOrder - Sort Order. (optional)
      documentIds - Comma-separated list of document identifiers to fetch by. (optional)
      Returns:
      DocumentListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageDocumentsWithHttpInfo

      public ApiResponse<DocumentListing> getKnowledgeKnowledgebaseLanguageDocumentsWithHttpInfo(String knowledgeBaseId, String languageCode, String before, String after, String limit, String pageSize, String categories, String title, String sortBy, String sortOrder, List<String> documentIds) throws IOException
      Deprecated.
      Get documents
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      limit - Number of entities to return. Maximum of 200. Deprecated in favour of pageSize (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      categories - Filter by categories ids, comma separated values expected. (optional)
      title - Filter by document title. (optional)
      sortBy - Sort by. (optional)
      sortOrder - Sort Order. (optional)
      documentIds - Comma-separated list of document identifiers to fetch by. (optional)
      Returns:
      DocumentListing
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageDocuments

      public DocumentListing getKnowledgeKnowledgebaseLanguageDocuments(GetKnowledgeKnowledgebaseLanguageDocumentsRequest request) throws IOException, ApiException
      Deprecated.
      Get documents
      Parameters:
      request - The request object
      Returns:
      DocumentListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageDocuments

      public ApiResponse<DocumentListing> getKnowledgeKnowledgebaseLanguageDocuments(ApiRequest<Void> request) throws IOException
      Deprecated.
      Get documents
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageDocumentsImport

      public KnowledgeImport getKnowledgeKnowledgebaseLanguageDocumentsImport(String knowledgeBaseId, String languageCode, String importId) throws IOException, ApiException
      Deprecated.
      Get import operation report
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      importId - Import ID (required)
      Returns:
      KnowledgeImport
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageDocumentsImportWithHttpInfo

      public ApiResponse<KnowledgeImport> getKnowledgeKnowledgebaseLanguageDocumentsImportWithHttpInfo(String knowledgeBaseId, String languageCode, String importId) throws IOException
      Deprecated.
      Get import operation report
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      importId - Import ID (required)
      Returns:
      KnowledgeImport
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageDocumentsImport

      public KnowledgeImport getKnowledgeKnowledgebaseLanguageDocumentsImport(GetKnowledgeKnowledgebaseLanguageDocumentsImportRequest request) throws IOException, ApiException
      Deprecated.
      Get import operation report
      Parameters:
      request - The request object
      Returns:
      KnowledgeImport
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageDocumentsImport

      public ApiResponse<KnowledgeImport> getKnowledgeKnowledgebaseLanguageDocumentsImport(ApiRequest<Void> request) throws IOException
      Deprecated.
      Get import operation report
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageTraining

      public KnowledgeTraining getKnowledgeKnowledgebaseLanguageTraining(String knowledgeBaseId, String languageCode, String trainingId) throws IOException, ApiException
      Deprecated.
      Get training detail
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      trainingId - Training ID (required)
      Returns:
      KnowledgeTraining
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageTrainingWithHttpInfo

      public ApiResponse<KnowledgeTraining> getKnowledgeKnowledgebaseLanguageTrainingWithHttpInfo(String knowledgeBaseId, String languageCode, String trainingId) throws IOException
      Deprecated.
      Get training detail
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      trainingId - Training ID (required)
      Returns:
      KnowledgeTraining
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageTraining

      public KnowledgeTraining getKnowledgeKnowledgebaseLanguageTraining(GetKnowledgeKnowledgebaseLanguageTrainingRequest request) throws IOException, ApiException
      Deprecated.
      Get training detail
      Parameters:
      request - The request object
      Returns:
      KnowledgeTraining
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageTraining

      public ApiResponse<KnowledgeTraining> getKnowledgeKnowledgebaseLanguageTraining(ApiRequest<Void> request) throws IOException
      Deprecated.
      Get training detail
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageTrainings

      public TrainingListing getKnowledgeKnowledgebaseLanguageTrainings(String knowledgeBaseId, String languageCode, String before, String after, String limit, String pageSize, String knowledgeDocumentsState) throws IOException, ApiException
      Deprecated.
      Get all trainings information for a knowledgebase
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      limit - Number of entities to return. Maximum of 200. Deprecated in favour of pageSize (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      knowledgeDocumentsState - Return the training with the specified state of the trained documents. (optional)
      Returns:
      TrainingListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageTrainingsWithHttpInfo

      public ApiResponse<TrainingListing> getKnowledgeKnowledgebaseLanguageTrainingsWithHttpInfo(String knowledgeBaseId, String languageCode, String before, String after, String limit, String pageSize, String knowledgeDocumentsState) throws IOException
      Deprecated.
      Get all trainings information for a knowledgebase
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      limit - Number of entities to return. Maximum of 200. Deprecated in favour of pageSize (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      knowledgeDocumentsState - Return the training with the specified state of the trained documents. (optional)
      Returns:
      TrainingListing
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageTrainings

      public TrainingListing getKnowledgeKnowledgebaseLanguageTrainings(GetKnowledgeKnowledgebaseLanguageTrainingsRequest request) throws IOException, ApiException
      Deprecated.
      Get all trainings information for a knowledgebase
      Parameters:
      request - The request object
      Returns:
      TrainingListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseLanguageTrainings

      public ApiResponse<TrainingListing> getKnowledgeKnowledgebaseLanguageTrainings(ApiRequest<Void> request) throws IOException
      Deprecated.
      Get all trainings information for a knowledgebase
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseOperations

      public OperationListing getKnowledgeKnowledgebaseOperations(String knowledgeBaseId, String before, String after, String pageSize, List<String> userId, List<String> type, List<String> status, String interval) throws IOException, ApiException
      Get operations getKnowledgeKnowledgebaseOperations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      userId - If specified, retrieves operations associated with user ids, comma separated values expected. (optional)
      type - If specified, retrieves operations with specified operation type, comma separated values expected. (optional)
      status - If specified, retrieves operations with specified operation status, comma separated values expected. (optional)
      interval - Retrieves the operations modified in specified date and time range. If the after and before cursor parameters are within this interval, it would return valid data, otherwise it throws an error.The dates in the interval are represented in ISO-8601 format: YYYY-MM-DDThh:mm:ssZ/YYYY-MM-DDThh:mm:ssZ (optional)
      Returns:
      OperationListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseOperationsWithHttpInfo

      public ApiResponse<OperationListing> getKnowledgeKnowledgebaseOperationsWithHttpInfo(String knowledgeBaseId, String before, String after, String pageSize, List<String> userId, List<String> type, List<String> status, String interval) throws IOException
      Get operations getKnowledgeKnowledgebaseOperations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      userId - If specified, retrieves operations associated with user ids, comma separated values expected. (optional)
      type - If specified, retrieves operations with specified operation type, comma separated values expected. (optional)
      status - If specified, retrieves operations with specified operation status, comma separated values expected. (optional)
      interval - Retrieves the operations modified in specified date and time range. If the after and before cursor parameters are within this interval, it would return valid data, otherwise it throws an error.The dates in the interval are represented in ISO-8601 format: YYYY-MM-DDThh:mm:ssZ/YYYY-MM-DDThh:mm:ssZ (optional)
      Returns:
      OperationListing
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseOperations

      public OperationListing getKnowledgeKnowledgebaseOperations(GetKnowledgeKnowledgebaseOperationsRequest request) throws IOException, ApiException
      Get operations getKnowledgeKnowledgebaseOperations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      OperationListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseOperations

      public ApiResponse<OperationListing> getKnowledgeKnowledgebaseOperations(ApiRequest<Void> request) throws IOException
      Get operations getKnowledgeKnowledgebaseOperations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseOperationsUsersQuery

      public OperationCreatorUserResponse getKnowledgeKnowledgebaseOperationsUsersQuery(String knowledgeBaseId) throws IOException, ApiException
      Get ids of operation creator users and oauth clients getKnowledgeKnowledgebaseOperationsUsersQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      Returns:
      OperationCreatorUserResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseOperationsUsersQueryWithHttpInfo

      public ApiResponse<OperationCreatorUserResponse> getKnowledgeKnowledgebaseOperationsUsersQueryWithHttpInfo(String knowledgeBaseId) throws IOException
      Get ids of operation creator users and oauth clients getKnowledgeKnowledgebaseOperationsUsersQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      Returns:
      OperationCreatorUserResponse
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseOperationsUsersQuery

      public OperationCreatorUserResponse getKnowledgeKnowledgebaseOperationsUsersQuery(GetKnowledgeKnowledgebaseOperationsUsersQueryRequest request) throws IOException, ApiException
      Get ids of operation creator users and oauth clients getKnowledgeKnowledgebaseOperationsUsersQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      OperationCreatorUserResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseOperationsUsersQuery

      public ApiResponse<OperationCreatorUserResponse> getKnowledgeKnowledgebaseOperationsUsersQuery(ApiRequest<Void> request) throws IOException
      Get ids of operation creator users and oauth clients getKnowledgeKnowledgebaseOperationsUsersQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseParseJob

      public KnowledgeParseJobResponse getKnowledgeKnowledgebaseParseJob(String knowledgeBaseId, String parseJobId, List<String> expand) throws IOException, ApiException
      Get parse job report getKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      parseJobId - Parse job ID (required)
      expand - If expand contains 'urls' downloadURL and failedEntitiesURL will be filled. (optional)
      Returns:
      KnowledgeParseJobResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseParseJobWithHttpInfo

      public ApiResponse<KnowledgeParseJobResponse> getKnowledgeKnowledgebaseParseJobWithHttpInfo(String knowledgeBaseId, String parseJobId, List<String> expand) throws IOException
      Get parse job report getKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      parseJobId - Parse job ID (required)
      expand - If expand contains 'urls' downloadURL and failedEntitiesURL will be filled. (optional)
      Returns:
      KnowledgeParseJobResponse
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseParseJob

      public KnowledgeParseJobResponse getKnowledgeKnowledgebaseParseJob(GetKnowledgeKnowledgebaseParseJobRequest request) throws IOException, ApiException
      Get parse job report getKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      KnowledgeParseJobResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseParseJob

      public ApiResponse<KnowledgeParseJobResponse> getKnowledgeKnowledgebaseParseJob(ApiRequest<Void> request) throws IOException
      Get parse job report getKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseUnansweredGroup

      public UnansweredGroup getKnowledgeKnowledgebaseUnansweredGroup(String knowledgeBaseId, String groupId, String app, LocalDate dateStart, LocalDate dateEnd) throws IOException, ApiException
      Get knowledge base unanswered group for a particular groupId
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      groupId - The ID of the group to be retrieved. (required)
      app - The app value to be used for filtering phrases. (optional)
      dateStart - The start date to be used for filtering phrases. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd (optional)
      dateEnd - The end date to be used for filtering phrases. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd (optional)
      Returns:
      UnansweredGroup
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseUnansweredGroupWithHttpInfo

      public ApiResponse<UnansweredGroup> getKnowledgeKnowledgebaseUnansweredGroupWithHttpInfo(String knowledgeBaseId, String groupId, String app, LocalDate dateStart, LocalDate dateEnd) throws IOException
      Get knowledge base unanswered group for a particular groupId
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      groupId - The ID of the group to be retrieved. (required)
      app - The app value to be used for filtering phrases. (optional)
      dateStart - The start date to be used for filtering phrases. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd (optional)
      dateEnd - The end date to be used for filtering phrases. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd (optional)
      Returns:
      UnansweredGroup
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseUnansweredGroup

      public UnansweredGroup getKnowledgeKnowledgebaseUnansweredGroup(GetKnowledgeKnowledgebaseUnansweredGroupRequest request) throws IOException, ApiException
      Get knowledge base unanswered group for a particular groupId
      Parameters:
      request - The request object
      Returns:
      UnansweredGroup
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseUnansweredGroup

      public ApiResponse<UnansweredGroup> getKnowledgeKnowledgebaseUnansweredGroup(ApiRequest<Void> request) throws IOException
      Get knowledge base unanswered group for a particular groupId
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseUnansweredGroupPhrasegroup

      public UnansweredPhraseGroup getKnowledgeKnowledgebaseUnansweredGroupPhrasegroup(String knowledgeBaseId, String groupId, String phraseGroupId, String app, LocalDate dateStart, LocalDate dateEnd) throws IOException, ApiException
      Get knowledge base unanswered phrase group for a particular phraseGroupId
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      groupId - The ID of the group to be retrieved. (required)
      phraseGroupId - The ID of the phraseGroup to be retrieved. (required)
      app - The app value to be used for filtering phrases. (optional)
      dateStart - The start date to be used for filtering phrases. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd (optional)
      dateEnd - The end date to be used for filtering phrases. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd (optional)
      Returns:
      UnansweredPhraseGroup
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseUnansweredGroupPhrasegroupWithHttpInfo

      public ApiResponse<UnansweredPhraseGroup> getKnowledgeKnowledgebaseUnansweredGroupPhrasegroupWithHttpInfo(String knowledgeBaseId, String groupId, String phraseGroupId, String app, LocalDate dateStart, LocalDate dateEnd) throws IOException
      Get knowledge base unanswered phrase group for a particular phraseGroupId
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      groupId - The ID of the group to be retrieved. (required)
      phraseGroupId - The ID of the phraseGroup to be retrieved. (required)
      app - The app value to be used for filtering phrases. (optional)
      dateStart - The start date to be used for filtering phrases. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd (optional)
      dateEnd - The end date to be used for filtering phrases. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd (optional)
      Returns:
      UnansweredPhraseGroup
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseUnansweredGroupPhrasegroup

      public UnansweredPhraseGroup getKnowledgeKnowledgebaseUnansweredGroupPhrasegroup(GetKnowledgeKnowledgebaseUnansweredGroupPhrasegroupRequest request) throws IOException, ApiException
      Get knowledge base unanswered phrase group for a particular phraseGroupId
      Parameters:
      request - The request object
      Returns:
      UnansweredPhraseGroup
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseUnansweredGroupPhrasegroup

      public ApiResponse<UnansweredPhraseGroup> getKnowledgeKnowledgebaseUnansweredGroupPhrasegroup(ApiRequest<Void> request) throws IOException
      Get knowledge base unanswered phrase group for a particular phraseGroupId
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseUnansweredGroups

      public UnansweredGroups getKnowledgeKnowledgebaseUnansweredGroups(String knowledgeBaseId, String app, LocalDate dateStart, LocalDate dateEnd) throws IOException, ApiException
      Get knowledge base unanswered groups
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      app - The app value to be used for filtering phrases. (optional)
      dateStart - The start date to be used for filtering phrases. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd (optional)
      dateEnd - The end date to be used for filtering phrases. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd (optional)
      Returns:
      UnansweredGroups
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseUnansweredGroupsWithHttpInfo

      public ApiResponse<UnansweredGroups> getKnowledgeKnowledgebaseUnansweredGroupsWithHttpInfo(String knowledgeBaseId, String app, LocalDate dateStart, LocalDate dateEnd) throws IOException
      Get knowledge base unanswered groups
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      app - The app value to be used for filtering phrases. (optional)
      dateStart - The start date to be used for filtering phrases. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd (optional)
      dateEnd - The end date to be used for filtering phrases. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd (optional)
      Returns:
      UnansweredGroups
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseUnansweredGroups

      public UnansweredGroups getKnowledgeKnowledgebaseUnansweredGroups(GetKnowledgeKnowledgebaseUnansweredGroupsRequest request) throws IOException, ApiException
      Get knowledge base unanswered groups
      Parameters:
      request - The request object
      Returns:
      UnansweredGroups
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseUnansweredGroups

      public ApiResponse<UnansweredGroups> getKnowledgeKnowledgebaseUnansweredGroups(ApiRequest<Void> request) throws IOException
      Get knowledge base unanswered groups
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseUploadsUrlsJob

      public GetUploadSourceUrlJobStatusResponse getKnowledgeKnowledgebaseUploadsUrlsJob(String knowledgeBaseId, String jobId) throws IOException, ApiException
      Get content upload from URL job status getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      jobId - Upload job ID (required)
      Returns:
      GetUploadSourceUrlJobStatusResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseUploadsUrlsJobWithHttpInfo

      public ApiResponse<GetUploadSourceUrlJobStatusResponse> getKnowledgeKnowledgebaseUploadsUrlsJobWithHttpInfo(String knowledgeBaseId, String jobId) throws IOException
      Get content upload from URL job status getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      jobId - Upload job ID (required)
      Returns:
      GetUploadSourceUrlJobStatusResponse
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseUploadsUrlsJob

      public GetUploadSourceUrlJobStatusResponse getKnowledgeKnowledgebaseUploadsUrlsJob(GetKnowledgeKnowledgebaseUploadsUrlsJobRequest request) throws IOException, ApiException
      Get content upload from URL job status getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      GetUploadSourceUrlJobStatusResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebaseUploadsUrlsJob

      public ApiResponse<GetUploadSourceUrlJobStatusResponse> getKnowledgeKnowledgebaseUploadsUrlsJob(ApiRequest<Void> request) throws IOException
      Get content upload from URL job status getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebases

      public KnowledgeBaseListing getKnowledgeKnowledgebases(String before, String after, String limit, String pageSize, String name, String coreLanguage, Boolean published, String sortBy, String sortOrder) throws IOException, ApiException
      Get knowledge bases
      Parameters:
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      limit - Number of entities to return. Maximum of 100. Deprecated in favour of pageSize (optional)
      pageSize - Number of entities to return. Maximum of 100. (optional)
      name - Filter by Name. (optional)
      coreLanguage - Filter by core language. (optional)
      published - Filter by published status. (optional)
      sortBy - Sort by. (optional)
      sortOrder - Sort Order. (optional)
      Returns:
      KnowledgeBaseListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebasesWithHttpInfo

      public ApiResponse<KnowledgeBaseListing> getKnowledgeKnowledgebasesWithHttpInfo(String before, String after, String limit, String pageSize, String name, String coreLanguage, Boolean published, String sortBy, String sortOrder) throws IOException
      Get knowledge bases
      Parameters:
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      limit - Number of entities to return. Maximum of 100. Deprecated in favour of pageSize (optional)
      pageSize - Number of entities to return. Maximum of 100. (optional)
      name - Filter by Name. (optional)
      coreLanguage - Filter by core language. (optional)
      published - Filter by published status. (optional)
      sortBy - Sort by. (optional)
      sortOrder - Sort Order. (optional)
      Returns:
      KnowledgeBaseListing
      Throws:
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebases

      public KnowledgeBaseListing getKnowledgeKnowledgebases(GetKnowledgeKnowledgebasesRequest request) throws IOException, ApiException
      Get knowledge bases
      Parameters:
      request - The request object
      Returns:
      KnowledgeBaseListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getKnowledgeKnowledgebases

      public ApiResponse<KnowledgeBaseListing> getKnowledgeKnowledgebases(ApiRequest<Void> request) throws IOException
      Get knowledge bases
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeGuestSessionDocumentsSearchSearchId

      public void patchKnowledgeGuestSessionDocumentsSearchSearchId(String sessionId, String searchId, SearchUpdateRequest body) throws IOException, ApiException
      Update search result.
      Parameters:
      sessionId - Knowledge guest session ID. (required)
      searchId - Search Result ID (required)
      body - (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeGuestSessionDocumentsSearchSearchIdWithHttpInfo

      public ApiResponse<Void> patchKnowledgeGuestSessionDocumentsSearchSearchIdWithHttpInfo(String sessionId, String searchId, SearchUpdateRequest body) throws IOException
      Update search result.
      Parameters:
      sessionId - Knowledge guest session ID. (required)
      searchId - Search Result ID (required)
      body - (required)
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeGuestSessionDocumentsSearchSearchId

      public void patchKnowledgeGuestSessionDocumentsSearchSearchId(PatchKnowledgeGuestSessionDocumentsSearchSearchIdRequest request) throws IOException, ApiException
      Update search result.
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeGuestSessionDocumentsSearchSearchId

      public ApiResponse<Void> patchKnowledgeGuestSessionDocumentsSearchSearchId(ApiRequest<SearchUpdateRequest> request) throws IOException
      Update search result.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebase

      public KnowledgeBase patchKnowledgeKnowledgebase(String knowledgeBaseId, KnowledgeBaseUpdateRequest body) throws IOException, ApiException
      Update knowledge base
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - (required)
      Returns:
      KnowledgeBase
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseWithHttpInfo

      public ApiResponse<KnowledgeBase> patchKnowledgeKnowledgebaseWithHttpInfo(String knowledgeBaseId, KnowledgeBaseUpdateRequest body) throws IOException
      Update knowledge base
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - (required)
      Returns:
      KnowledgeBase
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebase

      public KnowledgeBase patchKnowledgeKnowledgebase(PatchKnowledgeKnowledgebaseRequest request) throws IOException, ApiException
      Update knowledge base
      Parameters:
      request - The request object
      Returns:
      KnowledgeBase
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebase

      public ApiResponse<KnowledgeBase> patchKnowledgeKnowledgebase(ApiRequest<KnowledgeBaseUpdateRequest> request) throws IOException
      Update knowledge base
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseCategory

      public CategoryResponse patchKnowledgeKnowledgebaseCategory(String knowledgeBaseId, String categoryId, CategoryUpdateRequest body) throws IOException, ApiException
      Update category
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      categoryId - Category ID (required)
      body - (required)
      Returns:
      CategoryResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseCategoryWithHttpInfo

      public ApiResponse<CategoryResponse> patchKnowledgeKnowledgebaseCategoryWithHttpInfo(String knowledgeBaseId, String categoryId, CategoryUpdateRequest body) throws IOException
      Update category
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      categoryId - Category ID (required)
      body - (required)
      Returns:
      CategoryResponse
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseCategory

      public CategoryResponse patchKnowledgeKnowledgebaseCategory(PatchKnowledgeKnowledgebaseCategoryRequest request) throws IOException, ApiException
      Update category
      Parameters:
      request - The request object
      Returns:
      CategoryResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseCategory

      public ApiResponse<CategoryResponse> patchKnowledgeKnowledgebaseCategory(ApiRequest<CategoryUpdateRequest> request) throws IOException
      Update category
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseDocument

      public KnowledgeDocumentResponse patchKnowledgeKnowledgebaseDocument(String knowledgeBaseId, String documentId, KnowledgeDocumentReq body) throws IOException, ApiException
      Update document.
      Parameters:
      knowledgeBaseId - Knowledge base ID. (required)
      documentId - Document ID. (required)
      body - (required)
      Returns:
      KnowledgeDocumentResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseDocumentWithHttpInfo

      public ApiResponse<KnowledgeDocumentResponse> patchKnowledgeKnowledgebaseDocumentWithHttpInfo(String knowledgeBaseId, String documentId, KnowledgeDocumentReq body) throws IOException
      Update document.
      Parameters:
      knowledgeBaseId - Knowledge base ID. (required)
      documentId - Document ID. (required)
      body - (required)
      Returns:
      KnowledgeDocumentResponse
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseDocument

      public KnowledgeDocumentResponse patchKnowledgeKnowledgebaseDocument(PatchKnowledgeKnowledgebaseDocumentRequest request) throws IOException, ApiException
      Update document.
      Parameters:
      request - The request object
      Returns:
      KnowledgeDocumentResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseDocument

      public ApiResponse<KnowledgeDocumentResponse> patchKnowledgeKnowledgebaseDocument(ApiRequest<KnowledgeDocumentReq> request) throws IOException
      Update document.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseDocumentVariation

      public DocumentVariation patchKnowledgeKnowledgebaseDocumentVariation(String documentVariationId, String documentId, String knowledgeBaseId, DocumentVariation body) throws IOException, ApiException
      Update a variation for a document.
      Parameters:
      documentVariationId - Globally unique identifier for a document variation. (required)
      documentId - Globally unique identifier for a document. (required)
      knowledgeBaseId - Globally unique identifier for a knowledge base. (required)
      body - (required)
      Returns:
      DocumentVariation
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseDocumentVariationWithHttpInfo

      public ApiResponse<DocumentVariation> patchKnowledgeKnowledgebaseDocumentVariationWithHttpInfo(String documentVariationId, String documentId, String knowledgeBaseId, DocumentVariation body) throws IOException
      Update a variation for a document.
      Parameters:
      documentVariationId - Globally unique identifier for a document variation. (required)
      documentId - Globally unique identifier for a document. (required)
      knowledgeBaseId - Globally unique identifier for a knowledge base. (required)
      body - (required)
      Returns:
      DocumentVariation
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseDocumentVariation

      public DocumentVariation patchKnowledgeKnowledgebaseDocumentVariation(PatchKnowledgeKnowledgebaseDocumentVariationRequest request) throws IOException, ApiException
      Update a variation for a document.
      Parameters:
      request - The request object
      Returns:
      DocumentVariation
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseDocumentVariation

      public ApiResponse<DocumentVariation> patchKnowledgeKnowledgebaseDocumentVariation(ApiRequest<DocumentVariation> request) throws IOException
      Update a variation for a document.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseDocumentsSearchSearchId

      public void patchKnowledgeKnowledgebaseDocumentsSearchSearchId(String knowledgeBaseId, String searchId, SearchUpdateRequest body) throws IOException, ApiException
      Update search result.
      Parameters:
      knowledgeBaseId - The ID of knowledge base containing the documents to query. (required)
      searchId - Search Result ID (required)
      body - (optional)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseDocumentsSearchSearchIdWithHttpInfo

      public ApiResponse<Void> patchKnowledgeKnowledgebaseDocumentsSearchSearchIdWithHttpInfo(String knowledgeBaseId, String searchId, SearchUpdateRequest body) throws IOException
      Update search result.
      Parameters:
      knowledgeBaseId - The ID of knowledge base containing the documents to query. (required)
      searchId - Search Result ID (required)
      body - (optional)
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseDocumentsSearchSearchId

      public void patchKnowledgeKnowledgebaseDocumentsSearchSearchId(PatchKnowledgeKnowledgebaseDocumentsSearchSearchIdRequest request) throws IOException, ApiException
      Update search result.
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseDocumentsSearchSearchId

      public ApiResponse<Void> patchKnowledgeKnowledgebaseDocumentsSearchSearchId(ApiRequest<SearchUpdateRequest> request) throws IOException
      Update search result.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseImportJob

      public KnowledgeImportJobResponse patchKnowledgeKnowledgebaseImportJob(String knowledgeBaseId, String importJobId, ImportStatusRequest body) throws IOException, ApiException
      Start import job
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      importJobId - Import job ID (required)
      body - (required)
      Returns:
      KnowledgeImportJobResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseImportJobWithHttpInfo

      public ApiResponse<KnowledgeImportJobResponse> patchKnowledgeKnowledgebaseImportJobWithHttpInfo(String knowledgeBaseId, String importJobId, ImportStatusRequest body) throws IOException
      Start import job
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      importJobId - Import job ID (required)
      body - (required)
      Returns:
      KnowledgeImportJobResponse
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseImportJob

      public KnowledgeImportJobResponse patchKnowledgeKnowledgebaseImportJob(PatchKnowledgeKnowledgebaseImportJobRequest request) throws IOException, ApiException
      Start import job
      Parameters:
      request - The request object
      Returns:
      KnowledgeImportJobResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseImportJob

      public ApiResponse<KnowledgeImportJobResponse> patchKnowledgeKnowledgebaseImportJob(ApiRequest<ImportStatusRequest> request) throws IOException
      Start import job
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseLabel

      public LabelResponse patchKnowledgeKnowledgebaseLabel(String knowledgeBaseId, String labelId, LabelUpdateRequest body) throws IOException, ApiException
      Update label
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      labelId - Label ID (required)
      body - (required)
      Returns:
      LabelResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseLabelWithHttpInfo

      public ApiResponse<LabelResponse> patchKnowledgeKnowledgebaseLabelWithHttpInfo(String knowledgeBaseId, String labelId, LabelUpdateRequest body) throws IOException
      Update label
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      labelId - Label ID (required)
      body - (required)
      Returns:
      LabelResponse
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseLabel

      public LabelResponse patchKnowledgeKnowledgebaseLabel(PatchKnowledgeKnowledgebaseLabelRequest request) throws IOException, ApiException
      Update label
      Parameters:
      request - The request object
      Returns:
      LabelResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseLabel

      public ApiResponse<LabelResponse> patchKnowledgeKnowledgebaseLabel(ApiRequest<LabelUpdateRequest> request) throws IOException
      Update label
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseLanguageCategory

      public KnowledgeExtendedCategory patchKnowledgeKnowledgebaseLanguageCategory(String categoryId, String knowledgeBaseId, String languageCode, KnowledgeCategoryRequest body) throws IOException, ApiException
      Deprecated.
      Update category
      Parameters:
      categoryId - Category ID (required)
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      body - (required)
      Returns:
      KnowledgeExtendedCategory
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseLanguageCategoryWithHttpInfo

      public ApiResponse<KnowledgeExtendedCategory> patchKnowledgeKnowledgebaseLanguageCategoryWithHttpInfo(String categoryId, String knowledgeBaseId, String languageCode, KnowledgeCategoryRequest body) throws IOException
      Deprecated.
      Update category
      Parameters:
      categoryId - Category ID (required)
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      body - (required)
      Returns:
      KnowledgeExtendedCategory
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseLanguageCategory

      public KnowledgeExtendedCategory patchKnowledgeKnowledgebaseLanguageCategory(PatchKnowledgeKnowledgebaseLanguageCategoryRequest request) throws IOException, ApiException
      Deprecated.
      Update category
      Parameters:
      request - The request object
      Returns:
      KnowledgeExtendedCategory
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseLanguageCategory

      public ApiResponse<KnowledgeExtendedCategory> patchKnowledgeKnowledgebaseLanguageCategory(ApiRequest<KnowledgeCategoryRequest> request) throws IOException
      Deprecated.
      Update category
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseLanguageDocument

      public KnowledgeDocument patchKnowledgeKnowledgebaseLanguageDocument(String documentId, String knowledgeBaseId, String languageCode, KnowledgeDocumentRequest body) throws IOException, ApiException
      Deprecated.
      Update document
      Parameters:
      documentId - Document ID (required)
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      body - (required)
      Returns:
      KnowledgeDocument
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseLanguageDocumentWithHttpInfo

      public ApiResponse<KnowledgeDocument> patchKnowledgeKnowledgebaseLanguageDocumentWithHttpInfo(String documentId, String knowledgeBaseId, String languageCode, KnowledgeDocumentRequest body) throws IOException
      Deprecated.
      Update document
      Parameters:
      documentId - Document ID (required)
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      body - (required)
      Returns:
      KnowledgeDocument
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseLanguageDocument

      public KnowledgeDocument patchKnowledgeKnowledgebaseLanguageDocument(PatchKnowledgeKnowledgebaseLanguageDocumentRequest request) throws IOException, ApiException
      Deprecated.
      Update document
      Parameters:
      request - The request object
      Returns:
      KnowledgeDocument
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseLanguageDocument

      public ApiResponse<KnowledgeDocument> patchKnowledgeKnowledgebaseLanguageDocument(ApiRequest<KnowledgeDocumentRequest> request) throws IOException
      Deprecated.
      Update document
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseLanguageDocuments

      public DocumentListing patchKnowledgeKnowledgebaseLanguageDocuments(String knowledgeBaseId, String languageCode, List<KnowledgeDocumentBulkRequest> body) throws IOException, ApiException
      Deprecated.
      Update documents collection
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      body - (required)
      Returns:
      DocumentListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseLanguageDocumentsWithHttpInfo

      public ApiResponse<DocumentListing> patchKnowledgeKnowledgebaseLanguageDocumentsWithHttpInfo(String knowledgeBaseId, String languageCode, List<KnowledgeDocumentBulkRequest> body) throws IOException
      Deprecated.
      Update documents collection
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      body - (required)
      Returns:
      DocumentListing
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseLanguageDocuments

      public DocumentListing patchKnowledgeKnowledgebaseLanguageDocuments(PatchKnowledgeKnowledgebaseLanguageDocumentsRequest request) throws IOException, ApiException
      Deprecated.
      Update documents collection
      Parameters:
      request - The request object
      Returns:
      DocumentListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseLanguageDocuments

      public ApiResponse<DocumentListing> patchKnowledgeKnowledgebaseLanguageDocuments(ApiRequest<List<KnowledgeDocumentBulkRequest>> request) throws IOException
      Deprecated.
      Update documents collection
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseLanguageDocumentsImport

      public KnowledgeImport patchKnowledgeKnowledgebaseLanguageDocumentsImport(String knowledgeBaseId, String languageCode, String importId, ImportStatusRequest body) throws IOException, ApiException
      Deprecated.
      Start import operation
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      importId - Import ID (required)
      body - (required)
      Returns:
      KnowledgeImport
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseLanguageDocumentsImportWithHttpInfo

      public ApiResponse<KnowledgeImport> patchKnowledgeKnowledgebaseLanguageDocumentsImportWithHttpInfo(String knowledgeBaseId, String languageCode, String importId, ImportStatusRequest body) throws IOException
      Deprecated.
      Start import operation
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      importId - Import ID (required)
      body - (required)
      Returns:
      KnowledgeImport
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseLanguageDocumentsImport

      public KnowledgeImport patchKnowledgeKnowledgebaseLanguageDocumentsImport(PatchKnowledgeKnowledgebaseLanguageDocumentsImportRequest request) throws IOException, ApiException
      Deprecated.
      Start import operation
      Parameters:
      request - The request object
      Returns:
      KnowledgeImport
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseLanguageDocumentsImport

      public ApiResponse<KnowledgeImport> patchKnowledgeKnowledgebaseLanguageDocumentsImport(ApiRequest<ImportStatusRequest> request) throws IOException
      Deprecated.
      Start import operation
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseParseJob

      public void patchKnowledgeKnowledgebaseParseJob(String knowledgeBaseId, String parseJobId, KnowledgeParseJobRequestPatch body) throws IOException, ApiException
      Send update to the parse operation patchKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      parseJobId - Parse job ID (required)
      body - (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseParseJobWithHttpInfo

      public ApiResponse<Void> patchKnowledgeKnowledgebaseParseJobWithHttpInfo(String knowledgeBaseId, String parseJobId, KnowledgeParseJobRequestPatch body) throws IOException
      Send update to the parse operation patchKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      parseJobId - Parse job ID (required)
      body - (required)
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseParseJob

      public void patchKnowledgeKnowledgebaseParseJob(PatchKnowledgeKnowledgebaseParseJobRequest request) throws IOException, ApiException
      Send update to the parse operation patchKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseParseJob

      public ApiResponse<Void> patchKnowledgeKnowledgebaseParseJob(ApiRequest<KnowledgeParseJobRequestPatch> request) throws IOException
      Send update to the parse operation patchKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseUnansweredGroupPhrasegroup

      public UnansweredPhraseGroupUpdateResponse patchKnowledgeKnowledgebaseUnansweredGroupPhrasegroup(String knowledgeBaseId, String groupId, String phraseGroupId, UnansweredPhraseGroupPatchRequestBody body) throws IOException, ApiException
      Update a Knowledge base unanswered phrase group
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      groupId - The ID of the group to be updated. (required)
      phraseGroupId - The ID of the phraseGroup to be updated. (required)
      body - Request body of the update unanswered group endpoint. (required)
      Returns:
      UnansweredPhraseGroupUpdateResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseUnansweredGroupPhrasegroupWithHttpInfo

      public ApiResponse<UnansweredPhraseGroupUpdateResponse> patchKnowledgeKnowledgebaseUnansweredGroupPhrasegroupWithHttpInfo(String knowledgeBaseId, String groupId, String phraseGroupId, UnansweredPhraseGroupPatchRequestBody body) throws IOException
      Update a Knowledge base unanswered phrase group
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      groupId - The ID of the group to be updated. (required)
      phraseGroupId - The ID of the phraseGroup to be updated. (required)
      body - Request body of the update unanswered group endpoint. (required)
      Returns:
      UnansweredPhraseGroupUpdateResponse
      Throws:
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseUnansweredGroupPhrasegroup

      public UnansweredPhraseGroupUpdateResponse patchKnowledgeKnowledgebaseUnansweredGroupPhrasegroup(PatchKnowledgeKnowledgebaseUnansweredGroupPhrasegroupRequest request) throws IOException, ApiException
      Update a Knowledge base unanswered phrase group
      Parameters:
      request - The request object
      Returns:
      UnansweredPhraseGroupUpdateResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchKnowledgeKnowledgebaseUnansweredGroupPhrasegroup

      public ApiResponse<UnansweredPhraseGroupUpdateResponse> patchKnowledgeKnowledgebaseUnansweredGroupPhrasegroup(ApiRequest<UnansweredPhraseGroupPatchRequestBody> request) throws IOException
      Update a Knowledge base unanswered phrase group
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeDocumentuploads

      public UploadUrlResponse postKnowledgeDocumentuploads(UploadUrlRequest body) throws IOException, ApiException
      Creates a presigned URL for uploading a knowledge import file with a set of documents
      Parameters:
      body - query (required)
      Returns:
      UploadUrlResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeDocumentuploadsWithHttpInfo

      public ApiResponse<UploadUrlResponse> postKnowledgeDocumentuploadsWithHttpInfo(UploadUrlRequest body) throws IOException
      Creates a presigned URL for uploading a knowledge import file with a set of documents
      Parameters:
      body - query (required)
      Returns:
      UploadUrlResponse
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeDocumentuploads

      public UploadUrlResponse postKnowledgeDocumentuploads(PostKnowledgeDocumentuploadsRequest request) throws IOException, ApiException
      Creates a presigned URL for uploading a knowledge import file with a set of documents
      Parameters:
      request - The request object
      Returns:
      UploadUrlResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeDocumentuploads

      public ApiResponse<UploadUrlResponse> postKnowledgeDocumentuploads(ApiRequest<UploadUrlRequest> request) throws IOException
      Creates a presigned URL for uploading a knowledge import file with a set of documents
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionDocumentCopies

      public void postKnowledgeGuestSessionDocumentCopies(String sessionId, String documentId, KnowledgeGuestDocumentCopy body) throws IOException, ApiException
      Indicate that the document was copied by the user.
      Parameters:
      sessionId - Knowledge guest session ID. (required)
      documentId - Document ID (required)
      body - (optional)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionDocumentCopiesWithHttpInfo

      public ApiResponse<Void> postKnowledgeGuestSessionDocumentCopiesWithHttpInfo(String sessionId, String documentId, KnowledgeGuestDocumentCopy body) throws IOException
      Indicate that the document was copied by the user.
      Parameters:
      sessionId - Knowledge guest session ID. (required)
      documentId - Document ID (required)
      body - (optional)
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionDocumentCopies

      public void postKnowledgeGuestSessionDocumentCopies(PostKnowledgeGuestSessionDocumentCopiesRequest request) throws IOException, ApiException
      Indicate that the document was copied by the user.
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionDocumentCopies

      public ApiResponse<Void> postKnowledgeGuestSessionDocumentCopies(ApiRequest<KnowledgeGuestDocumentCopy> request) throws IOException
      Indicate that the document was copied by the user.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionDocumentFeedback

      public KnowledgeGuestDocumentFeedback postKnowledgeGuestSessionDocumentFeedback(String sessionId, String documentId, KnowledgeGuestDocumentFeedback body) throws IOException, ApiException
      Give feedback on a document
      Parameters:
      sessionId - Knowledge guest session ID. (required)
      documentId - Document ID. (required)
      body - (optional)
      Returns:
      KnowledgeGuestDocumentFeedback
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionDocumentFeedbackWithHttpInfo

      public ApiResponse<KnowledgeGuestDocumentFeedback> postKnowledgeGuestSessionDocumentFeedbackWithHttpInfo(String sessionId, String documentId, KnowledgeGuestDocumentFeedback body) throws IOException
      Give feedback on a document
      Parameters:
      sessionId - Knowledge guest session ID. (required)
      documentId - Document ID. (required)
      body - (optional)
      Returns:
      KnowledgeGuestDocumentFeedback
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionDocumentFeedback

      public KnowledgeGuestDocumentFeedback postKnowledgeGuestSessionDocumentFeedback(PostKnowledgeGuestSessionDocumentFeedbackRequest request) throws IOException, ApiException
      Give feedback on a document
      Parameters:
      request - The request object
      Returns:
      KnowledgeGuestDocumentFeedback
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionDocumentFeedback

      public ApiResponse<KnowledgeGuestDocumentFeedback> postKnowledgeGuestSessionDocumentFeedback(ApiRequest<KnowledgeGuestDocumentFeedback> request) throws IOException
      Give feedback on a document
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionDocumentViews

      public void postKnowledgeGuestSessionDocumentViews(String sessionId, String documentId, KnowledgeGuestDocumentView body) throws IOException, ApiException
      Create view event for a document.
      Parameters:
      sessionId - Knowledge guest session ID. (required)
      documentId - Document ID (required)
      body - (optional)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionDocumentViewsWithHttpInfo

      public ApiResponse<Void> postKnowledgeGuestSessionDocumentViewsWithHttpInfo(String sessionId, String documentId, KnowledgeGuestDocumentView body) throws IOException
      Create view event for a document.
      Parameters:
      sessionId - Knowledge guest session ID. (required)
      documentId - Document ID (required)
      body - (optional)
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionDocumentViews

      public void postKnowledgeGuestSessionDocumentViews(PostKnowledgeGuestSessionDocumentViewsRequest request) throws IOException, ApiException
      Create view event for a document.
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionDocumentViews

      public ApiResponse<Void> postKnowledgeGuestSessionDocumentViews(ApiRequest<KnowledgeGuestDocumentView> request) throws IOException
      Create view event for a document.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionDocumentsPresentations

      public void postKnowledgeGuestSessionDocumentsPresentations(String sessionId, KnowledgeGuestDocumentPresentation body) throws IOException, ApiException
      Indicate that documents were presented to the user.
      Parameters:
      sessionId - Knowledge guest session ID. (required)
      body - (optional)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionDocumentsPresentationsWithHttpInfo

      public ApiResponse<Void> postKnowledgeGuestSessionDocumentsPresentationsWithHttpInfo(String sessionId, KnowledgeGuestDocumentPresentation body) throws IOException
      Indicate that documents were presented to the user.
      Parameters:
      sessionId - Knowledge guest session ID. (required)
      body - (optional)
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionDocumentsPresentations

      public void postKnowledgeGuestSessionDocumentsPresentations(PostKnowledgeGuestSessionDocumentsPresentationsRequest request) throws IOException, ApiException
      Indicate that documents were presented to the user.
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionDocumentsPresentations

      public ApiResponse<Void> postKnowledgeGuestSessionDocumentsPresentations(ApiRequest<KnowledgeGuestDocumentPresentation> request) throws IOException
      Indicate that documents were presented to the user.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionDocumentsSearch

      public KnowledgeDocumentGuestSearch postKnowledgeGuestSessionDocumentsSearch(String sessionId, List<String> expand, KnowledgeDocumentGuestSearchRequest body) throws IOException, ApiException
      Search the documents in a guest session.
      Parameters:
      sessionId - Knowledge guest session ID. (required)
      expand - Fields, if any, to expand for each document in the search result matching the query. (optional)
      body - (optional)
      Returns:
      KnowledgeDocumentGuestSearch
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionDocumentsSearchWithHttpInfo

      public ApiResponse<KnowledgeDocumentGuestSearch> postKnowledgeGuestSessionDocumentsSearchWithHttpInfo(String sessionId, List<String> expand, KnowledgeDocumentGuestSearchRequest body) throws IOException
      Search the documents in a guest session.
      Parameters:
      sessionId - Knowledge guest session ID. (required)
      expand - Fields, if any, to expand for each document in the search result matching the query. (optional)
      body - (optional)
      Returns:
      KnowledgeDocumentGuestSearch
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionDocumentsSearch

      public KnowledgeDocumentGuestSearch postKnowledgeGuestSessionDocumentsSearch(PostKnowledgeGuestSessionDocumentsSearchRequest request) throws IOException, ApiException
      Search the documents in a guest session.
      Parameters:
      request - The request object
      Returns:
      KnowledgeDocumentGuestSearch
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionDocumentsSearch

      public ApiResponse<KnowledgeDocumentGuestSearch> postKnowledgeGuestSessionDocumentsSearch(ApiRequest<KnowledgeDocumentGuestSearchRequest> request) throws IOException
      Search the documents in a guest session.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionDocumentsSearchSuggestions

      public KnowledgeGuestDocumentSuggestion postKnowledgeGuestSessionDocumentsSearchSuggestions(String sessionId, KnowledgeGuestDocumentSuggestionRequest body) throws IOException, ApiException
      Query the knowledge documents to provide suggestions for auto completion.
      Parameters:
      sessionId - Knowledge guest session ID. (required)
      body - (optional)
      Returns:
      KnowledgeGuestDocumentSuggestion
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionDocumentsSearchSuggestionsWithHttpInfo

      public ApiResponse<KnowledgeGuestDocumentSuggestion> postKnowledgeGuestSessionDocumentsSearchSuggestionsWithHttpInfo(String sessionId, KnowledgeGuestDocumentSuggestionRequest body) throws IOException
      Query the knowledge documents to provide suggestions for auto completion.
      Parameters:
      sessionId - Knowledge guest session ID. (required)
      body - (optional)
      Returns:
      KnowledgeGuestDocumentSuggestion
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionDocumentsSearchSuggestions

      public KnowledgeGuestDocumentSuggestion postKnowledgeGuestSessionDocumentsSearchSuggestions(PostKnowledgeGuestSessionDocumentsSearchSuggestionsRequest request) throws IOException, ApiException
      Query the knowledge documents to provide suggestions for auto completion.
      Parameters:
      request - The request object
      Returns:
      KnowledgeGuestDocumentSuggestion
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionDocumentsSearchSuggestions

      public ApiResponse<KnowledgeGuestDocumentSuggestion> postKnowledgeGuestSessionDocumentsSearchSuggestions(ApiRequest<KnowledgeGuestDocumentSuggestionRequest> request) throws IOException
      Query the knowledge documents to provide suggestions for auto completion.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessions

      public KnowledgeGuestSession postKnowledgeGuestSessions(KnowledgeGuestSession body) throws IOException, ApiException
      Create guest session
      Parameters:
      body - (required)
      Returns:
      KnowledgeGuestSession
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessionsWithHttpInfo

      public ApiResponse<KnowledgeGuestSession> postKnowledgeGuestSessionsWithHttpInfo(KnowledgeGuestSession body) throws IOException
      Create guest session
      Parameters:
      body - (required)
      Returns:
      KnowledgeGuestSession
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessions

      public KnowledgeGuestSession postKnowledgeGuestSessions(PostKnowledgeGuestSessionsRequest request) throws IOException, ApiException
      Create guest session
      Parameters:
      request - The request object
      Returns:
      KnowledgeGuestSession
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeGuestSessions

      public ApiResponse<KnowledgeGuestSession> postKnowledgeGuestSessions(ApiRequest<KnowledgeGuestSession> request) throws IOException
      Create guest session
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseCategories

      public CategoryResponse postKnowledgeKnowledgebaseCategories(String knowledgeBaseId, CategoryCreateRequest body) throws IOException, ApiException
      Create new category
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - (required)
      Returns:
      CategoryResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseCategoriesWithHttpInfo

      public ApiResponse<CategoryResponse> postKnowledgeKnowledgebaseCategoriesWithHttpInfo(String knowledgeBaseId, CategoryCreateRequest body) throws IOException
      Create new category
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - (required)
      Returns:
      CategoryResponse
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseCategories

      public CategoryResponse postKnowledgeKnowledgebaseCategories(PostKnowledgeKnowledgebaseCategoriesRequest request) throws IOException, ApiException
      Create new category
      Parameters:
      request - The request object
      Returns:
      CategoryResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseCategories

      public ApiResponse<CategoryResponse> postKnowledgeKnowledgebaseCategories(ApiRequest<CategoryCreateRequest> request) throws IOException
      Create new category
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentCopies

      public void postKnowledgeKnowledgebaseDocumentCopies(String knowledgeBaseId, String documentId, KnowledgeDocumentCopy body) throws IOException, ApiException
      Indicate that the document was copied by the user.
      Parameters:
      knowledgeBaseId - Knowledge base ID. (required)
      documentId - Document ID. (required)
      body - (optional)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentCopiesWithHttpInfo

      public ApiResponse<Void> postKnowledgeKnowledgebaseDocumentCopiesWithHttpInfo(String knowledgeBaseId, String documentId, KnowledgeDocumentCopy body) throws IOException
      Indicate that the document was copied by the user.
      Parameters:
      knowledgeBaseId - Knowledge base ID. (required)
      documentId - Document ID. (required)
      body - (optional)
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentCopies

      public void postKnowledgeKnowledgebaseDocumentCopies(PostKnowledgeKnowledgebaseDocumentCopiesRequest request) throws IOException, ApiException
      Indicate that the document was copied by the user.
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentCopies

      public ApiResponse<Void> postKnowledgeKnowledgebaseDocumentCopies(ApiRequest<KnowledgeDocumentCopy> request) throws IOException
      Indicate that the document was copied by the user.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentFeedback

      public KnowledgeDocumentFeedbackResponse postKnowledgeKnowledgebaseDocumentFeedback(String knowledgeBaseId, String documentId, KnowledgeDocumentFeedback body) throws IOException, ApiException
      Give feedback on a document
      Parameters:
      knowledgeBaseId - Knowledge base ID. (required)
      documentId - Document ID. (required)
      body - (optional)
      Returns:
      KnowledgeDocumentFeedbackResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentFeedbackWithHttpInfo

      public ApiResponse<KnowledgeDocumentFeedbackResponse> postKnowledgeKnowledgebaseDocumentFeedbackWithHttpInfo(String knowledgeBaseId, String documentId, KnowledgeDocumentFeedback body) throws IOException
      Give feedback on a document
      Parameters:
      knowledgeBaseId - Knowledge base ID. (required)
      documentId - Document ID. (required)
      body - (optional)
      Returns:
      KnowledgeDocumentFeedbackResponse
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentFeedback

      public KnowledgeDocumentFeedbackResponse postKnowledgeKnowledgebaseDocumentFeedback(PostKnowledgeKnowledgebaseDocumentFeedbackRequest request) throws IOException, ApiException
      Give feedback on a document
      Parameters:
      request - The request object
      Returns:
      KnowledgeDocumentFeedbackResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentFeedback

      public ApiResponse<KnowledgeDocumentFeedbackResponse> postKnowledgeKnowledgebaseDocumentFeedback(ApiRequest<KnowledgeDocumentFeedback> request) throws IOException
      Give feedback on a document
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentVariations

      public DocumentVariation postKnowledgeKnowledgebaseDocumentVariations(String knowledgeBaseId, String documentId, DocumentVariation body) throws IOException, ApiException
      Create a variation for a document.
      Parameters:
      knowledgeBaseId - Globally unique identifier for the knowledge base. (required)
      documentId - Globally unique identifier for the document. (required)
      body - (required)
      Returns:
      DocumentVariation
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentVariationsWithHttpInfo

      public ApiResponse<DocumentVariation> postKnowledgeKnowledgebaseDocumentVariationsWithHttpInfo(String knowledgeBaseId, String documentId, DocumentVariation body) throws IOException
      Create a variation for a document.
      Parameters:
      knowledgeBaseId - Globally unique identifier for the knowledge base. (required)
      documentId - Globally unique identifier for the document. (required)
      body - (required)
      Returns:
      DocumentVariation
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentVariations

      public DocumentVariation postKnowledgeKnowledgebaseDocumentVariations(PostKnowledgeKnowledgebaseDocumentVariationsRequest request) throws IOException, ApiException
      Create a variation for a document.
      Parameters:
      request - The request object
      Returns:
      DocumentVariation
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentVariations

      public ApiResponse<DocumentVariation> postKnowledgeKnowledgebaseDocumentVariations(ApiRequest<DocumentVariation> request) throws IOException
      Create a variation for a document.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentVersions

      public KnowledgeDocumentVersion postKnowledgeKnowledgebaseDocumentVersions(String knowledgeBaseId, String documentId, KnowledgeDocumentVersion body) throws IOException, ApiException
      Creates or restores a document version.
      Parameters:
      knowledgeBaseId - Globally unique identifier for the knowledge base. (required)
      documentId - Globally unique identifier for the document. (required)
      body - (required)
      Returns:
      KnowledgeDocumentVersion
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentVersionsWithHttpInfo

      public ApiResponse<KnowledgeDocumentVersion> postKnowledgeKnowledgebaseDocumentVersionsWithHttpInfo(String knowledgeBaseId, String documentId, KnowledgeDocumentVersion body) throws IOException
      Creates or restores a document version.
      Parameters:
      knowledgeBaseId - Globally unique identifier for the knowledge base. (required)
      documentId - Globally unique identifier for the document. (required)
      body - (required)
      Returns:
      KnowledgeDocumentVersion
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentVersions

      public KnowledgeDocumentVersion postKnowledgeKnowledgebaseDocumentVersions(PostKnowledgeKnowledgebaseDocumentVersionsRequest request) throws IOException, ApiException
      Creates or restores a document version.
      Parameters:
      request - The request object
      Returns:
      KnowledgeDocumentVersion
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentVersions

      public ApiResponse<KnowledgeDocumentVersion> postKnowledgeKnowledgebaseDocumentVersions(ApiRequest<KnowledgeDocumentVersion> request) throws IOException
      Creates or restores a document version.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentViews

      public void postKnowledgeKnowledgebaseDocumentViews(String knowledgeBaseId, String documentId, KnowledgeDocumentView body) throws IOException, ApiException
      Create view for a document.
      Parameters:
      knowledgeBaseId - Knowledge base ID. (required)
      documentId - Document ID. (required)
      body - (optional)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentViewsWithHttpInfo

      public ApiResponse<Void> postKnowledgeKnowledgebaseDocumentViewsWithHttpInfo(String knowledgeBaseId, String documentId, KnowledgeDocumentView body) throws IOException
      Create view for a document.
      Parameters:
      knowledgeBaseId - Knowledge base ID. (required)
      documentId - Document ID. (required)
      body - (optional)
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentViews

      public void postKnowledgeKnowledgebaseDocumentViews(PostKnowledgeKnowledgebaseDocumentViewsRequest request) throws IOException, ApiException
      Create view for a document.
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentViews

      public ApiResponse<Void> postKnowledgeKnowledgebaseDocumentViews(ApiRequest<KnowledgeDocumentView> request) throws IOException
      Create view for a document.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocuments

      public KnowledgeDocumentResponse postKnowledgeKnowledgebaseDocuments(String knowledgeBaseId, KnowledgeDocumentReq body) throws IOException, ApiException
      Create document.
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - (required)
      Returns:
      KnowledgeDocumentResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsWithHttpInfo

      public ApiResponse<KnowledgeDocumentResponse> postKnowledgeKnowledgebaseDocumentsWithHttpInfo(String knowledgeBaseId, KnowledgeDocumentReq body) throws IOException
      Create document.
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - (required)
      Returns:
      KnowledgeDocumentResponse
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocuments

      public KnowledgeDocumentResponse postKnowledgeKnowledgebaseDocuments(PostKnowledgeKnowledgebaseDocumentsRequest request) throws IOException, ApiException
      Create document.
      Parameters:
      request - The request object
      Returns:
      KnowledgeDocumentResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocuments

      public ApiResponse<KnowledgeDocumentResponse> postKnowledgeKnowledgebaseDocuments(ApiRequest<KnowledgeDocumentReq> request) throws IOException
      Create document.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsBulkRemove

      public BulkResponse postKnowledgeKnowledgebaseDocumentsBulkRemove(String knowledgeBaseId, KnowledgeDocumentBulkRemoveRequest body) throws IOException, ApiException
      Bulk remove documents. postKnowledgeKnowledgebaseDocumentsBulkRemove is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - (required)
      Returns:
      BulkResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsBulkRemoveWithHttpInfo

      public ApiResponse<BulkResponse> postKnowledgeKnowledgebaseDocumentsBulkRemoveWithHttpInfo(String knowledgeBaseId, KnowledgeDocumentBulkRemoveRequest body) throws IOException
      Bulk remove documents. postKnowledgeKnowledgebaseDocumentsBulkRemove is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - (required)
      Returns:
      BulkResponse
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsBulkRemove

      public BulkResponse postKnowledgeKnowledgebaseDocumentsBulkRemove(PostKnowledgeKnowledgebaseDocumentsBulkRemoveRequest request) throws IOException, ApiException
      Bulk remove documents. postKnowledgeKnowledgebaseDocumentsBulkRemove is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      BulkResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsBulkRemove

      public ApiResponse<BulkResponse> postKnowledgeKnowledgebaseDocumentsBulkRemove(ApiRequest<KnowledgeDocumentBulkRemoveRequest> request) throws IOException
      Bulk remove documents. postKnowledgeKnowledgebaseDocumentsBulkRemove is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsBulkUpdate

      public BulkResponse postKnowledgeKnowledgebaseDocumentsBulkUpdate(String knowledgeBaseId, KnowledgeDocumentBulkUpdateRequest body) throws IOException, ApiException
      Bulk update documents. postKnowledgeKnowledgebaseDocumentsBulkUpdate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - (required)
      Returns:
      BulkResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsBulkUpdateWithHttpInfo

      public ApiResponse<BulkResponse> postKnowledgeKnowledgebaseDocumentsBulkUpdateWithHttpInfo(String knowledgeBaseId, KnowledgeDocumentBulkUpdateRequest body) throws IOException
      Bulk update documents. postKnowledgeKnowledgebaseDocumentsBulkUpdate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - (required)
      Returns:
      BulkResponse
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsBulkUpdate

      public BulkResponse postKnowledgeKnowledgebaseDocumentsBulkUpdate(PostKnowledgeKnowledgebaseDocumentsBulkUpdateRequest request) throws IOException, ApiException
      Bulk update documents. postKnowledgeKnowledgebaseDocumentsBulkUpdate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      BulkResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsBulkUpdate

      public ApiResponse<BulkResponse> postKnowledgeKnowledgebaseDocumentsBulkUpdate(ApiRequest<KnowledgeDocumentBulkUpdateRequest> request) throws IOException
      Bulk update documents. postKnowledgeKnowledgebaseDocumentsBulkUpdate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsPresentations

      public void postKnowledgeKnowledgebaseDocumentsPresentations(String knowledgeBaseId, KnowledgeDocumentPresentation body) throws IOException, ApiException
      Indicate that documents were presented to the user.
      Parameters:
      knowledgeBaseId - Knowledge base ID. (required)
      body - (optional)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsPresentationsWithHttpInfo

      public ApiResponse<Void> postKnowledgeKnowledgebaseDocumentsPresentationsWithHttpInfo(String knowledgeBaseId, KnowledgeDocumentPresentation body) throws IOException
      Indicate that documents were presented to the user.
      Parameters:
      knowledgeBaseId - Knowledge base ID. (required)
      body - (optional)
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsPresentations

      public void postKnowledgeKnowledgebaseDocumentsPresentations(PostKnowledgeKnowledgebaseDocumentsPresentationsRequest request) throws IOException, ApiException
      Indicate that documents were presented to the user.
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsPresentations

      public ApiResponse<Void> postKnowledgeKnowledgebaseDocumentsPresentations(ApiRequest<KnowledgeDocumentPresentation> request) throws IOException
      Indicate that documents were presented to the user.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsSearch

      public KnowledgeDocumentSearch postKnowledgeKnowledgebaseDocumentsSearch(String knowledgeBaseId, List<String> expand, KnowledgeDocumentSearchRequest body) throws IOException, ApiException
      Search the documents in a knowledge base.
      Parameters:
      knowledgeBaseId - The ID of knowledge base containing the documents to query. (required)
      expand - Fields, if any, to expand for each document in the search result matching the query. (optional)
      body - (optional)
      Returns:
      KnowledgeDocumentSearch
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsSearchWithHttpInfo

      public ApiResponse<KnowledgeDocumentSearch> postKnowledgeKnowledgebaseDocumentsSearchWithHttpInfo(String knowledgeBaseId, List<String> expand, KnowledgeDocumentSearchRequest body) throws IOException
      Search the documents in a knowledge base.
      Parameters:
      knowledgeBaseId - The ID of knowledge base containing the documents to query. (required)
      expand - Fields, if any, to expand for each document in the search result matching the query. (optional)
      body - (optional)
      Returns:
      KnowledgeDocumentSearch
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsSearch

      public KnowledgeDocumentSearch postKnowledgeKnowledgebaseDocumentsSearch(PostKnowledgeKnowledgebaseDocumentsSearchRequest request) throws IOException, ApiException
      Search the documents in a knowledge base.
      Parameters:
      request - The request object
      Returns:
      KnowledgeDocumentSearch
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsSearch

      public ApiResponse<KnowledgeDocumentSearch> postKnowledgeKnowledgebaseDocumentsSearch(ApiRequest<KnowledgeDocumentSearchRequest> request) throws IOException
      Search the documents in a knowledge base.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsSearchSuggestions

      public KnowledgeDocumentSuggestion postKnowledgeKnowledgebaseDocumentsSearchSuggestions(String knowledgeBaseId, KnowledgeDocumentSuggestionRequest body) throws IOException, ApiException
      Query the knowledge documents to provide suggestions for auto completion.
      Parameters:
      knowledgeBaseId - The ID of knowledge base containing the documents to query. (required)
      body - (optional)
      Returns:
      KnowledgeDocumentSuggestion
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsSearchSuggestionsWithHttpInfo

      public ApiResponse<KnowledgeDocumentSuggestion> postKnowledgeKnowledgebaseDocumentsSearchSuggestionsWithHttpInfo(String knowledgeBaseId, KnowledgeDocumentSuggestionRequest body) throws IOException
      Query the knowledge documents to provide suggestions for auto completion.
      Parameters:
      knowledgeBaseId - The ID of knowledge base containing the documents to query. (required)
      body - (optional)
      Returns:
      KnowledgeDocumentSuggestion
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsSearchSuggestions

      public KnowledgeDocumentSuggestion postKnowledgeKnowledgebaseDocumentsSearchSuggestions(PostKnowledgeKnowledgebaseDocumentsSearchSuggestionsRequest request) throws IOException, ApiException
      Query the knowledge documents to provide suggestions for auto completion.
      Parameters:
      request - The request object
      Returns:
      KnowledgeDocumentSuggestion
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsSearchSuggestions

      public ApiResponse<KnowledgeDocumentSuggestion> postKnowledgeKnowledgebaseDocumentsSearchSuggestions(ApiRequest<KnowledgeDocumentSuggestionRequest> request) throws IOException
      Query the knowledge documents to provide suggestions for auto completion.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd

      public BulkResponse postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd(String knowledgeBaseId, KnowledgeDocumentBulkVersionAddRequest body) throws IOException, ApiException
      Bulk add document versions. postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - (required)
      Returns:
      BulkResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsVersionsBulkAddWithHttpInfo

      public ApiResponse<BulkResponse> postKnowledgeKnowledgebaseDocumentsVersionsBulkAddWithHttpInfo(String knowledgeBaseId, KnowledgeDocumentBulkVersionAddRequest body) throws IOException
      Bulk add document versions. postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - (required)
      Returns:
      BulkResponse
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd

      public BulkResponse postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd(PostKnowledgeKnowledgebaseDocumentsVersionsBulkAddRequest request) throws IOException, ApiException
      Bulk add document versions. postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      BulkResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd

      public ApiResponse<BulkResponse> postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd(ApiRequest<KnowledgeDocumentBulkVersionAddRequest> request) throws IOException
      Bulk add document versions. postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseExportJobs

      public KnowledgeExportJobResponse postKnowledgeKnowledgebaseExportJobs(String knowledgeBaseId, KnowledgeExportJobRequest body) throws IOException, ApiException
      Create export job
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - (required)
      Returns:
      KnowledgeExportJobResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseExportJobsWithHttpInfo

      public ApiResponse<KnowledgeExportJobResponse> postKnowledgeKnowledgebaseExportJobsWithHttpInfo(String knowledgeBaseId, KnowledgeExportJobRequest body) throws IOException
      Create export job
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - (required)
      Returns:
      KnowledgeExportJobResponse
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseExportJobs

      public KnowledgeExportJobResponse postKnowledgeKnowledgebaseExportJobs(PostKnowledgeKnowledgebaseExportJobsRequest request) throws IOException, ApiException
      Create export job
      Parameters:
      request - The request object
      Returns:
      KnowledgeExportJobResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseExportJobs

      public ApiResponse<KnowledgeExportJobResponse> postKnowledgeKnowledgebaseExportJobs(ApiRequest<KnowledgeExportJobRequest> request) throws IOException
      Create export job
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseImportJobs

      public KnowledgeImportJobResponse postKnowledgeKnowledgebaseImportJobs(String knowledgeBaseId, KnowledgeImportJobRequest body) throws IOException, ApiException
      Create import job
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - (required)
      Returns:
      KnowledgeImportJobResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseImportJobsWithHttpInfo

      public ApiResponse<KnowledgeImportJobResponse> postKnowledgeKnowledgebaseImportJobsWithHttpInfo(String knowledgeBaseId, KnowledgeImportJobRequest body) throws IOException
      Create import job
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - (required)
      Returns:
      KnowledgeImportJobResponse
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseImportJobs

      public KnowledgeImportJobResponse postKnowledgeKnowledgebaseImportJobs(PostKnowledgeKnowledgebaseImportJobsRequest request) throws IOException, ApiException
      Create import job
      Parameters:
      request - The request object
      Returns:
      KnowledgeImportJobResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseImportJobs

      public ApiResponse<KnowledgeImportJobResponse> postKnowledgeKnowledgebaseImportJobs(ApiRequest<KnowledgeImportJobRequest> request) throws IOException
      Create import job
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLabels

      public LabelResponse postKnowledgeKnowledgebaseLabels(String knowledgeBaseId, LabelCreateRequest body) throws IOException, ApiException
      Create new label
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - (required)
      Returns:
      LabelResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLabelsWithHttpInfo

      public ApiResponse<LabelResponse> postKnowledgeKnowledgebaseLabelsWithHttpInfo(String knowledgeBaseId, LabelCreateRequest body) throws IOException
      Create new label
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - (required)
      Returns:
      LabelResponse
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLabels

      public LabelResponse postKnowledgeKnowledgebaseLabels(PostKnowledgeKnowledgebaseLabelsRequest request) throws IOException, ApiException
      Create new label
      Parameters:
      request - The request object
      Returns:
      LabelResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLabels

      public ApiResponse<LabelResponse> postKnowledgeKnowledgebaseLabels(ApiRequest<LabelCreateRequest> request) throws IOException
      Create new label
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLanguageCategories

      public KnowledgeExtendedCategory postKnowledgeKnowledgebaseLanguageCategories(String knowledgeBaseId, String languageCode, KnowledgeCategoryRequest body) throws IOException, ApiException
      Deprecated.
      Create new category
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      body - (required)
      Returns:
      KnowledgeExtendedCategory
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLanguageCategoriesWithHttpInfo

      public ApiResponse<KnowledgeExtendedCategory> postKnowledgeKnowledgebaseLanguageCategoriesWithHttpInfo(String knowledgeBaseId, String languageCode, KnowledgeCategoryRequest body) throws IOException
      Deprecated.
      Create new category
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      body - (required)
      Returns:
      KnowledgeExtendedCategory
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLanguageCategories

      public KnowledgeExtendedCategory postKnowledgeKnowledgebaseLanguageCategories(PostKnowledgeKnowledgebaseLanguageCategoriesRequest request) throws IOException, ApiException
      Deprecated.
      Create new category
      Parameters:
      request - The request object
      Returns:
      KnowledgeExtendedCategory
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLanguageCategories

      public ApiResponse<KnowledgeExtendedCategory> postKnowledgeKnowledgebaseLanguageCategories(ApiRequest<KnowledgeCategoryRequest> request) throws IOException
      Deprecated.
      Create new category
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLanguageDocumentUploads

      public KnowledgeDocumentContentUpload postKnowledgeKnowledgebaseLanguageDocumentUploads(String documentId, String knowledgeBaseId, String languageCode, KnowledgeDocumentContentUpload body) throws IOException, ApiException
      Deprecated.
      Upload Article Content postKnowledgeKnowledgebaseLanguageDocumentUploads is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      documentId - Document ID (required)
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      body - (required)
      Returns:
      KnowledgeDocumentContentUpload
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLanguageDocumentUploadsWithHttpInfo

      public ApiResponse<KnowledgeDocumentContentUpload> postKnowledgeKnowledgebaseLanguageDocumentUploadsWithHttpInfo(String documentId, String knowledgeBaseId, String languageCode, KnowledgeDocumentContentUpload body) throws IOException
      Deprecated.
      Upload Article Content postKnowledgeKnowledgebaseLanguageDocumentUploads is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      documentId - Document ID (required)
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      body - (required)
      Returns:
      KnowledgeDocumentContentUpload
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLanguageDocumentUploads

      public KnowledgeDocumentContentUpload postKnowledgeKnowledgebaseLanguageDocumentUploads(PostKnowledgeKnowledgebaseLanguageDocumentUploadsRequest request) throws IOException, ApiException
      Deprecated.
      Upload Article Content postKnowledgeKnowledgebaseLanguageDocumentUploads is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      KnowledgeDocumentContentUpload
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLanguageDocumentUploads

      public ApiResponse<KnowledgeDocumentContentUpload> postKnowledgeKnowledgebaseLanguageDocumentUploads(ApiRequest<KnowledgeDocumentContentUpload> request) throws IOException
      Deprecated.
      Upload Article Content postKnowledgeKnowledgebaseLanguageDocumentUploads is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLanguageDocuments

      public KnowledgeDocument postKnowledgeKnowledgebaseLanguageDocuments(String knowledgeBaseId, String languageCode, KnowledgeDocumentRequest body) throws IOException, ApiException
      Deprecated.
      Create document
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      body - (required)
      Returns:
      KnowledgeDocument
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLanguageDocumentsWithHttpInfo

      public ApiResponse<KnowledgeDocument> postKnowledgeKnowledgebaseLanguageDocumentsWithHttpInfo(String knowledgeBaseId, String languageCode, KnowledgeDocumentRequest body) throws IOException
      Deprecated.
      Create document
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      body - (required)
      Returns:
      KnowledgeDocument
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLanguageDocuments

      public KnowledgeDocument postKnowledgeKnowledgebaseLanguageDocuments(PostKnowledgeKnowledgebaseLanguageDocumentsRequest request) throws IOException, ApiException
      Deprecated.
      Create document
      Parameters:
      request - The request object
      Returns:
      KnowledgeDocument
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLanguageDocuments

      public ApiResponse<KnowledgeDocument> postKnowledgeKnowledgebaseLanguageDocuments(ApiRequest<KnowledgeDocumentRequest> request) throws IOException
      Deprecated.
      Create document
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLanguageDocumentsImports

      public KnowledgeImport postKnowledgeKnowledgebaseLanguageDocumentsImports(String knowledgeBaseId, String languageCode, KnowledgeImport body) throws IOException, ApiException
      Deprecated.
      Create import operation
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      body - (required)
      Returns:
      KnowledgeImport
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLanguageDocumentsImportsWithHttpInfo

      public ApiResponse<KnowledgeImport> postKnowledgeKnowledgebaseLanguageDocumentsImportsWithHttpInfo(String knowledgeBaseId, String languageCode, KnowledgeImport body) throws IOException
      Deprecated.
      Create import operation
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      body - (required)
      Returns:
      KnowledgeImport
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLanguageDocumentsImports

      public KnowledgeImport postKnowledgeKnowledgebaseLanguageDocumentsImports(PostKnowledgeKnowledgebaseLanguageDocumentsImportsRequest request) throws IOException, ApiException
      Deprecated.
      Create import operation
      Parameters:
      request - The request object
      Returns:
      KnowledgeImport
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLanguageDocumentsImports

      public ApiResponse<KnowledgeImport> postKnowledgeKnowledgebaseLanguageDocumentsImports(ApiRequest<KnowledgeImport> request) throws IOException
      Deprecated.
      Create import operation
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLanguageTrainingPromote

      public KnowledgeTraining postKnowledgeKnowledgebaseLanguageTrainingPromote(String knowledgeBaseId, String languageCode, String trainingId) throws IOException, ApiException
      Deprecated.
      Promote trained documents from draft state to active.
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      trainingId - Training ID (required)
      Returns:
      KnowledgeTraining
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLanguageTrainingPromoteWithHttpInfo

      public ApiResponse<KnowledgeTraining> postKnowledgeKnowledgebaseLanguageTrainingPromoteWithHttpInfo(String knowledgeBaseId, String languageCode, String trainingId) throws IOException
      Deprecated.
      Promote trained documents from draft state to active.
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      trainingId - Training ID (required)
      Returns:
      KnowledgeTraining
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLanguageTrainingPromote

      public KnowledgeTraining postKnowledgeKnowledgebaseLanguageTrainingPromote(PostKnowledgeKnowledgebaseLanguageTrainingPromoteRequest request) throws IOException, ApiException
      Deprecated.
      Promote trained documents from draft state to active.
      Parameters:
      request - The request object
      Returns:
      KnowledgeTraining
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLanguageTrainingPromote

      public ApiResponse<KnowledgeTraining> postKnowledgeKnowledgebaseLanguageTrainingPromote(ApiRequest<Void> request) throws IOException
      Deprecated.
      Promote trained documents from draft state to active.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLanguageTrainings

      public KnowledgeTraining postKnowledgeKnowledgebaseLanguageTrainings(String knowledgeBaseId, String languageCode) throws IOException, ApiException
      Deprecated.
      Trigger training
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      Returns:
      KnowledgeTraining
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLanguageTrainingsWithHttpInfo

      public ApiResponse<KnowledgeTraining> postKnowledgeKnowledgebaseLanguageTrainingsWithHttpInfo(String knowledgeBaseId, String languageCode) throws IOException
      Deprecated.
      Trigger training
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      languageCode - Language code, format: iso2-LOCALE (required)
      Returns:
      KnowledgeTraining
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLanguageTrainings

      public KnowledgeTraining postKnowledgeKnowledgebaseLanguageTrainings(PostKnowledgeKnowledgebaseLanguageTrainingsRequest request) throws IOException, ApiException
      Deprecated.
      Trigger training
      Parameters:
      request - The request object
      Returns:
      KnowledgeTraining
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseLanguageTrainings

      public ApiResponse<KnowledgeTraining> postKnowledgeKnowledgebaseLanguageTrainings(ApiRequest<Void> request) throws IOException
      Deprecated.
      Trigger training
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseParseJobImport

      public void postKnowledgeKnowledgebaseParseJobImport(String knowledgeBaseId, String parseJobId, KnowledgeParseJobRequestImport body) throws IOException, ApiException
      Import the parsed articles postKnowledgeKnowledgebaseParseJobImport is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      parseJobId - Parse job ID (required)
      body - (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseParseJobImportWithHttpInfo

      public ApiResponse<Void> postKnowledgeKnowledgebaseParseJobImportWithHttpInfo(String knowledgeBaseId, String parseJobId, KnowledgeParseJobRequestImport body) throws IOException
      Import the parsed articles postKnowledgeKnowledgebaseParseJobImport is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      parseJobId - Parse job ID (required)
      body - (required)
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseParseJobImport

      public void postKnowledgeKnowledgebaseParseJobImport(PostKnowledgeKnowledgebaseParseJobImportRequest request) throws IOException, ApiException
      Import the parsed articles postKnowledgeKnowledgebaseParseJobImport is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseParseJobImport

      public ApiResponse<Void> postKnowledgeKnowledgebaseParseJobImport(ApiRequest<KnowledgeParseJobRequestImport> request) throws IOException
      Import the parsed articles postKnowledgeKnowledgebaseParseJobImport is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseParseJobs

      public KnowledgeParseJobResponse postKnowledgeKnowledgebaseParseJobs(String knowledgeBaseId, KnowledgeParseJobRequest body) throws IOException, ApiException
      Create parse job postKnowledgeKnowledgebaseParseJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - (required)
      Returns:
      KnowledgeParseJobResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseParseJobsWithHttpInfo

      public ApiResponse<KnowledgeParseJobResponse> postKnowledgeKnowledgebaseParseJobsWithHttpInfo(String knowledgeBaseId, KnowledgeParseJobRequest body) throws IOException
      Create parse job postKnowledgeKnowledgebaseParseJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - (required)
      Returns:
      KnowledgeParseJobResponse
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseParseJobs

      public KnowledgeParseJobResponse postKnowledgeKnowledgebaseParseJobs(PostKnowledgeKnowledgebaseParseJobsRequest request) throws IOException, ApiException
      Create parse job postKnowledgeKnowledgebaseParseJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      KnowledgeParseJobResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseParseJobs

      public ApiResponse<KnowledgeParseJobResponse> postKnowledgeKnowledgebaseParseJobs(ApiRequest<KnowledgeParseJobRequest> request) throws IOException
      Create parse job postKnowledgeKnowledgebaseParseJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseSearch

      public KnowledgeSearchResponse postKnowledgeKnowledgebaseSearch(String knowledgeBaseId, KnowledgeSearchRequest body) throws IOException, ApiException
      Deprecated.
      Search Documents
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - (optional)
      Returns:
      KnowledgeSearchResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseSearchWithHttpInfo

      public ApiResponse<KnowledgeSearchResponse> postKnowledgeKnowledgebaseSearchWithHttpInfo(String knowledgeBaseId, KnowledgeSearchRequest body) throws IOException
      Deprecated.
      Search Documents
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - (optional)
      Returns:
      KnowledgeSearchResponse
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseSearch

      public KnowledgeSearchResponse postKnowledgeKnowledgebaseSearch(PostKnowledgeKnowledgebaseSearchRequest request) throws IOException, ApiException
      Deprecated.
      Search Documents
      Parameters:
      request - The request object
      Returns:
      KnowledgeSearchResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseSearch

      public ApiResponse<KnowledgeSearchResponse> postKnowledgeKnowledgebaseSearch(ApiRequest<KnowledgeSearchRequest> request) throws IOException
      Deprecated.
      Search Documents
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseUploadsUrlsJobs

      public CreateUploadSourceUrlJobResponse postKnowledgeKnowledgebaseUploadsUrlsJobs(String knowledgeBaseId, CreateUploadSourceUrlJobRequest body) throws IOException, ApiException
      Create content upload from URL job postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - uploadRequest (required)
      Returns:
      CreateUploadSourceUrlJobResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseUploadsUrlsJobsWithHttpInfo

      public ApiResponse<CreateUploadSourceUrlJobResponse> postKnowledgeKnowledgebaseUploadsUrlsJobsWithHttpInfo(String knowledgeBaseId, CreateUploadSourceUrlJobRequest body) throws IOException
      Create content upload from URL job postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      knowledgeBaseId - Knowledge base ID (required)
      body - uploadRequest (required)
      Returns:
      CreateUploadSourceUrlJobResponse
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseUploadsUrlsJobs

      public CreateUploadSourceUrlJobResponse postKnowledgeKnowledgebaseUploadsUrlsJobs(PostKnowledgeKnowledgebaseUploadsUrlsJobsRequest request) throws IOException, ApiException
      Create content upload from URL job postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      CreateUploadSourceUrlJobResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebaseUploadsUrlsJobs

      public ApiResponse<CreateUploadSourceUrlJobResponse> postKnowledgeKnowledgebaseUploadsUrlsJobs(ApiRequest<CreateUploadSourceUrlJobRequest> request) throws IOException
      Create content upload from URL job postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebases

      public KnowledgeBase postKnowledgeKnowledgebases(KnowledgeBaseCreateRequest body) throws IOException, ApiException
      Create new knowledge base
      Parameters:
      body - (required)
      Returns:
      KnowledgeBase
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebasesWithHttpInfo

      public ApiResponse<KnowledgeBase> postKnowledgeKnowledgebasesWithHttpInfo(KnowledgeBaseCreateRequest body) throws IOException
      Create new knowledge base
      Parameters:
      body - (required)
      Returns:
      KnowledgeBase
      Throws:
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebases

      public KnowledgeBase postKnowledgeKnowledgebases(PostKnowledgeKnowledgebasesRequest request) throws IOException, ApiException
      Create new knowledge base
      Parameters:
      request - The request object
      Returns:
      KnowledgeBase
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postKnowledgeKnowledgebases

      public ApiResponse<KnowledgeBase> postKnowledgeKnowledgebases(ApiRequest<KnowledgeBaseCreateRequest> request) throws IOException
      Create new knowledge base
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed