Class BusinessRulesApi

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

public class BusinessRulesApi extends Object
  • Constructor Details

    • BusinessRulesApi

      public BusinessRulesApi()
    • BusinessRulesApi

      public BusinessRulesApi(ApiClient apiClient)
  • Method Details

    • deleteBusinessrulesDecisiontable

      public void deleteBusinessrulesDecisiontable(String tableId, Boolean forceDelete) throws IOException, ApiException
      Delete a decision table
      Parameters:
      tableId - Table ID (required)
      forceDelete - Force delete decision table (under certain conditions) (optional, default to false)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteBusinessrulesDecisiontableWithHttpInfo

      public ApiResponse<Void> deleteBusinessrulesDecisiontableWithHttpInfo(String tableId, Boolean forceDelete) throws IOException
      Delete a decision table
      Parameters:
      tableId - Table ID (required)
      forceDelete - Force delete decision table (under certain conditions) (optional, default to false)
      Throws:
      IOException - if the request fails to be processed
    • deleteBusinessrulesDecisiontable

      public void deleteBusinessrulesDecisiontable(DeleteBusinessrulesDecisiontableRequest request) throws IOException, ApiException
      Delete a decision table
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteBusinessrulesDecisiontable

      public ApiResponse<Void> deleteBusinessrulesDecisiontable(ApiRequest<Void> request) throws IOException
      Delete a decision table
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteBusinessrulesDecisiontableExport

      public void deleteBusinessrulesDecisiontableExport(String tableId, String exportJobId) throws IOException, ApiException
      Delete an export job for a decision table
      Parameters:
      tableId - Table ID (required)
      exportJobId - Export Job ID (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteBusinessrulesDecisiontableExportWithHttpInfo

      public ApiResponse<Void> deleteBusinessrulesDecisiontableExportWithHttpInfo(String tableId, String exportJobId) throws IOException
      Delete an export job for a decision table
      Parameters:
      tableId - Table ID (required)
      exportJobId - Export Job ID (required)
      Throws:
      IOException - if the request fails to be processed
    • deleteBusinessrulesDecisiontableExport

      public void deleteBusinessrulesDecisiontableExport(DeleteBusinessrulesDecisiontableExportRequest request) throws IOException, ApiException
      Delete an export job for a decision table
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteBusinessrulesDecisiontableExport

      public ApiResponse<Void> deleteBusinessrulesDecisiontableExport(ApiRequest<Void> request) throws IOException
      Delete an export job for a decision table
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteBusinessrulesDecisiontableImport

      public void deleteBusinessrulesDecisiontableImport(String tableId, String importJobId) throws IOException, ApiException
      Delete decision table row import job
      Parameters:
      tableId - Table ID (required)
      importJobId - Import job ID (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteBusinessrulesDecisiontableImportWithHttpInfo

      public ApiResponse<Void> deleteBusinessrulesDecisiontableImportWithHttpInfo(String tableId, String importJobId) throws IOException
      Delete decision table row import job
      Parameters:
      tableId - Table ID (required)
      importJobId - Import job ID (required)
      Throws:
      IOException - if the request fails to be processed
    • deleteBusinessrulesDecisiontableImport

      public void deleteBusinessrulesDecisiontableImport(DeleteBusinessrulesDecisiontableImportRequest request) throws IOException, ApiException
      Delete decision table row import job
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteBusinessrulesDecisiontableImport

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

      public void deleteBusinessrulesDecisiontableVersion(String tableId, Integer tableVersion) throws IOException, ApiException
      Delete a decision table version
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteBusinessrulesDecisiontableVersionWithHttpInfo

      public ApiResponse<Void> deleteBusinessrulesDecisiontableVersionWithHttpInfo(String tableId, Integer tableVersion) throws IOException
      Delete a decision table version
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      Throws:
      IOException - if the request fails to be processed
    • deleteBusinessrulesDecisiontableVersion

      public void deleteBusinessrulesDecisiontableVersion(DeleteBusinessrulesDecisiontableVersionRequest request) throws IOException, ApiException
      Delete a decision table version
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteBusinessrulesDecisiontableVersion

      public ApiResponse<Void> deleteBusinessrulesDecisiontableVersion(ApiRequest<Void> request) throws IOException
      Delete a decision table version
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteBusinessrulesDecisiontableVersionRow

      public void deleteBusinessrulesDecisiontableVersionRow(String tableId, Integer tableVersion, String rowId) throws IOException, ApiException
      Delete a decision table row Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      rowId - Row ID (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteBusinessrulesDecisiontableVersionRowWithHttpInfo

      public ApiResponse<Void> deleteBusinessrulesDecisiontableVersionRowWithHttpInfo(String tableId, Integer tableVersion, String rowId) throws IOException
      Delete a decision table row Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      rowId - Row ID (required)
      Throws:
      IOException - if the request fails to be processed
    • deleteBusinessrulesDecisiontableVersionRow

      public void deleteBusinessrulesDecisiontableVersionRow(DeleteBusinessrulesDecisiontableVersionRowRequest request) throws IOException, ApiException
      Delete a decision table row Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteBusinessrulesDecisiontableVersionRow

      public ApiResponse<Void> deleteBusinessrulesDecisiontableVersionRow(ApiRequest<Void> request) throws IOException
      Delete a decision table row Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteBusinessrulesSchema

      public void deleteBusinessrulesSchema(String schemaId) throws IOException, ApiException
      Delete a schema
      Parameters:
      schemaId - Schema ID (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteBusinessrulesSchemaWithHttpInfo

      public ApiResponse<Void> deleteBusinessrulesSchemaWithHttpInfo(String schemaId) throws IOException
      Delete a schema
      Parameters:
      schemaId - Schema ID (required)
      Throws:
      IOException - if the request fails to be processed
    • deleteBusinessrulesSchema

      public void deleteBusinessrulesSchema(DeleteBusinessrulesSchemaRequest request) throws IOException, ApiException
      Delete a schema
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteBusinessrulesSchema

      public ApiResponse<Void> deleteBusinessrulesSchema(ApiRequest<Void> request) throws IOException
      Delete a schema
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontable

      public DecisionTable getBusinessrulesDecisiontable(String tableId) throws IOException, ApiException
      Get a decision table
      Parameters:
      tableId - Table ID (required)
      Returns:
      DecisionTable
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableWithHttpInfo

      public ApiResponse<DecisionTable> getBusinessrulesDecisiontableWithHttpInfo(String tableId) throws IOException
      Get a decision table
      Parameters:
      tableId - Table ID (required)
      Returns:
      DecisionTable
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontable

      public DecisionTable getBusinessrulesDecisiontable(GetBusinessrulesDecisiontableRequest request) throws IOException, ApiException
      Get a decision table
      Parameters:
      request - The request object
      Returns:
      DecisionTable
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontable

      public ApiResponse<DecisionTable> getBusinessrulesDecisiontable(ApiRequest<Void> request) throws IOException
      Get a decision table
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableExport

      public DecisionTableExportJob getBusinessrulesDecisiontableExport(String tableId, String exportJobId) throws IOException, ApiException
      Get an export job for a decision table
      Parameters:
      tableId - Table ID (required)
      exportJobId - Export Job ID (required)
      Returns:
      DecisionTableExportJob
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableExportWithHttpInfo

      public ApiResponse<DecisionTableExportJob> getBusinessrulesDecisiontableExportWithHttpInfo(String tableId, String exportJobId) throws IOException
      Get an export job for a decision table
      Parameters:
      tableId - Table ID (required)
      exportJobId - Export Job ID (required)
      Returns:
      DecisionTableExportJob
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableExport

      public DecisionTableExportJob getBusinessrulesDecisiontableExport(GetBusinessrulesDecisiontableExportRequest request) throws IOException, ApiException
      Get an export job for a decision table
      Parameters:
      request - The request object
      Returns:
      DecisionTableExportJob
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableExport

      public ApiResponse<DecisionTableExportJob> getBusinessrulesDecisiontableExport(ApiRequest<Void> request) throws IOException
      Get an export job for a decision table
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableExports

      public DecisionTableExportJobListing getBusinessrulesDecisiontableExports(String tableId, String after, String pageSize) throws IOException, ApiException
      List export jobs for a decision table
      Parameters:
      tableId - Table ID (required)
      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 100. (optional)
      Returns:
      DecisionTableExportJobListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableExportsWithHttpInfo

      public ApiResponse<DecisionTableExportJobListing> getBusinessrulesDecisiontableExportsWithHttpInfo(String tableId, String after, String pageSize) throws IOException
      List export jobs for a decision table
      Parameters:
      tableId - Table ID (required)
      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 100. (optional)
      Returns:
      DecisionTableExportJobListing
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableExports

      public DecisionTableExportJobListing getBusinessrulesDecisiontableExports(GetBusinessrulesDecisiontableExportsRequest request) throws IOException, ApiException
      List export jobs for a decision table
      Parameters:
      request - The request object
      Returns:
      DecisionTableExportJobListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableExports

      public ApiResponse<DecisionTableExportJobListing> getBusinessrulesDecisiontableExports(ApiRequest<Void> request) throws IOException
      List export jobs for a decision table
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableImport

      public DecisionTableImportJob getBusinessrulesDecisiontableImport(String tableId, String importJobId) throws IOException, ApiException
      Get decision table row import job
      Parameters:
      tableId - Table ID (required)
      importJobId - Import job ID (required)
      Returns:
      DecisionTableImportJob
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableImportWithHttpInfo

      public ApiResponse<DecisionTableImportJob> getBusinessrulesDecisiontableImportWithHttpInfo(String tableId, String importJobId) throws IOException
      Get decision table row import job
      Parameters:
      tableId - Table ID (required)
      importJobId - Import job ID (required)
      Returns:
      DecisionTableImportJob
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableImport

      public DecisionTableImportJob getBusinessrulesDecisiontableImport(GetBusinessrulesDecisiontableImportRequest request) throws IOException, ApiException
      Get decision table row import job
      Parameters:
      request - The request object
      Returns:
      DecisionTableImportJob
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableImport

      public ApiResponse<DecisionTableImportJob> getBusinessrulesDecisiontableImport(ApiRequest<Void> request) throws IOException
      Get decision table row import job
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableImports

      public DecisionTableImportJobListing getBusinessrulesDecisiontableImports(String tableId, String after, String pageSize) throws IOException, ApiException
      List decision table row import jobs
      Parameters:
      tableId - Table ID (required)
      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 100. (optional)
      Returns:
      DecisionTableImportJobListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableImportsWithHttpInfo

      public ApiResponse<DecisionTableImportJobListing> getBusinessrulesDecisiontableImportsWithHttpInfo(String tableId, String after, String pageSize) throws IOException
      List decision table row import jobs
      Parameters:
      tableId - Table ID (required)
      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 100. (optional)
      Returns:
      DecisionTableImportJobListing
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableImports

      public DecisionTableImportJobListing getBusinessrulesDecisiontableImports(GetBusinessrulesDecisiontableImportsRequest request) throws IOException, ApiException
      List decision table row import jobs
      Parameters:
      request - The request object
      Returns:
      DecisionTableImportJobListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableImports

      public ApiResponse<DecisionTableImportJobListing> getBusinessrulesDecisiontableImports(ApiRequest<Void> request) throws IOException
      List decision table row import jobs
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableVersion

      public DecisionTableVersion getBusinessrulesDecisiontableVersion(String tableId, Integer tableVersion) throws IOException, ApiException
      Get a decision table version
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      Returns:
      DecisionTableVersion
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableVersionWithHttpInfo

      public ApiResponse<DecisionTableVersion> getBusinessrulesDecisiontableVersionWithHttpInfo(String tableId, Integer tableVersion) throws IOException
      Get a decision table version
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      Returns:
      DecisionTableVersion
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableVersion

      public DecisionTableVersion getBusinessrulesDecisiontableVersion(GetBusinessrulesDecisiontableVersionRequest request) throws IOException, ApiException
      Get a decision table version
      Parameters:
      request - The request object
      Returns:
      DecisionTableVersion
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableVersion

      public ApiResponse<DecisionTableVersion> getBusinessrulesDecisiontableVersion(ApiRequest<Void> request) throws IOException
      Get a decision table version
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableVersionRow

      public DecisionTableRow getBusinessrulesDecisiontableVersionRow(String tableId, Integer tableVersion, String rowId) throws IOException, ApiException
      Get a decision table row
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      rowId - Row ID (required)
      Returns:
      DecisionTableRow
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableVersionRowWithHttpInfo

      public ApiResponse<DecisionTableRow> getBusinessrulesDecisiontableVersionRowWithHttpInfo(String tableId, Integer tableVersion, String rowId) throws IOException
      Get a decision table row
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      rowId - Row ID (required)
      Returns:
      DecisionTableRow
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableVersionRow

      public DecisionTableRow getBusinessrulesDecisiontableVersionRow(GetBusinessrulesDecisiontableVersionRowRequest request) throws IOException, ApiException
      Get a decision table row
      Parameters:
      request - The request object
      Returns:
      DecisionTableRow
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableVersionRow

      public ApiResponse<DecisionTableRow> getBusinessrulesDecisiontableVersionRow(ApiRequest<Void> request) throws IOException
      Get a decision table row
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableVersionRows

      public DecisionTableRowListing getBusinessrulesDecisiontableVersionRows(String tableId, Integer tableVersion, String pageNumber, String pageSize) throws IOException, ApiException
      Get a list of decision table rows.
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      pageNumber - Page number of the entities to return. Defaults to 1. (optional)
      pageSize - Number of entities to return. Maximum of 100. Defaults to 25. (optional)
      Returns:
      DecisionTableRowListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableVersionRowsWithHttpInfo

      public ApiResponse<DecisionTableRowListing> getBusinessrulesDecisiontableVersionRowsWithHttpInfo(String tableId, Integer tableVersion, String pageNumber, String pageSize) throws IOException
      Get a list of decision table rows.
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      pageNumber - Page number of the entities to return. Defaults to 1. (optional)
      pageSize - Number of entities to return. Maximum of 100. Defaults to 25. (optional)
      Returns:
      DecisionTableRowListing
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableVersionRows

      public DecisionTableRowListing getBusinessrulesDecisiontableVersionRows(GetBusinessrulesDecisiontableVersionRowsRequest request) throws IOException, ApiException
      Get a list of decision table rows.
      Parameters:
      request - The request object
      Returns:
      DecisionTableRowListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableVersionRows

      public ApiResponse<DecisionTableRowListing> getBusinessrulesDecisiontableVersionRows(ApiRequest<Void> request) throws IOException
      Get a list of decision table rows.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableVersions

      public DecisionTableVersionListing getBusinessrulesDecisiontableVersions(String tableId, String after, String pageSize) throws IOException, ApiException
      Get a list of decision table versions
      Parameters:
      tableId - Table ID (required)
      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 100. (optional)
      Returns:
      DecisionTableVersionListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableVersionsWithHttpInfo

      public ApiResponse<DecisionTableVersionListing> getBusinessrulesDecisiontableVersionsWithHttpInfo(String tableId, String after, String pageSize) throws IOException
      Get a list of decision table versions
      Parameters:
      tableId - Table ID (required)
      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 100. (optional)
      Returns:
      DecisionTableVersionListing
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableVersions

      public DecisionTableVersionListing getBusinessrulesDecisiontableVersions(GetBusinessrulesDecisiontableVersionsRequest request) throws IOException, ApiException
      Get a list of decision table versions
      Parameters:
      request - The request object
      Returns:
      DecisionTableVersionListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontableVersions

      public ApiResponse<DecisionTableVersionListing> getBusinessrulesDecisiontableVersions(ApiRequest<Void> request) throws IOException
      Get a list of decision table versions
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontables

      public DecisionTableListing getBusinessrulesDecisiontables(String after, String pageSize, List<String> divisionIds, String name) throws IOException, ApiException
      Get a list of decision tables.
      Parameters:
      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 100. (optional)
      divisionIds - One or more comma separated divisions to filters decision tables by. If nothing is provided, the decision tables associated with the list of divisions that the user has access to will be returned. (optional)
      name - Search for decision tables with a name that contains the given search string. Search is case insensitive and will match any table that contains this string in any part of the name. (optional)
      Returns:
      DecisionTableListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontablesWithHttpInfo

      public ApiResponse<DecisionTableListing> getBusinessrulesDecisiontablesWithHttpInfo(String after, String pageSize, List<String> divisionIds, String name) throws IOException
      Get a list of decision tables.
      Parameters:
      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 100. (optional)
      divisionIds - One or more comma separated divisions to filters decision tables by. If nothing is provided, the decision tables associated with the list of divisions that the user has access to will be returned. (optional)
      name - Search for decision tables with a name that contains the given search string. Search is case insensitive and will match any table that contains this string in any part of the name. (optional)
      Returns:
      DecisionTableListing
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontables

      public DecisionTableListing getBusinessrulesDecisiontables(GetBusinessrulesDecisiontablesRequest request) throws IOException, ApiException
      Get a list of decision tables.
      Parameters:
      request - The request object
      Returns:
      DecisionTableListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontables

      public ApiResponse<DecisionTableListing> getBusinessrulesDecisiontables(ApiRequest<Void> request) throws IOException
      Get a list of decision tables.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontablesSearch

      public DecisionTableListing getBusinessrulesDecisiontablesSearch(String after, String pageSize, String schemaId, String name, Boolean withPublishedVersion, List<String> expand, List<String> ids) throws IOException, ApiException
      Search for decision tables.
      Parameters:
      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 100. (optional)
      schemaId - Search for decision tables that use the schema with this ID. Cannot be combined with name search. Search results will not be paginated if used. (optional)
      name - Search for decision tables with a name that contains the given search string. Search is case insensitive and will match any table that contains this string in any part of the name. Cannot be combined with schema search. Search results will not be paginated if used. (optional)
      withPublishedVersion - Filters results to only decision tables that have at least one version in Published status (optional)
      expand - Fields to expand in response (optional)
      ids - Decision table IDs to search for (optional)
      Returns:
      DecisionTableListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontablesSearchWithHttpInfo

      public ApiResponse<DecisionTableListing> getBusinessrulesDecisiontablesSearchWithHttpInfo(String after, String pageSize, String schemaId, String name, Boolean withPublishedVersion, List<String> expand, List<String> ids) throws IOException
      Search for decision tables.
      Parameters:
      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 100. (optional)
      schemaId - Search for decision tables that use the schema with this ID. Cannot be combined with name search. Search results will not be paginated if used. (optional)
      name - Search for decision tables with a name that contains the given search string. Search is case insensitive and will match any table that contains this string in any part of the name. Cannot be combined with schema search. Search results will not be paginated if used. (optional)
      withPublishedVersion - Filters results to only decision tables that have at least one version in Published status (optional)
      expand - Fields to expand in response (optional)
      ids - Decision table IDs to search for (optional)
      Returns:
      DecisionTableListing
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontablesSearch

      public DecisionTableListing getBusinessrulesDecisiontablesSearch(GetBusinessrulesDecisiontablesSearchRequest request) throws IOException, ApiException
      Search for decision tables.
      Parameters:
      request - The request object
      Returns:
      DecisionTableListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesDecisiontablesSearch

      public ApiResponse<DecisionTableListing> getBusinessrulesDecisiontablesSearch(ApiRequest<Void> request) throws IOException
      Search for decision tables.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesSchema

      public BusinessRulesDataSchema getBusinessrulesSchema(String schemaId) throws IOException, ApiException
      Get a schema
      Parameters:
      schemaId - Schema ID (required)
      Returns:
      BusinessRulesDataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesSchemaWithHttpInfo

      public ApiResponse<BusinessRulesDataSchema> getBusinessrulesSchemaWithHttpInfo(String schemaId) throws IOException
      Get a schema
      Parameters:
      schemaId - Schema ID (required)
      Returns:
      BusinessRulesDataSchema
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesSchema

      public BusinessRulesDataSchema getBusinessrulesSchema(GetBusinessrulesSchemaRequest request) throws IOException, ApiException
      Get a schema
      Parameters:
      request - The request object
      Returns:
      BusinessRulesDataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesSchema

      public ApiResponse<BusinessRulesDataSchema> getBusinessrulesSchema(ApiRequest<Void> request) throws IOException
      Get a schema
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesSchemas

      public BusinessRulesDataSchemaListing getBusinessrulesSchemas() throws IOException, ApiException
      Get a list of schemas.
      Returns:
      BusinessRulesDataSchemaListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesSchemasWithHttpInfo

      public ApiResponse<BusinessRulesDataSchemaListing> getBusinessrulesSchemasWithHttpInfo() throws IOException
      Get a list of schemas.
      Returns:
      BusinessRulesDataSchemaListing
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesSchemas

      Get a list of schemas.
      Parameters:
      request - The request object
      Returns:
      BusinessRulesDataSchemaListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesSchemas

      public ApiResponse<BusinessRulesDataSchemaListing> getBusinessrulesSchemas(ApiRequest<Void> request) throws IOException
      Get a list of schemas.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesSchemasCoretype

      public Coretype getBusinessrulesSchemasCoretype(String coreTypeName) throws IOException, ApiException
      Get a specific named core type.
      Parameters:
      coreTypeName - The core type's name (required)
      Returns:
      Coretype
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesSchemasCoretypeWithHttpInfo

      public ApiResponse<Coretype> getBusinessrulesSchemasCoretypeWithHttpInfo(String coreTypeName) throws IOException
      Get a specific named core type.
      Parameters:
      coreTypeName - The core type's name (required)
      Returns:
      Coretype
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesSchemasCoretype

      public Coretype getBusinessrulesSchemasCoretype(GetBusinessrulesSchemasCoretypeRequest request) throws IOException, ApiException
      Get a specific named core type.
      Parameters:
      request - The request object
      Returns:
      Coretype
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesSchemasCoretype

      public ApiResponse<Coretype> getBusinessrulesSchemasCoretype(ApiRequest<Void> request) throws IOException
      Get a specific named core type.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesSchemasCoretypes

      public CoretypeListing getBusinessrulesSchemasCoretypes() throws IOException, ApiException
      Get the core types from which all schemas are built.
      Returns:
      CoretypeListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesSchemasCoretypesWithHttpInfo

      public ApiResponse<CoretypeListing> getBusinessrulesSchemasCoretypesWithHttpInfo() throws IOException
      Get the core types from which all schemas are built.
      Returns:
      CoretypeListing
      Throws:
      IOException - if the request fails to be processed
    • getBusinessrulesSchemasCoretypes

      public CoretypeListing getBusinessrulesSchemasCoretypes(GetBusinessrulesSchemasCoretypesRequest request) throws IOException, ApiException
      Get the core types from which all schemas are built.
      Parameters:
      request - The request object
      Returns:
      CoretypeListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getBusinessrulesSchemasCoretypes

      public ApiResponse<CoretypeListing> getBusinessrulesSchemasCoretypes(ApiRequest<Void> request) throws IOException
      Get the core types from which all schemas are built.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchBusinessrulesDecisiontable

      public DecisionTable patchBusinessrulesDecisiontable(String tableId, UpdateDecisionTableRequest body) throws IOException, ApiException
      Update a decision table Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      tableId - Table ID (required)
      body - Decision Table (required)
      Returns:
      DecisionTable
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchBusinessrulesDecisiontableWithHttpInfo

      public ApiResponse<DecisionTable> patchBusinessrulesDecisiontableWithHttpInfo(String tableId, UpdateDecisionTableRequest body) throws IOException
      Update a decision table Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      tableId - Table ID (required)
      body - Decision Table (required)
      Returns:
      DecisionTable
      Throws:
      IOException - if the request fails to be processed
    • patchBusinessrulesDecisiontable

      public DecisionTable patchBusinessrulesDecisiontable(PatchBusinessrulesDecisiontableRequest request) throws IOException, ApiException
      Update a decision table Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      request - The request object
      Returns:
      DecisionTable
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchBusinessrulesDecisiontable

      public ApiResponse<DecisionTable> patchBusinessrulesDecisiontable(ApiRequest<UpdateDecisionTableRequest> request) throws IOException
      Update a decision table Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchBusinessrulesDecisiontableImport

      public DecisionTableImportJob patchBusinessrulesDecisiontableImport(String tableId, String importJobId, UpdateDecisionTableImportJobRequest body) throws IOException, ApiException
      Update decision table row import job
      Parameters:
      tableId - Table ID (required)
      importJobId - Import job ID (required)
      body - Import job update request (required)
      Returns:
      DecisionTableImportJob
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchBusinessrulesDecisiontableImportWithHttpInfo

      public ApiResponse<DecisionTableImportJob> patchBusinessrulesDecisiontableImportWithHttpInfo(String tableId, String importJobId, UpdateDecisionTableImportJobRequest body) throws IOException
      Update decision table row import job
      Parameters:
      tableId - Table ID (required)
      importJobId - Import job ID (required)
      body - Import job update request (required)
      Returns:
      DecisionTableImportJob
      Throws:
      IOException - if the request fails to be processed
    • patchBusinessrulesDecisiontableImport

      public DecisionTableImportJob patchBusinessrulesDecisiontableImport(PatchBusinessrulesDecisiontableImportRequest request) throws IOException, ApiException
      Update decision table row import job
      Parameters:
      request - The request object
      Returns:
      DecisionTableImportJob
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchBusinessrulesDecisiontableImport

      public ApiResponse<DecisionTableImportJob> patchBusinessrulesDecisiontableImport(ApiRequest<UpdateDecisionTableImportJobRequest> request) throws IOException
      Update decision table row import job
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchBusinessrulesDecisiontableVersion

      public DecisionTableVersion patchBusinessrulesDecisiontableVersion(String tableId, Integer tableVersion, UpdateDecisionTableVersionRequest body) throws IOException, ApiException
      Update a decision table version
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      body - Decision Table (required)
      Returns:
      DecisionTableVersion
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchBusinessrulesDecisiontableVersionWithHttpInfo

      public ApiResponse<DecisionTableVersion> patchBusinessrulesDecisiontableVersionWithHttpInfo(String tableId, Integer tableVersion, UpdateDecisionTableVersionRequest body) throws IOException
      Update a decision table version
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      body - Decision Table (required)
      Returns:
      DecisionTableVersion
      Throws:
      IOException - if the request fails to be processed
    • patchBusinessrulesDecisiontableVersion

      public DecisionTableVersion patchBusinessrulesDecisiontableVersion(PatchBusinessrulesDecisiontableVersionRequest request) throws IOException, ApiException
      Update a decision table version
      Parameters:
      request - The request object
      Returns:
      DecisionTableVersion
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchBusinessrulesDecisiontableVersion

      public ApiResponse<DecisionTableVersion> patchBusinessrulesDecisiontableVersion(ApiRequest<UpdateDecisionTableVersionRequest> request) throws IOException
      Update a decision table version
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableExecute

      public DecisionTableExecutionResponse postBusinessrulesDecisiontableExecute(String tableId, DecisionTableExecutionRequest body) throws IOException, ApiException
      Execute a published decision table
      Parameters:
      tableId - Table ID (required)
      body - Decision Table (required)
      Returns:
      DecisionTableExecutionResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableExecuteWithHttpInfo

      public ApiResponse<DecisionTableExecutionResponse> postBusinessrulesDecisiontableExecuteWithHttpInfo(String tableId, DecisionTableExecutionRequest body) throws IOException
      Execute a published decision table
      Parameters:
      tableId - Table ID (required)
      body - Decision Table (required)
      Returns:
      DecisionTableExecutionResponse
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableExecute

      public DecisionTableExecutionResponse postBusinessrulesDecisiontableExecute(PostBusinessrulesDecisiontableExecuteRequest request) throws IOException, ApiException
      Execute a published decision table
      Parameters:
      request - The request object
      Returns:
      DecisionTableExecutionResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableExecute

      public ApiResponse<DecisionTableExecutionResponse> postBusinessrulesDecisiontableExecute(ApiRequest<DecisionTableExecutionRequest> request) throws IOException
      Execute a published decision table
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableExports

      public DecisionTableExportJob postBusinessrulesDecisiontableExports(String tableId, DecisionTableExportJobRequest body) throws IOException, ApiException
      Create an export job for a decision table version
      Parameters:
      tableId - Table ID (required)
      body - Export job request (required)
      Returns:
      DecisionTableExportJob
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableExportsWithHttpInfo

      public ApiResponse<DecisionTableExportJob> postBusinessrulesDecisiontableExportsWithHttpInfo(String tableId, DecisionTableExportJobRequest body) throws IOException
      Create an export job for a decision table version
      Parameters:
      tableId - Table ID (required)
      body - Export job request (required)
      Returns:
      DecisionTableExportJob
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableExports

      public DecisionTableExportJob postBusinessrulesDecisiontableExports(PostBusinessrulesDecisiontableExportsRequest request) throws IOException, ApiException
      Create an export job for a decision table version
      Parameters:
      request - The request object
      Returns:
      DecisionTableExportJob
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableExports

      public ApiResponse<DecisionTableExportJob> postBusinessrulesDecisiontableExports(ApiRequest<DecisionTableExportJobRequest> request) throws IOException
      Create an export job for a decision table version
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableImports

      public DecisionTableImportJob postBusinessrulesDecisiontableImports(String tableId, CreateDecisionTableImportJobRequest body) throws IOException, ApiException
      Create a decision table row import job
      Parameters:
      tableId - Table ID (required)
      body - Import job create request (required)
      Returns:
      DecisionTableImportJob
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableImportsWithHttpInfo

      public ApiResponse<DecisionTableImportJob> postBusinessrulesDecisiontableImportsWithHttpInfo(String tableId, CreateDecisionTableImportJobRequest body) throws IOException
      Create a decision table row import job
      Parameters:
      tableId - Table ID (required)
      body - Import job create request (required)
      Returns:
      DecisionTableImportJob
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableImports

      public DecisionTableImportJob postBusinessrulesDecisiontableImports(PostBusinessrulesDecisiontableImportsRequest request) throws IOException, ApiException
      Create a decision table row import job
      Parameters:
      request - The request object
      Returns:
      DecisionTableImportJob
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableImports

      public ApiResponse<DecisionTableImportJob> postBusinessrulesDecisiontableImports(ApiRequest<CreateDecisionTableImportJobRequest> request) throws IOException
      Create a decision table row import job
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionCopy

      public DecisionTableVersion postBusinessrulesDecisiontableVersionCopy(String tableId, Integer tableVersion, CopyDecisionTableRequest body) throws IOException, ApiException
      Copy a decision table version
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      body - Decision Table (required)
      Returns:
      DecisionTableVersion
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionCopyWithHttpInfo

      public ApiResponse<DecisionTableVersion> postBusinessrulesDecisiontableVersionCopyWithHttpInfo(String tableId, Integer tableVersion, CopyDecisionTableRequest body) throws IOException
      Copy a decision table version
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      body - Decision Table (required)
      Returns:
      DecisionTableVersion
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionCopy

      public DecisionTableVersion postBusinessrulesDecisiontableVersionCopy(PostBusinessrulesDecisiontableVersionCopyRequest request) throws IOException, ApiException
      Copy a decision table version
      Parameters:
      request - The request object
      Returns:
      DecisionTableVersion
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionCopy

      public ApiResponse<DecisionTableVersion> postBusinessrulesDecisiontableVersionCopy(ApiRequest<CopyDecisionTableRequest> request) throws IOException
      Copy a decision table version
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionExecute

      public DecisionTableExecutionResponse postBusinessrulesDecisiontableVersionExecute(String tableId, Integer tableVersion, DecisionTableExecutionRequest body) throws IOException, ApiException
      Execute a decision table version
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      body - Decision Table (required)
      Returns:
      DecisionTableExecutionResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionExecuteWithHttpInfo

      public ApiResponse<DecisionTableExecutionResponse> postBusinessrulesDecisiontableVersionExecuteWithHttpInfo(String tableId, Integer tableVersion, DecisionTableExecutionRequest body) throws IOException
      Execute a decision table version
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      body - Decision Table (required)
      Returns:
      DecisionTableExecutionResponse
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionExecute

      public DecisionTableExecutionResponse postBusinessrulesDecisiontableVersionExecute(PostBusinessrulesDecisiontableVersionExecuteRequest request) throws IOException, ApiException
      Execute a decision table version
      Parameters:
      request - The request object
      Returns:
      DecisionTableExecutionResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionExecute

      public ApiResponse<DecisionTableExecutionResponse> postBusinessrulesDecisiontableVersionExecute(ApiRequest<DecisionTableExecutionRequest> request) throws IOException
      Execute a decision table version
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionRows

      public DecisionTableRow postBusinessrulesDecisiontableVersionRows(String tableId, Integer tableVersion, CreateDecisionTableRowRequest body) throws IOException, ApiException
      Create a decision table row Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      body - Create decision table row request (required)
      Returns:
      DecisionTableRow
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionRowsWithHttpInfo

      public ApiResponse<DecisionTableRow> postBusinessrulesDecisiontableVersionRowsWithHttpInfo(String tableId, Integer tableVersion, CreateDecisionTableRowRequest body) throws IOException
      Create a decision table row Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      body - Create decision table row request (required)
      Returns:
      DecisionTableRow
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionRows

      public DecisionTableRow postBusinessrulesDecisiontableVersionRows(PostBusinessrulesDecisiontableVersionRowsRequest request) throws IOException, ApiException
      Create a decision table row Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      request - The request object
      Returns:
      DecisionTableRow
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionRows

      public ApiResponse<DecisionTableRow> postBusinessrulesDecisiontableVersionRows(ApiRequest<CreateDecisionTableRowRequest> request) throws IOException
      Create a decision table row Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionRowsBulkAdd

      public BulkAddDecisionTableRowsResponse postBusinessrulesDecisiontableVersionRowsBulkAdd(String tableId, Integer tableVersion, BulkAddDecisionTableRowsRequest body) throws IOException, ApiException
      Bulk add decision table rows Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      body - Bulk add decision table rows request (required)
      Returns:
      BulkAddDecisionTableRowsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionRowsBulkAddWithHttpInfo

      public ApiResponse<BulkAddDecisionTableRowsResponse> postBusinessrulesDecisiontableVersionRowsBulkAddWithHttpInfo(String tableId, Integer tableVersion, BulkAddDecisionTableRowsRequest body) throws IOException
      Bulk add decision table rows Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      body - Bulk add decision table rows request (required)
      Returns:
      BulkAddDecisionTableRowsResponse
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionRowsBulkAdd

      public BulkAddDecisionTableRowsResponse postBusinessrulesDecisiontableVersionRowsBulkAdd(PostBusinessrulesDecisiontableVersionRowsBulkAddRequest request) throws IOException, ApiException
      Bulk add decision table rows Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      request - The request object
      Returns:
      BulkAddDecisionTableRowsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionRowsBulkAdd

      public ApiResponse<BulkAddDecisionTableRowsResponse> postBusinessrulesDecisiontableVersionRowsBulkAdd(ApiRequest<BulkAddDecisionTableRowsRequest> request) throws IOException
      Bulk add decision table rows Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionRowsBulkRemove

      public void postBusinessrulesDecisiontableVersionRowsBulkRemove(String tableId, Integer tableVersion, BulkDeleteDecisionTableRowsRequest body) throws IOException, ApiException
      Bulk delete decision table rows Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      body - (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionRowsBulkRemoveWithHttpInfo

      public ApiResponse<Void> postBusinessrulesDecisiontableVersionRowsBulkRemoveWithHttpInfo(String tableId, Integer tableVersion, BulkDeleteDecisionTableRowsRequest body) throws IOException
      Bulk delete decision table rows Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      body - (required)
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionRowsBulkRemove

      public void postBusinessrulesDecisiontableVersionRowsBulkRemove(PostBusinessrulesDecisiontableVersionRowsBulkRemoveRequest request) throws IOException, ApiException
      Bulk delete decision table rows Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionRowsBulkRemove

      public ApiResponse<Void> postBusinessrulesDecisiontableVersionRowsBulkRemove(ApiRequest<BulkDeleteDecisionTableRowsRequest> request) throws IOException
      Bulk delete decision table rows Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionRowsBulkUpdate

      public BulkUpdateDecisionTableRowsResponse postBusinessrulesDecisiontableVersionRowsBulkUpdate(String tableId, Integer tableVersion, BulkUpdateDecisionTableRowsRequest body) throws IOException, ApiException
      Bulk update decision table rows Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      body - Bulk update decision table rows request (required)
      Returns:
      BulkUpdateDecisionTableRowsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionRowsBulkUpdateWithHttpInfo

      public ApiResponse<BulkUpdateDecisionTableRowsResponse> postBusinessrulesDecisiontableVersionRowsBulkUpdateWithHttpInfo(String tableId, Integer tableVersion, BulkUpdateDecisionTableRowsRequest body) throws IOException
      Bulk update decision table rows Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      body - Bulk update decision table rows request (required)
      Returns:
      BulkUpdateDecisionTableRowsResponse
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionRowsBulkUpdate

      public BulkUpdateDecisionTableRowsResponse postBusinessrulesDecisiontableVersionRowsBulkUpdate(PostBusinessrulesDecisiontableVersionRowsBulkUpdateRequest request) throws IOException, ApiException
      Bulk update decision table rows Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      request - The request object
      Returns:
      BulkUpdateDecisionTableRowsResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionRowsBulkUpdate

      public ApiResponse<BulkUpdateDecisionTableRowsResponse> postBusinessrulesDecisiontableVersionRowsBulkUpdate(ApiRequest<BulkUpdateDecisionTableRowsRequest> request) throws IOException
      Bulk update decision table rows Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionRowsSearch

      public DecisionTableRowListing postBusinessrulesDecisiontableVersionRowsSearch(String tableId, Integer tableVersion, SearchDecisionTableRowsRequest body, String pageNumber, String pageSize) throws IOException, ApiException
      Search for decision table rows
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      body - Search decision table rows request (required)
      pageNumber - Page number of the entities to return. Defaults to 1. (optional)
      pageSize - Number of entities to return. Maximum of 100. Defaults to 25. (optional)
      Returns:
      DecisionTableRowListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionRowsSearchWithHttpInfo

      public ApiResponse<DecisionTableRowListing> postBusinessrulesDecisiontableVersionRowsSearchWithHttpInfo(String tableId, Integer tableVersion, SearchDecisionTableRowsRequest body, String pageNumber, String pageSize) throws IOException
      Search for decision table rows
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      body - Search decision table rows request (required)
      pageNumber - Page number of the entities to return. Defaults to 1. (optional)
      pageSize - Number of entities to return. Maximum of 100. Defaults to 25. (optional)
      Returns:
      DecisionTableRowListing
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionRowsSearch

      public DecisionTableRowListing postBusinessrulesDecisiontableVersionRowsSearch(PostBusinessrulesDecisiontableVersionRowsSearchRequest request) throws IOException, ApiException
      Search for decision table rows
      Parameters:
      request - The request object
      Returns:
      DecisionTableRowListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionRowsSearch

      public ApiResponse<DecisionTableRowListing> postBusinessrulesDecisiontableVersionRowsSearch(ApiRequest<SearchDecisionTableRowsRequest> request) throws IOException
      Search for decision table rows
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionSync

      public DecisionTableVersion postBusinessrulesDecisiontableVersionSync(String tableId, Integer tableVersion) throws IOException, ApiException
      Update the Business Rules Schema to the latest version for a given decision table version
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      Returns:
      DecisionTableVersion
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionSyncWithHttpInfo

      public ApiResponse<DecisionTableVersion> postBusinessrulesDecisiontableVersionSyncWithHttpInfo(String tableId, Integer tableVersion) throws IOException
      Update the Business Rules Schema to the latest version for a given decision table version
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      Returns:
      DecisionTableVersion
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionSync

      public DecisionTableVersion postBusinessrulesDecisiontableVersionSync(PostBusinessrulesDecisiontableVersionSyncRequest request) throws IOException, ApiException
      Update the Business Rules Schema to the latest version for a given decision table version
      Parameters:
      request - The request object
      Returns:
      DecisionTableVersion
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionSync

      public ApiResponse<DecisionTableVersion> postBusinessrulesDecisiontableVersionSync(ApiRequest<Void> request) throws IOException
      Update the Business Rules Schema to the latest version for a given decision table version
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersions

      public DecisionTableVersion postBusinessrulesDecisiontableVersions(String tableId) throws IOException, ApiException
      Create a new decision table version
      Parameters:
      tableId - Table ID (required)
      Returns:
      DecisionTableVersion
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersionsWithHttpInfo

      public ApiResponse<DecisionTableVersion> postBusinessrulesDecisiontableVersionsWithHttpInfo(String tableId) throws IOException
      Create a new decision table version
      Parameters:
      tableId - Table ID (required)
      Returns:
      DecisionTableVersion
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersions

      public DecisionTableVersion postBusinessrulesDecisiontableVersions(PostBusinessrulesDecisiontableVersionsRequest request) throws IOException, ApiException
      Create a new decision table version
      Parameters:
      request - The request object
      Returns:
      DecisionTableVersion
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontableVersions

      public ApiResponse<DecisionTableVersion> postBusinessrulesDecisiontableVersions(ApiRequest<Void> request) throws IOException
      Create a new decision table version
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontables

      public DecisionTableVersion postBusinessrulesDecisiontables(CreateDecisionTableRequest body) throws IOException, ApiException
      Create a decision table Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      body - Decision Table (required)
      Returns:
      DecisionTableVersion
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontablesWithHttpInfo

      public ApiResponse<DecisionTableVersion> postBusinessrulesDecisiontablesWithHttpInfo(CreateDecisionTableRequest body) throws IOException
      Create a decision table Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      body - Decision Table (required)
      Returns:
      DecisionTableVersion
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontables

      public DecisionTableVersion postBusinessrulesDecisiontables(PostBusinessrulesDecisiontablesRequest request) throws IOException, ApiException
      Create a decision table Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      request - The request object
      Returns:
      DecisionTableVersion
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesDecisiontables

      public ApiResponse<DecisionTableVersion> postBusinessrulesDecisiontables(ApiRequest<CreateDecisionTableRequest> request) throws IOException
      Create a decision table Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesSchemas

      public BusinessRulesDataSchema postBusinessrulesSchemas(BusinessRulesSchemaCreateRequest body) throws IOException, ApiException
      Create a schema
      Parameters:
      body - Business Rules Schema Create Request (required)
      Returns:
      BusinessRulesDataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesSchemasWithHttpInfo

      public ApiResponse<BusinessRulesDataSchema> postBusinessrulesSchemasWithHttpInfo(BusinessRulesSchemaCreateRequest body) throws IOException
      Create a schema
      Parameters:
      body - Business Rules Schema Create Request (required)
      Returns:
      BusinessRulesDataSchema
      Throws:
      IOException - if the request fails to be processed
    • postBusinessrulesSchemas

      public BusinessRulesDataSchema postBusinessrulesSchemas(PostBusinessrulesSchemasRequest request) throws IOException, ApiException
      Create a schema
      Parameters:
      request - The request object
      Returns:
      BusinessRulesDataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postBusinessrulesSchemas

      Create a schema
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • putBusinessrulesDecisiontableVersionPublish

      public DecisionTableVersion putBusinessrulesDecisiontableVersionPublish(String tableId, Integer tableVersion) throws IOException, ApiException
      Publish a decision table version
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      Returns:
      DecisionTableVersion
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putBusinessrulesDecisiontableVersionPublishWithHttpInfo

      public ApiResponse<DecisionTableVersion> putBusinessrulesDecisiontableVersionPublishWithHttpInfo(String tableId, Integer tableVersion) throws IOException
      Publish a decision table version
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      Returns:
      DecisionTableVersion
      Throws:
      IOException - if the request fails to be processed
    • putBusinessrulesDecisiontableVersionPublish

      public DecisionTableVersion putBusinessrulesDecisiontableVersionPublish(PutBusinessrulesDecisiontableVersionPublishRequest request) throws IOException, ApiException
      Publish a decision table version
      Parameters:
      request - The request object
      Returns:
      DecisionTableVersion
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putBusinessrulesDecisiontableVersionPublish

      public ApiResponse<DecisionTableVersion> putBusinessrulesDecisiontableVersionPublish(ApiRequest<Void> request) throws IOException
      Publish a decision table version
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • putBusinessrulesDecisiontableVersionRow

      public DecisionTableRow putBusinessrulesDecisiontableVersionRow(String tableId, Integer tableVersion, String rowId, PutDecisionTableRowRequest body) throws IOException, ApiException
      Full update a decision table row Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      rowId - Row ID (required)
      body - Full update decision table row request (required)
      Returns:
      DecisionTableRow
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putBusinessrulesDecisiontableVersionRowWithHttpInfo

      public ApiResponse<DecisionTableRow> putBusinessrulesDecisiontableVersionRowWithHttpInfo(String tableId, Integer tableVersion, String rowId, PutDecisionTableRowRequest body) throws IOException
      Full update a decision table row Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      tableId - Table ID (required)
      tableVersion - Table Version (required)
      rowId - Row ID (required)
      body - Full update decision table row request (required)
      Returns:
      DecisionTableRow
      Throws:
      IOException - if the request fails to be processed
    • putBusinessrulesDecisiontableVersionRow

      public DecisionTableRow putBusinessrulesDecisiontableVersionRow(PutBusinessrulesDecisiontableVersionRowRequest request) throws IOException, ApiException
      Full update a decision table row Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      request - The request object
      Returns:
      DecisionTableRow
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putBusinessrulesDecisiontableVersionRow

      public ApiResponse<DecisionTableRow> putBusinessrulesDecisiontableVersionRow(ApiRequest<PutDecisionTableRowRequest> request) throws IOException
      Full update a decision table row Required permissions depend on table content: if the table or row contains queue references, routing:queue:view is required in each queue's division. Future platform objects will require their associated permissions in the relevant divisions when the table or row contains references to them.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • putBusinessrulesSchema

      public BusinessRulesDataSchema putBusinessrulesSchema(String schemaId, BusinessRulesSchemaUpdateRequest body) throws IOException, ApiException
      Update a schema
      Parameters:
      schemaId - Schema ID (required)
      body - Business Rules Schema Update Request (required)
      Returns:
      BusinessRulesDataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putBusinessrulesSchemaWithHttpInfo

      public ApiResponse<BusinessRulesDataSchema> putBusinessrulesSchemaWithHttpInfo(String schemaId, BusinessRulesSchemaUpdateRequest body) throws IOException
      Update a schema
      Parameters:
      schemaId - Schema ID (required)
      body - Business Rules Schema Update Request (required)
      Returns:
      BusinessRulesDataSchema
      Throws:
      IOException - if the request fails to be processed
    • putBusinessrulesSchema

      public BusinessRulesDataSchema putBusinessrulesSchema(PutBusinessrulesSchemaRequest request) throws IOException, ApiException
      Update a schema
      Parameters:
      request - The request object
      Returns:
      BusinessRulesDataSchema
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putBusinessrulesSchema

      Update a schema
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed