# TestSuitesApi All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| | [**addTestPointsToTestSuite**](TestSuitesApi.md#addTestPointsToTestSuite) | **POST** /api/v2/testSuites/{id}/test-points | Add test-points to test suite | | [**apiV2TestSuitesIdPatch**](TestSuitesApi.md#apiV2TestSuitesIdPatch) | **PATCH** /api/v2/testSuites/{id} | Patch test suite | | [**apiV2TestSuitesIdRefreshPost**](TestSuitesApi.md#apiV2TestSuitesIdRefreshPost) | **POST** /api/v2/testSuites/{id}/refresh | Refresh test suite. Only dynamic test suites are supported by this method | | [**createTestSuite**](TestSuitesApi.md#createTestSuite) | **POST** /api/v2/testSuites | Create TestSuite | | [**deleteTestSuite**](TestSuitesApi.md#deleteTestSuite) | **DELETE** /api/v2/testSuites/{id} | Delete TestSuite | | [**getConfigurationsByTestSuiteId**](TestSuitesApi.md#getConfigurationsByTestSuiteId) | **GET** /api/v2/testSuites/{id}/configurations | Get Configurations By Id | | [**getTestPointsById**](TestSuitesApi.md#getTestPointsById) | **GET** /api/v2/testSuites/{id}/testPoints | Get TestPoints By Id | | [**getTestResultsById**](TestSuitesApi.md#getTestResultsById) | **GET** /api/v2/testSuites/{id}/testResults | Get TestResults By Id | | [**getTestSuiteById**](TestSuitesApi.md#getTestSuiteById) | **GET** /api/v2/testSuites/{id} | Get TestSuite by Id | | [**getWorkItemsById**](TestSuitesApi.md#getWorkItemsById) | **GET** /api/v2/testSuites/{id}/workItems | | | [**searchWorkItems**](TestSuitesApi.md#searchWorkItems) | **POST** /api/v2/testSuites/{id}/workItems/search | Search WorkItems | | [**setConfigurationsByTestSuiteId**](TestSuitesApi.md#setConfigurationsByTestSuiteId) | **POST** /api/v2/testSuites/{id}/configurations | Set Configurations By TestSuite Id | | [**setWorkItemsByTestSuiteId**](TestSuitesApi.md#setWorkItemsByTestSuiteId) | **POST** /api/v2/testSuites/{id}/workItems | Set WorkItems By TestSuite Id | | [**updateTestSuite**](TestSuitesApi.md#updateTestSuite) | **PUT** /api/v2/testSuites | Update TestSuite | # **addTestPointsToTestSuite** > addTestPointsToTestSuite(id, WorkItemSelectModel) Add test-points to test suite ### Parameters |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **id** | **UUID**| Test suite internal identifier | [default to null] | | **WorkItemSelectModel** | [**WorkItemSelectModel**](../Models/WorkItemSelectModel.md)| Filter object to retrieve work items for test-suite's project | [optional] | ### Return type null (empty response body) ### Authorization [Bearer or PrivateToken](../README.md#Bearer or PrivateToken) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json # **apiV2TestSuitesIdPatch** > apiV2TestSuitesIdPatch(id, Operation) Patch test suite See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details ### Parameters |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **id** | **UUID**| Test Suite internal (UUID) identifier | [default to null] | | **Operation** | [**List**](../Models/Operation.md)| | [optional] | ### Return type null (empty response body) ### Authorization [Bearer or PrivateToken](../README.md#Bearer or PrivateToken) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json # **apiV2TestSuitesIdRefreshPost** > apiV2TestSuitesIdRefreshPost(id) Refresh test suite. Only dynamic test suites are supported by this method ### Parameters |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **id** | **UUID**| Test Suite internal (UUID) identifier | [default to null] | ### Return type null (empty response body) ### Authorization [Bearer or PrivateToken](../README.md#Bearer or PrivateToken) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **createTestSuite** > TestSuiteV2GetModel createTestSuite(TestSuiteV2PostModel) Create TestSuite <br>Use case <br>User sets test suite model (listed in request parameters) <br>User runs method execution <br>System creates test suite <br>System returns test suite ### Parameters |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **TestSuiteV2PostModel** | [**TestSuiteV2PostModel**](../Models/TestSuiteV2PostModel.md)| | [optional] | ### Return type [**TestSuiteV2GetModel**](../Models/TestSuiteV2GetModel.md) ### Authorization [Bearer or PrivateToken](../README.md#Bearer or PrivateToken) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json # **deleteTestSuite** > deleteTestSuite(id) Delete TestSuite <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System deletes test suite <br>System returns no content response ### Parameters |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **id** | **UUID**| Test suite internal (guid format) identifier\" | [default to null] | ### Return type null (empty response body) ### Authorization [Bearer or PrivateToken](../README.md#Bearer or PrivateToken) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **getConfigurationsByTestSuiteId** > List getConfigurationsByTestSuiteId(id) Get Configurations By Id <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search configurations related to the test points <br>System returns configurations array ### Parameters |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **id** | **UUID**| Test suite internal (guid format) identifier\" | [default to null] | ### Return type [**List**](../Models/ConfigurationModel.md) ### Authorization [Bearer or PrivateToken](../README.md#Bearer or PrivateToken) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **getTestPointsById** > List getTestPointsById(id) Get TestPoints By Id <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System returns test points array ### Parameters |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **id** | **UUID**| Test suite internal (guid format) identifier\" | [default to null] | ### Return type [**List**](../Models/TestPointByTestSuiteModel.md) ### Authorization [Bearer or PrivateToken](../README.md#Bearer or PrivateToken) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **getTestResultsById** > List getTestResultsById(id) Get TestResults By Id <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search test results related to the test points <br>System returns test results array ### Parameters |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **id** | **UUID**| Test suite internal (guid format) identifier\" | [default to null] | ### Return type [**List**](../Models/TestResultV2ShortModel.md) ### Authorization [Bearer or PrivateToken](../README.md#Bearer or PrivateToken) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **getTestSuiteById** > TestSuiteV2GetModel getTestSuiteById(id) Get TestSuite by Id <br>Use case <br>User sets test suite identifier <br>User runs method execution <br>System search test suite by identifier <br>System returns test suite ### Parameters |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **id** | **UUID**| Test suite internal (guid format) identifier\" | [default to null] | ### Return type [**TestSuiteV2GetModel**](../Models/TestSuiteV2GetModel.md) ### Authorization [Bearer or PrivateToken](../README.md#Bearer or PrivateToken) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **getWorkItemsById** > List getWorkItemsById(id, isDeleted, tagNames, Skip, Take, OrderBy, SearchField, SearchValue) ### Parameters |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **id** | **UUID**| | [default to null] | | **isDeleted** | **Boolean**| | [optional] [default to false] | | **tagNames** | [**List**](../Models/String.md)| | [optional] [default to null] | | **Skip** | **Integer**| Amount of items to be skipped (offset) | [optional] [default to null] | | **Take** | **Integer**| Amount of items to be taken (limit) | [optional] [default to null] | | **OrderBy** | **String**| SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) | [optional] [default to null] | | **SearchField** | **String**| Property name for searching | [optional] [default to null] | | **SearchValue** | **String**| Value for searching | [optional] [default to null] | ### Return type [**List**](../Models/WorkItemShortModel.md) ### Authorization [Bearer or PrivateToken](../README.md#Bearer or PrivateToken) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json # **searchWorkItems** > List searchWorkItems(id, Skip, Take, OrderBy, SearchField, SearchValue, TestSuiteWorkItemsSearchModel) Search WorkItems <br>Use case <br>User sets test suite identifier <br>[Optional] User sets filter <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search work items related to the test points <br> [Optional] User sets filter, system applies filter <br>System returns work items array ### Parameters |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **id** | **UUID**| Test suite internal (guid format) identifier\" | [default to null] | | **Skip** | **Integer**| Amount of items to be skipped (offset) | [optional] [default to null] | | **Take** | **Integer**| Amount of items to be taken (limit) | [optional] [default to null] | | **OrderBy** | **String**| SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) | [optional] [default to null] | | **SearchField** | **String**| Property name for searching | [optional] [default to null] | | **SearchValue** | **String**| Value for searching | [optional] [default to null] | | **TestSuiteWorkItemsSearchModel** | [**TestSuiteWorkItemsSearchModel**](../Models/TestSuiteWorkItemsSearchModel.md)| | [optional] | ### Return type [**List**](../Models/WorkItemShortModel.md) ### Authorization [Bearer or PrivateToken](../README.md#Bearer or PrivateToken) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json # **setConfigurationsByTestSuiteId** > setConfigurationsByTestSuiteId(id, request\_body) Set Configurations By TestSuite Id <br>Use case <br>User sets test suite identifier <br>User sets collection of configuration identifiers <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search configuration <br>System restores(if exist) or creates test points with listed configuration <br>System returns no content response ### Parameters |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **id** | **UUID**| Test suite internal (guid format) identifier\" | [default to null] | | **request\_body** | [**Set**](../Models/UUID.md)| Collection of configuration identifiers\" | [optional] | ### Return type null (empty response body) ### Authorization [Bearer or PrivateToken](../README.md#Bearer or PrivateToken) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json # **setWorkItemsByTestSuiteId** > setWorkItemsByTestSuiteId(id, request\_body) Set WorkItems By TestSuite Id <br>Use case <br>User sets test suite identifier <br>User sets collection of work items identifiers <br>User runs method execution <br>System search test suite by identifier <br>System search test points related to the test suite <br>System search work items <br>System restores(if exist) or creates test points with listed work items <br>System returns no content response ### Parameters |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **id** | **UUID**| Test suite internal (guid format) identifier\" | [default to null] | | **request\_body** | [**Set**](../Models/UUID.md)| Collection of work item identifiers\" | [optional] | ### Return type null (empty response body) ### Authorization [Bearer or PrivateToken](../README.md#Bearer or PrivateToken) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json # **updateTestSuite** > updateTestSuite(TestSuiteV2PutModel) Update TestSuite <br>Use case <br>User sets test suite model (listed in request parameters) <br>User runs method execution <br>System updates test suite <br>System returns test suite ### Parameters |Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **TestSuiteV2PutModel** | [**TestSuiteV2PutModel**](../Models/TestSuiteV2PutModel.md)| | [optional] | ### Return type null (empty response body) ### Authorization [Bearer or PrivateToken](../README.md#Bearer or PrivateToken) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json