diff --git a/README.md b/README.md
index a005c28a..f1a52a42 100644
--- a/README.md
+++ b/README.md
@@ -11,6 +11,7 @@
| 3.5 | 1.2 |
| 3.9 | 2.0 |
| 4.0 | 2.1 |
+| 4.2 | 2.2 |
## Frameworks supported
@@ -97,6 +98,7 @@ Class | Method | HTTP request | Description
*AttachmentsApi* | [**ApiV2AttachmentsOccupiedFileStorageSizeGet**](docs/AttachmentsApi.md#apiv2attachmentsoccupiedfilestoragesizeget) | **GET** /api/v2/attachments/occupiedFileStorageSize | Get size of attachments storage in bytes
*AttachmentsApi* | [**ApiV2AttachmentsPost**](docs/AttachmentsApi.md#apiv2attachmentspost) | **POST** /api/v2/attachments | Upload new attachment file
*AutoTestsApi* | [**ApiV2AutoTestsFlakyBulkPost**](docs/AutoTestsApi.md#apiv2autotestsflakybulkpost) | **POST** /api/v2/autoTests/flaky/bulk | Set \"Flaky\" status for multiple autotests
+*AutoTestsApi* | [**ApiV2AutoTestsIdPatch**](docs/AutoTestsApi.md#apiv2autotestsidpatch) | **PATCH** /api/v2/autoTests/{id} | Patch auto test
*AutoTestsApi* | [**ApiV2AutoTestsIdTestResultsSearchPost**](docs/AutoTestsApi.md#apiv2autotestsidtestresultssearchpost) | **POST** /api/v2/autoTests/{id}/testResults/search | Get test results history for autotest
*AutoTestsApi* | [**ApiV2AutoTestsIdWorkItemsChangedIdGet**](docs/AutoTestsApi.md#apiv2autotestsidworkitemschangedidget) | **GET** /api/v2/autoTests/{id}/workItems/changed/id | Get identifiers of changed linked work items
*AutoTestsApi* | [**ApiV2AutoTestsIdWorkItemsChangedWorkItemIdApprovePost**](docs/AutoTestsApi.md#apiv2autotestsidworkitemschangedworkitemidapprovepost) | **POST** /api/v2/autoTests/{id}/workItems/changed/{workItemId}/approve | Approve changes to work items linked to autotest
@@ -115,7 +117,9 @@ Class | Method | HTTP request | Description
*AutoTestsApi* | [**LinkAutoTestToWorkItem**](docs/AutoTestsApi.md#linkautotesttoworkitem) | **POST** /api/v2/autoTests/{id}/workItems | Link autotest with work items
*AutoTestsApi* | [**UpdateAutoTest**](docs/AutoTestsApi.md#updateautotest) | **PUT** /api/v2/autoTests | Update autotest
*AutoTestsApi* | [**UpdateMultiple**](docs/AutoTestsApi.md#updatemultiple) | **PUT** /api/v2/autoTests/bulk | Update multiple autotests
+*BackgroundJobsApi* | [**ApiV2BackgroundJobsGet**](docs/BackgroundJobsApi.md#apiv2backgroundjobsget) | **GET** /api/v2/backgroundJobs | Get current user background jobs
*ConfigurationsApi* | [**ApiV2ConfigurationsCreateByParametersPost**](docs/ConfigurationsApi.md#apiv2configurationscreatebyparameterspost) | **POST** /api/v2/configurations/createByParameters | Create Configurations by parameters
+*ConfigurationsApi* | [**ApiV2ConfigurationsIdPatch**](docs/ConfigurationsApi.md#apiv2configurationsidpatch) | **PATCH** /api/v2/configurations/{id} | Patch configuration
*ConfigurationsApi* | [**ApiV2ConfigurationsSearchPost**](docs/ConfigurationsApi.md#apiv2configurationssearchpost) | **POST** /api/v2/configurations/search | Search for configurations
*ConfigurationsApi* | [**CreateConfiguration**](docs/ConfigurationsApi.md#createconfiguration) | **POST** /api/v2/configurations | Create Configuration
*ConfigurationsApi* | [**GetConfigurationById**](docs/ConfigurationsApi.md#getconfigurationbyid) | **GET** /api/v2/configurations/{id} | Get configuration by internal or global ID
@@ -144,6 +148,7 @@ Class | Method | HTTP request | Description
*ParametersApi* | [**ApiV2ParametersKeyNameNameExistsGet**](docs/ParametersApi.md#apiv2parameterskeynamenameexistsget) | **GET** /api/v2/parameters/key/name/{name}/exists | Check existence parameter key in system
*ParametersApi* | [**ApiV2ParametersKeyValuesGet**](docs/ParametersApi.md#apiv2parameterskeyvaluesget) | **GET** /api/v2/parameters/{key}/values | Get all parameter key values
*ParametersApi* | [**ApiV2ParametersKeysGet**](docs/ParametersApi.md#apiv2parameterskeysget) | **GET** /api/v2/parameters/keys | Get all parameter keys
+*ParametersApi* | [**ApiV2ParametersSearchPost**](docs/ParametersApi.md#apiv2parameterssearchpost) | **POST** /api/v2/parameters/search | Search for parameters
*ParametersApi* | [**CreateParameter**](docs/ParametersApi.md#createparameter) | **POST** /api/v2/parameters | Create parameter
*ParametersApi* | [**DeleteByName**](docs/ParametersApi.md#deletebyname) | **DELETE** /api/v2/parameters/name/{name} | Delete parameter by name
*ParametersApi* | [**DeleteByParameterKeyId**](docs/ParametersApi.md#deletebyparameterkeyid) | **DELETE** /api/v2/parameters/keyId/{keyId} | Delete parameters by parameter key identifier
@@ -159,8 +164,11 @@ Class | Method | HTTP request | Description
*ProjectsApi* | [**ApiV2ProjectsIdFailureClassesGet**](docs/ProjectsApi.md#apiv2projectsidfailureclassesget) | **GET** /api/v2/projects/{id}/failureClasses | Get Project FailureClasses
*ProjectsApi* | [**ApiV2ProjectsIdFavoritePut**](docs/ProjectsApi.md#apiv2projectsidfavoriteput) | **PUT** /api/v2/projects/{id}/favorite | Mark Project as favorite
*ProjectsApi* | [**ApiV2ProjectsIdFiltersGet**](docs/ProjectsApi.md#apiv2projectsidfiltersget) | **GET** /api/v2/projects/{id}/filters | Get Project filters
+*ProjectsApi* | [**ApiV2ProjectsIdPatch**](docs/ProjectsApi.md#apiv2projectsidpatch) | **PATCH** /api/v2/projects/{id} | Patch project
*ProjectsApi* | [**ApiV2ProjectsIdTestPlansAnalyticsGet**](docs/ProjectsApi.md#apiv2projectsidtestplansanalyticsget) | **GET** /api/v2/projects/{id}/testPlans/analytics | Get TestPlans analytics
+*ProjectsApi* | [**ApiV2ProjectsIdTestPlansDeleteBulkPost**](docs/ProjectsApi.md#apiv2projectsidtestplansdeletebulkpost) | **POST** /api/v2/projects/{id}/testPlans/delete/bulk | Delete multiple test plans
*ProjectsApi* | [**ApiV2ProjectsIdTestPlansNameExistsGet**](docs/ProjectsApi.md#apiv2projectsidtestplansnameexistsget) | **GET** /api/v2/projects/{id}/testPlans/{name}/exists | Checks if TestPlan exists with the specified name exists for the project
+*ProjectsApi* | [**ApiV2ProjectsIdTestPlansRestoreBulkPost**](docs/ProjectsApi.md#apiv2projectsidtestplansrestorebulkpost) | **POST** /api/v2/projects/{id}/testPlans/restore/bulk | Restore multiple test plans
*ProjectsApi* | [**ApiV2ProjectsIdTestPlansSearchPost**](docs/ProjectsApi.md#apiv2projectsidtestplanssearchpost) | **POST** /api/v2/projects/{id}/testPlans/search | Get Project TestPlans with analytics
*ProjectsApi* | [**ApiV2ProjectsIdTestRunsActiveGet**](docs/ProjectsApi.md#apiv2projectsidtestrunsactiveget) | **GET** /api/v2/projects/{id}/testRuns/active | Get active Project TestRuns
*ProjectsApi* | [**ApiV2ProjectsIdTestRunsFullGet**](docs/ProjectsApi.md#apiv2projectsidtestrunsfullget) | **GET** /api/v2/projects/{id}/testRuns/full | Get Project TestRuns full models
@@ -169,6 +177,10 @@ Class | Method | HTTP request | Description
*ProjectsApi* | [**ApiV2ProjectsIdWorkItemsTagsGet**](docs/ProjectsApi.md#apiv2projectsidworkitemstagsget) | **GET** /api/v2/projects/{id}/workItems/tags | Get WorkItems Tags
*ProjectsApi* | [**ApiV2ProjectsNameNameExistsGet**](docs/ProjectsApi.md#apiv2projectsnamenameexistsget) | **GET** /api/v2/projects/name/{name}/exists |
*ProjectsApi* | [**ApiV2ProjectsSearchPost**](docs/ProjectsApi.md#apiv2projectssearchpost) | **POST** /api/v2/projects/search | Search for projects
+*ProjectsApi* | [**BackgroundImportProject**](docs/ProjectsApi.md#backgroundimportproject) | **POST** /api/v2/projects/import/json | Import project from JSON file in background job
+*ProjectsApi* | [**BackgroundImportToExistingProject**](docs/ProjectsApi.md#backgroundimporttoexistingproject) | **POST** /api/v2/projects/{id}/import/json | Import project from JSON file into existing project in background job
+*ProjectsApi* | [**BackgroundImportZipProject**](docs/ProjectsApi.md#backgroundimportzipproject) | **POST** /api/v2/projects/import/zip | Import project from Zip file in background job
+*ProjectsApi* | [**BackgroundImportZipToExistingProject**](docs/ProjectsApi.md#backgroundimportziptoexistingproject) | **POST** /api/v2/projects/{id}/import/zip | Import project from Zip file into existing project in background job
*ProjectsApi* | [**CreateCustomAttributeTestPlanProjectRelations**](docs/ProjectsApi.md#createcustomattributetestplanprojectrelations) | **POST** /api/v2/projects/{id}/testPlans/attributes | Add attributes to project's test plans
*ProjectsApi* | [**CreateProject**](docs/ProjectsApi.md#createproject) | **POST** /api/v2/projects | Create project
*ProjectsApi* | [**CreateProjectsAttribute**](docs/ProjectsApi.md#createprojectsattribute) | **POST** /api/v2/projects/{id}/attributes | Create project attribute
@@ -177,6 +189,10 @@ Class | Method | HTTP request | Description
*ProjectsApi* | [**DeleteProjectAutoTests**](docs/ProjectsApi.md#deleteprojectautotests) | **DELETE** /api/v2/projects/{id}/autoTests | Delete project
*ProjectsApi* | [**DeleteProjectsAttribute**](docs/ProjectsApi.md#deleteprojectsattribute) | **DELETE** /api/v2/projects/{id}/attributes/{attributeId} | Delete project attribute
*ProjectsApi* | [**Export**](docs/ProjectsApi.md#export) | **POST** /api/v2/projects/{id}/export | Export project as JSON file
+*ProjectsApi* | [**ExportProjectJson**](docs/ProjectsApi.md#exportprojectjson) | **POST** /api/v2/projects/{id}/export/json | Export project as JSON file in background job
+*ProjectsApi* | [**ExportProjectWithTestPlansJson**](docs/ProjectsApi.md#exportprojectwithtestplansjson) | **POST** /api/v2/projects/{id}/export/testPlans/json | Export project as JSON file with test plans in background job
+*ProjectsApi* | [**ExportProjectWithTestPlansZip**](docs/ProjectsApi.md#exportprojectwithtestplanszip) | **POST** /api/v2/projects/{id}/export/testPlans/zip | Export project as Zip file with test plans in background job
+*ProjectsApi* | [**ExportProjectZip**](docs/ProjectsApi.md#exportprojectzip) | **POST** /api/v2/projects/{id}/export/zip | Export project as Zip file in background job
*ProjectsApi* | [**ExportWithTestPlansAndConfigurations**](docs/ProjectsApi.md#exportwithtestplansandconfigurations) | **POST** /api/v2/projects/{id}/export-by-testPlans | Export project with test plans, test suites and test points as JSON file
*ProjectsApi* | [**GetAllProjects**](docs/ProjectsApi.md#getallprojects) | **GET** /api/v2/projects | Get all projects
*ProjectsApi* | [**GetAttributeByProjectId**](docs/ProjectsApi.md#getattributebyprojectid) | **GET** /api/v2/projects/{id}/attributes/{attributeId} | Get project attribute
@@ -197,6 +213,7 @@ Class | Method | HTTP request | Description
*ProjectsApi* | [**UpdateCustomAttributeTestPlanProjectRelations**](docs/ProjectsApi.md#updatecustomattributetestplanprojectrelations) | **PUT** /api/v2/projects/{id}/testPlans/attribute | Update attribute of project's test plans
*ProjectsApi* | [**UpdateProject**](docs/ProjectsApi.md#updateproject) | **PUT** /api/v2/projects | Update project
*ProjectsApi* | [**UpdateProjectsAttribute**](docs/ProjectsApi.md#updateprojectsattribute) | **PUT** /api/v2/projects/{id}/attributes | Edit attribute of the project
+*SectionsApi* | [**ApiV2SectionsIdPatch**](docs/SectionsApi.md#apiv2sectionsidpatch) | **PATCH** /api/v2/sections/{id} | Patch section
*SectionsApi* | [**CreateSection**](docs/SectionsApi.md#createsection) | **POST** /api/v2/sections | Create section
*SectionsApi* | [**DeleteSection**](docs/SectionsApi.md#deletesection) | **DELETE** /api/v2/sections/{id} | Delete section
*SectionsApi* | [**GetSectionById**](docs/SectionsApi.md#getsectionbyid) | **GET** /api/v2/sections/{id} | Get section
@@ -215,8 +232,11 @@ Class | Method | HTTP request | Description
*TestPlansApi* | [**ApiV2TestPlansIdExportTestResultHistoryXlsxPost**](docs/TestPlansApi.md#apiv2testplansidexporttestresulthistoryxlsxpost) | **POST** /api/v2/testPlans/{id}/export/testResultHistory/xlsx | Export TestResults history from TestPlan in xls format
*TestPlansApi* | [**ApiV2TestPlansIdHistoryGet**](docs/TestPlansApi.md#apiv2testplansidhistoryget) | **GET** /api/v2/testPlans/{id}/history | Get TestPlan history
*TestPlansApi* | [**ApiV2TestPlansIdLinksGet**](docs/TestPlansApi.md#apiv2testplansidlinksget) | **GET** /api/v2/testPlans/{id}/links | Get Links of TestPlan
+*TestPlansApi* | [**ApiV2TestPlansIdPatch**](docs/TestPlansApi.md#apiv2testplansidpatch) | **PATCH** /api/v2/testPlans/{id} | Patch test plan
*TestPlansApi* | [**ApiV2TestPlansIdTestPointsLastResultsGet**](docs/TestPlansApi.md#apiv2testplansidtestpointslastresultsget) | **GET** /api/v2/testPlans/{id}/testPoints/lastResults | Get TestPoints with last result from TestPlan
*TestPlansApi* | [**ApiV2TestPlansIdTestPointsResetPost**](docs/TestPlansApi.md#apiv2testplansidtestpointsresetpost) | **POST** /api/v2/testPlans/{id}/testPoints/reset | Reset TestPoints status of TestPlan
+*TestPlansApi* | [**ApiV2TestPlansIdTestPointsTesterDelete**](docs/TestPlansApi.md#apiv2testplansidtestpointstesterdelete) | **DELETE** /api/v2/testPlans/{id}/testPoints/tester | Unassign users from multiple test points
+*TestPlansApi* | [**ApiV2TestPlansIdTestPointsTesterUserIdPost**](docs/TestPlansApi.md#apiv2testplansidtestpointstesteruseridpost) | **POST** /api/v2/testPlans/{id}/testPoints/tester/{userId} | Assign user as a tester to multiple test points
*TestPlansApi* | [**ApiV2TestPlansIdTestRunsGet**](docs/TestPlansApi.md#apiv2testplansidtestrunsget) | **GET** /api/v2/testPlans/{id}/testRuns | Get TestRuns of TestPlan
*TestPlansApi* | [**ApiV2TestPlansIdTestRunsSearchPost**](docs/TestPlansApi.md#apiv2testplansidtestrunssearchpost) | **POST** /api/v2/testPlans/{id}/testRuns/search | Search TestRuns of TestPlan
*TestPlansApi* | [**ApiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGet**](docs/TestPlansApi.md#apiv2testplansidtestrunstestresultslastmodifiedmodifieddateget) | **GET** /api/v2/testPlans/{id}/testRuns/testResults/lastModified/modifiedDate | Get last modification date of test plan's test results
@@ -264,6 +284,8 @@ Class | Method | HTTP request | Description
*TestRunsApi* | [**StopTestRun**](docs/TestRunsApi.md#stoptestrun) | **POST** /api/v2/testRuns/{id}/stop | Stop TestRun
*TestRunsApi* | [**UpdateEmpty**](docs/TestRunsApi.md#updateempty) | **PUT** /api/v2/testRuns | Update empty TestRun
*TestSuitesApi* | [**AddTestPointsToTestSuite**](docs/TestSuitesApi.md#addtestpointstotestsuite) | **POST** /api/v2/testSuites/{id}/test-points | Add test-points to test suite
+*TestSuitesApi* | [**ApiV2TestSuitesIdPatch**](docs/TestSuitesApi.md#apiv2testsuitesidpatch) | **PATCH** /api/v2/testSuites/{id} | Patch test suite
+*TestSuitesApi* | [**ApiV2TestSuitesIdRefreshPost**](docs/TestSuitesApi.md#apiv2testsuitesidrefreshpost) | **POST** /api/v2/testSuites/{id}/refresh | Refresh test suite. Only dynamic test suites are supported by this method
*TestSuitesApi* | [**CreateTestSuite**](docs/TestSuitesApi.md#createtestsuite) | **POST** /api/v2/testSuites | Create TestSuite
*TestSuitesApi* | [**DeleteTestSuite**](docs/TestSuitesApi.md#deletetestsuite) | **DELETE** /api/v2/testSuites/{id} | Delete TestSuite
*TestSuitesApi* | [**GetConfigurationsByTestSuiteId**](docs/TestSuitesApi.md#getconfigurationsbytestsuiteid) | **GET** /api/v2/testSuites/{id}/configurations | Get Configurations By Id
@@ -285,6 +307,7 @@ Class | Method | HTTP request | Description
*WebhooksLogsApi* | [**ApiV2WebhooksLogsGet**](docs/WebhooksLogsApi.md#apiv2webhookslogsget) | **GET** /api/v2/webhooks/logs | Get all webhook logs
*WebhooksLogsApi* | [**ApiV2WebhooksLogsIdDelete**](docs/WebhooksLogsApi.md#apiv2webhookslogsiddelete) | **DELETE** /api/v2/webhooks/logs/{id} | Delete webhook log by ID
*WebhooksLogsApi* | [**ApiV2WebhooksLogsIdGet**](docs/WebhooksLogsApi.md#apiv2webhookslogsidget) | **GET** /api/v2/webhooks/logs/{id} | Get webhook log by ID
+*WorkItemsApi* | [**ApiV2WorkItemsIdAttachmentsPost**](docs/WorkItemsApi.md#apiv2workitemsidattachmentspost) | **POST** /api/v2/workItems/{id}/attachments | Upload and link attachment to WorkItem
*WorkItemsApi* | [**ApiV2WorkItemsIdCheckListTransformToTestCasePost**](docs/WorkItemsApi.md#apiv2workitemsidchecklisttransformtotestcasepost) | **POST** /api/v2/workItems/{id}/checkList/transformTo/testCase | Transform CheckList to TestCase
*WorkItemsApi* | [**ApiV2WorkItemsIdHistoryGet**](docs/WorkItemsApi.md#apiv2workitemsidhistoryget) | **GET** /api/v2/workItems/{id}/history | Get change history of WorkItem
*WorkItemsApi* | [**ApiV2WorkItemsIdLikeDelete**](docs/WorkItemsApi.md#apiv2workitemsidlikedelete) | **DELETE** /api/v2/workItems/{id}/like | Delete like from WorkItem
@@ -306,6 +329,8 @@ Class | Method | HTTP request | Description
*WorkItemsApi* | [**GetWorkItemById**](docs/WorkItemsApi.md#getworkitembyid) | **GET** /api/v2/workItems/{id} | Get Test Case, Checklist or Shared Step by Id or GlobalId
*WorkItemsApi* | [**GetWorkItemChronology**](docs/WorkItemsApi.md#getworkitemchronology) | **GET** /api/v2/workItems/{id}/chronology | Get WorkItem chronology by Id or GlobalId
*WorkItemsApi* | [**GetWorkItemVersions**](docs/WorkItemsApi.md#getworkitemversions) | **GET** /api/v2/workItems/{id}/versions | Get WorkItem versions
+*WorkItemsApi* | [**PurgeWorkItem**](docs/WorkItemsApi.md#purgeworkitem) | **POST** /api/v2/workItems/{id}/purge | Permanently delete test case, checklist or shared steps from archive
+*WorkItemsApi* | [**RestoreWorkItem**](docs/WorkItemsApi.md#restoreworkitem) | **POST** /api/v2/workItems/{id}/restore | Restore test case, checklist or shared steps from archive
*WorkItemsApi* | [**UpdateWorkItem**](docs/WorkItemsApi.md#updateworkitem) | **PUT** /api/v2/workItems | Update Test Case, Checklist or Shared Step
*WorkItemsCommentsApi* | [**ApiV2WorkItemsCommentsCommentIdDelete**](docs/WorkItemsCommentsApi.md#apiv2workitemscommentscommentiddelete) | **DELETE** /api/v2/workItems/comments/{commentId} | Delete WorkItem comment
*WorkItemsCommentsApi* | [**ApiV2WorkItemsCommentsPost**](docs/WorkItemsCommentsApi.md#apiv2workitemscommentspost) | **POST** /api/v2/workItems/comments | Create WorkItem comment
diff --git a/docs/DateRangeModel.md b/docs/ApiV2AttachmentsPostRequest.md
similarity index 63%
rename from docs/DateRangeModel.md
rename to docs/ApiV2AttachmentsPostRequest.md
index dce00166..97f59e00 100644
--- a/docs/DateRangeModel.md
+++ b/docs/ApiV2AttachmentsPostRequest.md
@@ -1,11 +1,10 @@
-# TestIt.Client.Model.DateRangeModel
+# TestIt.Client.Model.ApiV2AttachmentsPostRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**From** | **DateTime?** | Minimum date and time | [optional]
-**To** | **DateTime?** | Maximum date and time | [optional]
+**File** | [**FileParameter**](FileParameter.md) | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/AttachmentModelAutoTestStepResultsModel.md b/docs/AttachmentModelAutoTestStepResultsModel.md
index d2fc0fbf..0f60a4f2 100644
--- a/docs/AttachmentModelAutoTestStepResultsModel.md
+++ b/docs/AttachmentModelAutoTestStepResultsModel.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**Info** | **string** | Extended description of the step result. | [optional]
**StartedOn** | **DateTime?** | Step start date. | [optional]
**CompletedOn** | **DateTime?** | Step end date. | [optional]
-**Duration** | **long?** | Expected or actual duration of the test run execution in seconds. | [optional]
+**Duration** | **long?** | Expected or actual duration of the test run execution in milliseconds. | [optional]
**Outcome** | **AvailableTestResultOutcome** | | [optional]
**StepResults** | [**List<AttachmentModelAutoTestStepResultsModel>**](AttachmentModelAutoTestStepResultsModel.md) | Nested step results. The maximum nesting level is 15. | [optional]
**Attachments** | [**List<AttachmentModel>**](AttachmentModel.md) | /// <summary> Specifies an attachment GUID. Multiple values can be sent. </summary> | [optional]
diff --git a/docs/AttachmentPutModelAutoTestStepResultsModel.md b/docs/AttachmentPutModelAutoTestStepResultsModel.md
index ed1e6bd7..609890a7 100644
--- a/docs/AttachmentPutModelAutoTestStepResultsModel.md
+++ b/docs/AttachmentPutModelAutoTestStepResultsModel.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**Info** | **string** | Extended description of the step result. | [optional]
**StartedOn** | **DateTime?** | Step start date. | [optional]
**CompletedOn** | **DateTime?** | Step end date. | [optional]
-**Duration** | **long?** | Expected or actual duration of the test run execution in seconds. | [optional]
+**Duration** | **long?** | Expected or actual duration of the test run execution in milliseconds. | [optional]
**Outcome** | **AvailableTestResultOutcome** | | [optional]
**StepResults** | [**List<AttachmentPutModelAutoTestStepResultsModel>**](AttachmentPutModelAutoTestStepResultsModel.md) | Nested step results. The maximum nesting level is 15. | [optional]
**Attachments** | [**List<AttachmentPutModel>**](AttachmentPutModel.md) | /// <summary> Specifies an attachment GUID. Multiple values can be sent. </summary> | [optional]
diff --git a/docs/AttachmentsApi.md b/docs/AttachmentsApi.md
index 5df80311..c75bdc60 100644
--- a/docs/AttachmentsApi.md
+++ b/docs/AttachmentsApi.md
@@ -99,8 +99,8 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | Attachment file was deleted successfully | - |
| **422** | Attachment file is already in use | - |
+| **204** | Attachment file was deleted successfully | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -401,10 +401,10 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **403** | Forbidden | - |
| **400** | <br>- Invalid file contents <br>- Invalid HTTP headers | - |
+| **201** | Created | - |
+| **403** | Forbidden | - |
| **401** | Unauthorized | - |
-| **201** | Success | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
diff --git a/docs/AutoTestResultsForTestRunModel.md b/docs/AutoTestResultsForTestRunModel.md
index 0b47210f..26e9276a 100644
--- a/docs/AutoTestResultsForTestRunModel.md
+++ b/docs/AutoTestResultsForTestRunModel.md
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
**Traces** | **string** | An extended comment or a stack trace. | [optional]
**StartedOn** | **DateTime?** | Test run start date. | [optional]
**CompletedOn** | **DateTime?** | Test run end date. | [optional]
-**Duration** | **long?** | Expected or actual duration of the test run execution in seconds. | [optional]
+**Duration** | **long?** | Expected or actual duration of the test run execution in milliseconds. | [optional]
**Attachments** | [**List<AttachmentPutModel>**](AttachmentPutModel.md) | Specifies an attachment GUID. Multiple values can be sent. | [optional]
**Parameters** | **Dictionary<string, string>** | \"<b>parameter</b>\": \"<b>value</b>\" pair with arbitrary custom parameters. Multiple parameters can be sent. | [optional]
**Properties** | **Dictionary<string, string>** | \"<b>property</b>\": \"<b>value</b>\" pair with arbitrary custom properties. Multiple properties can be sent. | [optional]
diff --git a/docs/AutoTestsApi.md b/docs/AutoTestsApi.md
index 4b40e114..35e01978 100644
--- a/docs/AutoTestsApi.md
+++ b/docs/AutoTestsApi.md
@@ -5,6 +5,7 @@ All URIs are relative to *http://localhost*
| Method | HTTP request | Description |
|--------|--------------|-------------|
| [**ApiV2AutoTestsFlakyBulkPost**](AutoTestsApi.md#apiv2autotestsflakybulkpost) | **POST** /api/v2/autoTests/flaky/bulk | Set \"Flaky\" status for multiple autotests |
+| [**ApiV2AutoTestsIdPatch**](AutoTestsApi.md#apiv2autotestsidpatch) | **PATCH** /api/v2/autoTests/{id} | Patch auto test |
| [**ApiV2AutoTestsIdTestResultsSearchPost**](AutoTestsApi.md#apiv2autotestsidtestresultssearchpost) | **POST** /api/v2/autoTests/{id}/testResults/search | Get test results history for autotest |
| [**ApiV2AutoTestsIdWorkItemsChangedIdGet**](AutoTestsApi.md#apiv2autotestsidworkitemschangedidget) | **GET** /api/v2/autoTests/{id}/workItems/changed/id | Get identifiers of changed linked work items |
| [**ApiV2AutoTestsIdWorkItemsChangedWorkItemIdApprovePost**](AutoTestsApi.md#apiv2autotestsidworkitemschangedworkitemidapprovepost) | **POST** /api/v2/autoTests/{id}/workItems/changed/{workItemId}/approve | Approve changes to work items linked to autotest |
@@ -127,8 +128,107 @@ void (empty response body)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **403** | Invalid user permissions | - |
-| **422** | Autotests with provided identifiers do not belong to the same project | - |
| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
+| **422** | Autotests with provided identifiers do not belong to the same project | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **ApiV2AutoTestsIdPatch**
+> void ApiV2AutoTestsIdPatch (Guid id, List operation = null)
+
+Patch auto test
+
+See RFC 6902: JavaScript Object Notation (JSON) Patch for details
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using TestIt.Client.Api;
+using TestIt.Client.Client;
+using TestIt.Client.Model;
+
+namespace Example
+{
+ public class ApiV2AutoTestsIdPatchExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: Bearer or PrivateToken
+ config.AddApiKey("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new AutoTestsApi(httpClient, config, httpClientHandler);
+ var id = "id_example"; // Guid | Global Id of auto test
+ var operation = new List(); // List | (optional)
+
+ try
+ {
+ // Patch auto test
+ apiInstance.ApiV2AutoTestsIdPatch(id, operation);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling AutoTestsApi.ApiV2AutoTestsIdPatch: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the ApiV2AutoTestsIdPatchWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Patch auto test
+ apiInstance.ApiV2AutoTestsIdPatchWithHttpInfo(id, operation);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling AutoTestsApi.ApiV2AutoTestsIdPatchWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **id** | **Guid** | Global Id of auto test | |
+| **operation** | [**List<Operation>**](Operation.md) | | [optional] |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **204** | No Content | - |
+| **403** | Update permission for auto tests is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -240,11 +340,11 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **400** | Bad Request | - |
+| **404** | Autotest with provided ID was not found | - |
+| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
| **401** | Unauthorized | - |
+| **400** | Bad Request | - |
| **403** | Read permission for autotests required | - |
-| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
-| **404** | Autotest with provided ID was not found | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -344,9 +444,9 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **404** | Autotest with provided ID was not found | - |
| **200** | Success | - |
| **403** | Invalid user permissions | - |
+| **404** | Autotest with provided ID was not found | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -554,8 +654,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
| **403** | Read permission for autotests library is required | - |
+| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -655,13 +755,13 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **201** | Success | - |
+| **201** | Created | - |
+| **404** | Project with provided ID cannot be found | - |
| **400** | <br>- Name cannot be empty or contain only white space characters <br>- External ID cannot be empty or contain only white space characters <br>- Namespace cannot be empty or contain only white space characters <br>- Classname cannot be empty or contain only white space characters <br>- Steps cannot be `null` <br>- Steps nesting level is more than 15 <br>- Invalid URI | - |
-| **422** | <br>- Labels have duplicates <br>- Labels begin with `::` <br>- Labels with the same base have different values | - |
| **401** | Unauthorized | - |
-| **404** | Project with provided ID cannot be found | - |
-| **409** | Autotest with the same external ID already exists is the project | - |
| **403** | Update permission for autotests is required | - |
+| **422** | <br>- Labels have duplicates <br>- Labels begin with `::` <br>- Labels with the same base have different values | - |
+| **409** | Autotest with the same external ID already exists is the project | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -761,12 +861,12 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **401** | Unauthorized | - |
| **422** | <br>- Labels have duplicates <br>- Labels begin with `::` <br>- Labels with the same base have different values | - |
| **400** | <br>- Name cannot be empty or contain only white space characters <br>- External ID cannot be empty or contain only white space characters <br>- Namespace cannot be empty or contain only white space characters <br>- Classname cannot be empty or contain only white space characters <br>- Steps cannot be `null` <br>- Steps nesting level is more than 15 <br>- Invalid URI | - |
-| **404** | Project with provided ID cannot be found | - |
-| **201** | Success | - |
+| **201** | Created | - |
| **403** | Update permission for autotests is required | - |
+| **401** | Unauthorized | - |
+| **404** | Project with provided ID cannot be found | - |
| **409** | Autotest with the same external ID already exists is the project | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -863,10 +963,10 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | Success | - |
+| **204** | No Content | - |
| **401** | Unauthorized | - |
-| **403** | Delete permission for autotests is required | - |
| **404** | Autotest with provided ID cannot be found | - |
+| **403** | Delete permission for autotests is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -964,11 +1064,11 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **403** | Update permission for autotests is required | - |
| **401** | Unauthorized | - |
-| **204** | Success | - |
-| **400** | Work item ID is invalid | - |
| **404** | <br>- Autotest with provided ID cannot be found <br>- Work item with provided ID cannot be found | - |
-| **403** | Update permission for autotests is required | - |
+| **204** | No Content | - |
+| **400** | Work item ID is invalid | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1112,10 +1212,10 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **401** | Unauthorized | - |
-| **403** | Forbidden | - |
| **404** | Not Found | - |
| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
+| **403** | Forbidden | - |
+| **401** | Unauthorized | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1319,10 +1419,10 @@ catch (ApiException e)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **403** | Read permission for autotests is required | - |
-| **404** | Autotest with provided ID cannot be found | - |
-| **200** | Success | - |
| **401** | Unauthorized | - |
| **400** | Autotest ID is invalid | - |
+| **200** | Success | - |
+| **404** | Autotest with provided ID cannot be found | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1422,9 +1522,9 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **403** | Read permission for autotests is required | - |
| **401** | Unauthorized | - |
| **404** | Autotest with provided ID was not found | - |
-| **403** | Read permission for autotests is required | - |
| **200** | Success | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1525,10 +1625,10 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **404** | Autotest with provided ID was not found | - |
-| **200** | Success | - |
| **403** | Read permission for autotests is required | - |
+| **200** | Success | - |
| **401** | Unauthorized | - |
+| **404** | Autotest with provided ID was not found | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1652,10 +1752,10 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **404** | Not Found | - |
| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
| **401** | Unauthorized | - |
| **403** | Forbidden | - |
-| **404** | Not Found | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1759,10 +1859,10 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **403** | Read permission for autotests is required | - |
-| **404** | Autotest with provided ID cannot be found | - |
-| **200** | Success | - |
| **401** | Unauthorized | - |
+| **200** | Success | - |
+| **404** | Autotest with provided ID cannot be found | - |
+| **403** | Read permission for autotests is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1861,10 +1961,10 @@ void (empty response body)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **401** | Unauthorized | - |
-| **400** | <br>- Autotest cannot be linked to shared steps <br>- Autotest cannot be linked to work item from other project <br>- Work item ID is invalid | - |
| **403** | Update permission for autotests is required | - |
| **404** | <br>- Autotest with provided ID cannot be found <br>- Work item with provided ID cannot be found | - |
-| **204** | Success | - |
+| **400** | <br>- Autotest cannot be linked to shared steps <br>- Autotest cannot be linked to work item from other project <br>- Work item ID is invalid | - |
+| **204** | No Content | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1960,12 +2060,12 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **404** | <br>- Autotests with provided ID cannot be found <br>- Project with provided ID cannot be found <br>- Link with provided ID cannot be found <br>- Label with provided ID cannot be found | - |
| **400** | <br>- Name cannot be empty or contain only white space characters <br>- External ID cannot be empty or contain only white space characters <br>- Namespace cannot be empty or contain only white space characters <br>- Classname cannot be empty or contain only white space characters <br>- Steps cannot be `null` <br>- Steps nesting level is more than 15 <br>- Invalid URI | - |
| **401** | Unauthorized | - |
-| **422** | <br>- Project ID cannot be changed <br>- Labels have duplicates <br>- Labels begin with `::` <br>- Labels with the same base have different values | - |
| **403** | Update permission for autotests is required | - |
+| **404** | <br>- Autotests with provided ID cannot be found <br>- Project with provided ID cannot be found <br>- Link with provided ID cannot be found <br>- Label with provided ID cannot be found | - |
| **409** | Autotest with the same external ID already exists is the project | - |
+| **422** | <br>- Project ID cannot be changed <br>- Labels have duplicates <br>- Labels begin with `::` <br>- Labels with the same base have different values | - |
| **204** | Success | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -2064,9 +2164,9 @@ void (empty response body)
|-------------|-------------|------------------|
| **401** | Unauthorized | - |
| **422** | <br>- Project ID cannot be changed <br>- Labels have duplicates <br>- Labels begin with `::` <br>- Labels with the same base have different values | - |
-| **403** | Update permission for autotests is required | - |
-| **204** | Success | - |
| **400** | <br>- Name cannot be empty or contain only white space characters <br>- External ID cannot be empty or contain only white space characters <br>- Namespace cannot be empty or contain only white space characters <br>- Classname cannot be empty or contain only white space characters <br>- Steps cannot be `null` <br>- Steps nesting level is more than 15 <br>- Invalid URI | - |
+| **204** | No Content | - |
+| **403** | Update permission for autotests is required | - |
| **404** | <br>- Autotests with provided ID cannot be found <br>- Project with provided ID cannot be found <br>- Link with provided ID cannot be found <br>- Label with provided ID cannot be found | - |
| **409** | Autotest with the same external ID already exists is the project | - |
diff --git a/docs/AutotestResultHistoricalGetModel.md b/docs/AutotestResultHistoricalGetModel.md
index 50a4c8a7..4c8f2249 100644
--- a/docs/AutotestResultHistoricalGetModel.md
+++ b/docs/AutotestResultHistoricalGetModel.md
@@ -7,17 +7,17 @@ Name | Type | Description | Notes
**Id** | **Guid** | | [optional]
**CreatedDate** | **DateTime** | | [optional]
**CreatedById** | **Guid** | | [optional]
-**ModifiedDate** | **DateTime?** | | [optional] [readonly]
-**ModifiedById** | **Guid?** | | [optional] [readonly]
**TestRunId** | **Guid** | | [optional]
**TestRunName** | **string** | | [optional]
+**ConfigurationId** | **Guid** | | [optional]
+**Outcome** | **AutotestResultOutcome** | |
+**LaunchSource** | **string** | | [optional]
+**ModifiedDate** | **DateTime?** | | [optional] [readonly]
+**ModifiedById** | **Guid?** | | [optional] [readonly]
**TestPlanId** | **Guid?** | | [optional]
**TestPlanGlobalId** | **long?** | | [optional]
**TestPlanName** | **string** | | [optional]
-**ConfigurationId** | **Guid** | | [optional]
-**Outcome** | **AutotestResultOutcome** | | [optional]
**Duration** | **long?** | | [optional]
-**LaunchSource** | **string** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/BackgroundJobAttachmentModel.md b/docs/BackgroundJobAttachmentModel.md
new file mode 100644
index 00000000..753b7f15
--- /dev/null
+++ b/docs/BackgroundJobAttachmentModel.md
@@ -0,0 +1,12 @@
+# TestIt.Client.Model.BackgroundJobAttachmentModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **Guid** | | [optional]
+**Name** | **string** | | [optional]
+**Type** | **string** | | [optional]
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/docs/BackgroundJobModel.md b/docs/BackgroundJobModel.md
new file mode 100644
index 00000000..2260c5c7
--- /dev/null
+++ b/docs/BackgroundJobModel.md
@@ -0,0 +1,19 @@
+# TestIt.Client.Model.BackgroundJobModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **Guid** | | [optional]
+**JobId** | **string** | | [optional]
+**JobType** | **BackgroundJobType** | | [optional]
+**State** | **BackgroundJobState** | | [optional]
+**IsDeleted** | **bool** | | [optional]
+**Progress** | **long** | | [optional]
+**StartDate** | **DateTime?** | | [optional]
+**EndDate** | **DateTime?** | | [optional]
+**Error** | **string** | | [optional]
+**Attachments** | [**List<BackgroundJobAttachmentModel>**](BackgroundJobAttachmentModel.md) | | [optional]
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/docs/BackgroundJobState.md b/docs/BackgroundJobState.md
new file mode 100644
index 00000000..66187790
--- /dev/null
+++ b/docs/BackgroundJobState.md
@@ -0,0 +1,9 @@
+# TestIt.Client.Model.BackgroundJobState
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/docs/BackgroundJobType.md b/docs/BackgroundJobType.md
new file mode 100644
index 00000000..d6032b38
--- /dev/null
+++ b/docs/BackgroundJobType.md
@@ -0,0 +1,9 @@
+# TestIt.Client.Model.BackgroundJobType
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/docs/BackgroundJobsApi.md b/docs/BackgroundJobsApi.md
new file mode 100644
index 00000000..e5070e0b
--- /dev/null
+++ b/docs/BackgroundJobsApi.md
@@ -0,0 +1,114 @@
+# TestIt.Client.Api.BackgroundJobsApi
+
+All URIs are relative to *http://localhost*
+
+| Method | HTTP request | Description |
+|--------|--------------|-------------|
+| [**ApiV2BackgroundJobsGet**](BackgroundJobsApi.md#apiv2backgroundjobsget) | **GET** /api/v2/backgroundJobs | Get current user background jobs |
+
+
+# **ApiV2BackgroundJobsGet**
+> List<BackgroundJobModel> ApiV2BackgroundJobsGet (int? skip = null, int? take = null, string orderBy = null, string searchField = null, string searchValue = null)
+
+Get current user background jobs
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using TestIt.Client.Api;
+using TestIt.Client.Client;
+using TestIt.Client.Model;
+
+namespace Example
+{
+ public class ApiV2BackgroundJobsGetExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: Bearer or PrivateToken
+ config.AddApiKey("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new BackgroundJobsApi(httpClient, config, httpClientHandler);
+ var skip = 56; // int? | Amount of items to be skipped (offset) (optional)
+ var take = 56; // int? | Amount of items to be taken (limit) (optional)
+ var orderBy = "orderBy_example"; // string | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional)
+ var searchField = "searchField_example"; // string | Property name for searching (optional)
+ var searchValue = "searchValue_example"; // string | Value for searching (optional)
+
+ try
+ {
+ // Get current user background jobs
+ List result = apiInstance.ApiV2BackgroundJobsGet(skip, take, orderBy, searchField, searchValue);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling BackgroundJobsApi.ApiV2BackgroundJobsGet: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the ApiV2BackgroundJobsGetWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Get current user background jobs
+ ApiResponse> response = apiInstance.ApiV2BackgroundJobsGetWithHttpInfo(skip, take, orderBy, searchField, searchValue);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling BackgroundJobsApi.ApiV2BackgroundJobsGetWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **skip** | **int?** | Amount of items to be skipped (offset) | [optional] |
+| **take** | **int?** | Amount of items to be taken (limit) | [optional] |
+| **orderBy** | **string** | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) | [optional] |
+| **searchField** | **string** | Property name for searching | [optional] |
+| **searchValue** | **string** | Value for searching | [optional] |
+
+### Return type
+
+[**List<BackgroundJobModel>**](BackgroundJobModel.md)
+
+### Authorization
+
+[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
diff --git a/docs/ConfigurationByParametersModel.md b/docs/ConfigurationByParametersModel.md
index 5119e6b9..c4afdf9b 100644
--- a/docs/ConfigurationByParametersModel.md
+++ b/docs/ConfigurationByParametersModel.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ProjectId** | **Guid** | This property is used to link configuration with project | [optional]
-**ParameterIds** | **List<Guid>** | | [optional]
+**ParameterIds** | **List<Guid>** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/ConfigurationsApi.md b/docs/ConfigurationsApi.md
index 7cc5977c..3130e1e3 100644
--- a/docs/ConfigurationsApi.md
+++ b/docs/ConfigurationsApi.md
@@ -5,6 +5,7 @@ All URIs are relative to *http://localhost*
| Method | HTTP request | Description |
|--------|--------------|-------------|
| [**ApiV2ConfigurationsCreateByParametersPost**](ConfigurationsApi.md#apiv2configurationscreatebyparameterspost) | **POST** /api/v2/configurations/createByParameters | Create Configurations by parameters |
+| [**ApiV2ConfigurationsIdPatch**](ConfigurationsApi.md#apiv2configurationsidpatch) | **PATCH** /api/v2/configurations/{id} | Patch configuration |
| [**ApiV2ConfigurationsSearchPost**](ConfigurationsApi.md#apiv2configurationssearchpost) | **POST** /api/v2/configurations/search | Search for configurations |
| [**CreateConfiguration**](ConfigurationsApi.md#createconfiguration) | **POST** /api/v2/configurations | Create Configuration |
| [**GetConfigurationById**](ConfigurationsApi.md#getconfigurationbyid) | **GET** /api/v2/configurations/{id} | Get configuration by internal or global ID |
@@ -103,12 +104,111 @@ void (empty response body)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **404** | <br>Project by identifier not found <br>Parameters by identifies not found | - |
+| **201** | Created | - |
| **400** | <br>Project identifier is empty <br>List of parameters identifiers is empty | - |
-| **201** | Success | - |
| **200** | Successful operation | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+# **ApiV2ConfigurationsIdPatch**
+> void ApiV2ConfigurationsIdPatch (Guid id, List operation = null)
+
+Patch configuration
+
+See RFC 6902: JavaScript Object Notation (JSON) Patch for details
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using TestIt.Client.Api;
+using TestIt.Client.Client;
+using TestIt.Client.Model;
+
+namespace Example
+{
+ public class ApiV2ConfigurationsIdPatchExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: Bearer or PrivateToken
+ config.AddApiKey("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new ConfigurationsApi(httpClient, config, httpClientHandler);
+ var id = "id_example"; // Guid | Unique ID of the configuration
+ var operation = new List(); // List | (optional)
+
+ try
+ {
+ // Patch configuration
+ apiInstance.ApiV2ConfigurationsIdPatch(id, operation);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling ConfigurationsApi.ApiV2ConfigurationsIdPatch: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the ApiV2ConfigurationsIdPatchWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Patch configuration
+ apiInstance.ApiV2ConfigurationsIdPatchWithHttpInfo(id, operation);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling ConfigurationsApi.ApiV2ConfigurationsIdPatchWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **id** | **Guid** | Unique ID of the configuration | |
+| **operation** | [**List<Operation>**](Operation.md) | | [optional] |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **204** | No Content | - |
+| **403** | Update permission for configuration is required | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
# **ApiV2ConfigurationsSearchPost**
> List<ConfigurationModel> ApiV2ConfigurationsSearchPost (int? skip = null, int? take = null, string orderBy = null, string searchField = null, string searchValue = null, ConfigurationSelectModel configurationSelectModel = null)
@@ -313,12 +413,12 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **403** | Update permission for configuration required | - |
| **401** | Unauthorized | - |
| **409** | Configuration with the same name already exists! | - |
-| **201** | Successful operation | - |
| **404** | Can't find project | - |
| **400** | Bad Request | - |
-| **403** | Update permission for configuration required | - |
+| **201** | Successful operation | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -356,7 +456,7 @@ namespace Example
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new ConfigurationsApi(httpClient, config, httpClientHandler);
- var id = "id_example"; // string |
+ var id = 3fa85f64-5717-4562-b3fc-2c963f66afa6; // string | Configuration internal (guid format) or global (integer format) identifier
try
{
@@ -399,7 +499,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **id** | **string** | | |
+| **id** | **string** | Configuration internal (guid format) or global (integer format) identifier | |
### Return type
@@ -419,9 +519,9 @@ catch (ApiException e)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **401** | Unauthorized | - |
+| **403** | Read permission for configuration required | - |
| **404** | Can't find configuration with id | - |
| **200** | Successful operation | - |
-| **403** | Read permission for configuration required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -517,13 +617,13 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **409** | Configuration with the same name already exists! | - |
| **401** | Unauthorized | - |
-| **204** | Successful operation | - |
| **422** | Can't change projectId | - |
| **400** | Bad Request | - |
| **403** | | - |
| **404** | Can't find a Configuration with id | - |
-| **409** | Configuration with the same name already exists! | - |
+| **204** | Successful operation | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
diff --git a/docs/CustomAttributeGetModel.md b/docs/CustomAttributeGetModel.md
index d0a86794..dd0383c3 100644
--- a/docs/CustomAttributeGetModel.md
+++ b/docs/CustomAttributeGetModel.md
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **Guid** | Unique ID of the attribute | [optional]
**Options** | [**List<CustomAttributeOptionModel>**](CustomAttributeOptionModel.md) | Collection of the attribute options | [optional]
-**Type** | **CustomAttributeTypesEnum** | | [optional]
+**Type** | **CustomAttributeTypesEnum** | |
**IsDeleted** | **bool** | Indicates if the attribute is deleted | [optional]
**Name** | **string** | Name of the attribute | [optional]
**IsEnabled** | **bool** | Indicates if the attribute is enabled | [optional]
diff --git a/docs/CustomAttributeTemplatesApi.md b/docs/CustomAttributeTemplatesApi.md
index 3d2cdc8e..69b394cc 100644
--- a/docs/CustomAttributeTemplatesApi.md
+++ b/docs/CustomAttributeTemplatesApi.md
@@ -107,9 +107,9 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **404** | Not Found | - |
| **200** | Success | - |
| **400** | Bad Request | - |
-| **404** | Not Found | - |
| **403** | Admin system role is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -208,8 +208,8 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Success | - |
| **404** | Not Found | - |
+| **200** | Success | - |
| **400** | Bad Request | - |
| **403** | Admin system role is required | - |
@@ -311,8 +311,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | Success | - |
| **400** | Bad Request | - |
+| **204** | No Content | - |
| **403** | Admin system role is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -413,9 +413,9 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **400** | Bad Request | - |
| **404** | Can't find a CustomAttributeTemplate with identifier | - |
| **200** | Success | - |
-| **400** | Bad Request | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -615,9 +615,9 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **201** | Success | - |
| **400** | Bad Request | - |
| **403** | Admin system role is required | - |
+| **201** | Created | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -822,8 +822,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
| **400** | Bad Request | - |
+| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
diff --git a/docs/CustomAttributesApi.md b/docs/CustomAttributesApi.md
index 4db409df..751985eb 100644
--- a/docs/CustomAttributesApi.md
+++ b/docs/CustomAttributesApi.md
@@ -100,7 +100,7 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | Success | - |
+| **204** | No Content | - |
| **403** | System administrator role is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -201,8 +201,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **403** | System administrator role is required | - |
| **200** | Success | - |
+| **403** | System administrator role is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -300,8 +300,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **201** | Success | - |
| **403** | System administrator role is required | - |
+| **201** | Created | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
diff --git a/docs/DeletionState.md b/docs/DeletionState.md
new file mode 100644
index 00000000..41d4ec93
--- /dev/null
+++ b/docs/DeletionState.md
@@ -0,0 +1,9 @@
+# TestIt.Client.Model.DeletionState
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/docs/FailureClassModel.md b/docs/FailureClassModel.md
index 1163d3e5..21fd0cb7 100644
--- a/docs/FailureClassModel.md
+++ b/docs/FailureClassModel.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **string** | | [optional]
-**FailureCategory** | **FailureCategoryModel** | | [optional]
+**FailureCategory** | **FailureCategoryModel** | |
**CreatedDate** | **DateTime** | | [optional]
**ModifiedDate** | **DateTime?** | | [optional]
**CreatedById** | **Guid** | | [optional]
diff --git a/docs/NotificationModel.md b/docs/NotificationModel.md
index 2a5a0530..7ed39026 100644
--- a/docs/NotificationModel.md
+++ b/docs/NotificationModel.md
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
**CreatedDate** | **DateTime?** | | [optional]
**IsRead** | **bool** | | [optional]
**EntityId** | **Guid** | | [optional]
-**NotificationType** | **NotificationTypeModel** | | [optional]
+**NotificationType** | **NotificationTypeModel** | |
**ProjectGlobalId** | **long?** | | [optional]
**ProjectName** | **string** | | [optional]
**TestPlanGlobalId** | **long** | | [optional]
diff --git a/docs/NotificationsApi.md b/docs/NotificationsApi.md
index 7ac7c0c4..53e97d45 100644
--- a/docs/NotificationsApi.md
+++ b/docs/NotificationsApi.md
@@ -106,8 +106,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **401** | Unauthorized | - |
| **200** | Successful operation | - |
+| **401** | Unauthorized | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -519,9 +519,9 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **400** | Bad Request | - |
-| **200** | Successful operation | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
| **401** | Unauthorized | - |
+| **200** | Successful operation | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
+| **400** | Bad Request | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
diff --git a/docs/Operation.md b/docs/Operation.md
new file mode 100644
index 00000000..8551e3b6
--- /dev/null
+++ b/docs/Operation.md
@@ -0,0 +1,13 @@
+# TestIt.Client.Model.Operation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Value** | **Object** | | [optional]
+**Path** | **string** | | [optional]
+**Op** | **string** | | [optional]
+**From** | **string** | | [optional]
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/docs/ParameterFilterModel.md b/docs/ParameterFilterModel.md
new file mode 100644
index 00000000..31ee9e28
--- /dev/null
+++ b/docs/ParameterFilterModel.md
@@ -0,0 +1,11 @@
+# TestIt.Client.Model.ParameterFilterModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**IsDeleted** | **bool?** | Specifies a parameter deleted status to search for | [optional]
+**Name** | **string** | Specifies a parameter key name to search for | [optional]
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/docs/ParametersApi.md b/docs/ParametersApi.md
index 3dfa430c..27c48173 100644
--- a/docs/ParametersApi.md
+++ b/docs/ParametersApi.md
@@ -10,6 +10,7 @@ All URIs are relative to *http://localhost*
| [**ApiV2ParametersKeyNameNameExistsGet**](ParametersApi.md#apiv2parameterskeynamenameexistsget) | **GET** /api/v2/parameters/key/name/{name}/exists | Check existence parameter key in system |
| [**ApiV2ParametersKeyValuesGet**](ParametersApi.md#apiv2parameterskeyvaluesget) | **GET** /api/v2/parameters/{key}/values | Get all parameter key values |
| [**ApiV2ParametersKeysGet**](ParametersApi.md#apiv2parameterskeysget) | **GET** /api/v2/parameters/keys | Get all parameter keys |
+| [**ApiV2ParametersSearchPost**](ParametersApi.md#apiv2parameterssearchpost) | **POST** /api/v2/parameters/search | Search for parameters |
| [**CreateParameter**](ParametersApi.md#createparameter) | **POST** /api/v2/parameters | Create parameter |
| [**DeleteByName**](ParametersApi.md#deletebyname) | **DELETE** /api/v2/parameters/name/{name} | Delete parameter by name |
| [**DeleteByParameterKeyId**](ParametersApi.md#deletebyparameterkeyid) | **DELETE** /api/v2/parameters/keyId/{keyId} | Delete parameters by parameter key identifier |
@@ -115,7 +116,7 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **201** | Success | - |
+| **201** | Created | - |
| **400** | <br>- Parameter model is not valid | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -212,8 +213,8 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | Success | - |
| **400** | <br>- Parameter model is not valid | - |
+| **204** | No Content | - |
| **403** | Invalid user permissions | - |
| **422** | Client Error | - |
@@ -327,8 +328,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **401** | Unauthorized | - |
| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
+| **401** | Unauthorized | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -428,8 +429,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **400** | Bad Request | - |
| **200** | Success | - |
+| **400** | Bad Request | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -628,6 +629,114 @@ This endpoint does not need any parameter.
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+# **ApiV2ParametersSearchPost**
+> List<ParameterModel> ApiV2ParametersSearchPost (int? skip = null, int? take = null, string orderBy = null, string searchField = null, string searchValue = null, ParameterFilterModel parameterFilterModel = null)
+
+Search for parameters
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using TestIt.Client.Api;
+using TestIt.Client.Client;
+using TestIt.Client.Model;
+
+namespace Example
+{
+ public class ApiV2ParametersSearchPostExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: Bearer or PrivateToken
+ config.AddApiKey("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new ParametersApi(httpClient, config, httpClientHandler);
+ var skip = 56; // int? | Amount of items to be skipped (offset) (optional)
+ var take = 56; // int? | Amount of items to be taken (limit) (optional)
+ var orderBy = "orderBy_example"; // string | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional)
+ var searchField = "searchField_example"; // string | Property name for searching (optional)
+ var searchValue = "searchValue_example"; // string | Value for searching (optional)
+ var parameterFilterModel = new ParameterFilterModel(); // ParameterFilterModel | (optional)
+
+ try
+ {
+ // Search for parameters
+ List result = apiInstance.ApiV2ParametersSearchPost(skip, take, orderBy, searchField, searchValue, parameterFilterModel);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling ParametersApi.ApiV2ParametersSearchPost: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the ApiV2ParametersSearchPostWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Search for parameters
+ ApiResponse> response = apiInstance.ApiV2ParametersSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, parameterFilterModel);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling ParametersApi.ApiV2ParametersSearchPostWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **skip** | **int?** | Amount of items to be skipped (offset) | [optional] |
+| **take** | **int?** | Amount of items to be taken (limit) | [optional] |
+| **orderBy** | **string** | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) | [optional] |
+| **searchField** | **string** | Property name for searching | [optional] |
+| **searchValue** | **string** | Value for searching | [optional] |
+| **parameterFilterModel** | [**ParameterFilterModel**](ParameterFilterModel.md) | | [optional] |
+
+### Return type
+
+[**List<ParameterModel>**](ParameterModel.md)
+
+### Authorization
+
+[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
# **CreateParameter**
> ParameterModel CreateParameter (ParameterPostModel parameterPostModel = null)
@@ -724,7 +833,7 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **201** | Success | - |
+| **201** | Created | - |
| **400** | Bad Request | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -821,9 +930,9 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **204** | No Content | - |
| **400** | Provided name either is empty or contains only white spaces | - |
| **422** | Parameter is in use in iterations | - |
-| **204** | Success | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -919,8 +1028,8 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | Success | - |
| **403** | Invalid user permissions | - |
+| **204** | No Content | - |
| **422** | Parameter is in use in iterations | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1017,9 +1126,9 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **422** | Parameter is in use in iterations | - |
| **200** | Success | - |
| **400** | <br>- ID is not valid <br>- DTO is not valid | - |
+| **422** | Parameter is in use in iterations | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1129,8 +1238,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **201** | Created | - |
| **403** | Invalid user permissions | - |
-| **201** | Success | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1230,8 +1339,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Success | - |
| **404** | Parameter with provided ID was not found | - |
+| **200** | Success | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1419,8 +1528,8 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | Success | - |
| **400** | <br>- ID is not valid <br>- DTO is not valid | - |
+| **204** | No Content | - |
| **404** | Parameter with provided ID was not found | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
diff --git a/docs/ProjectModel.md b/docs/ProjectModel.md
index 96c3c5a2..92c5b545 100644
--- a/docs/ProjectModel.md
+++ b/docs/ProjectModel.md
@@ -4,22 +4,22 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | **Guid** | Unique ID of the project | [optional]
+**Description** | **string** | Description of the project | [optional]
+**Name** | **string** | Name of the project | [optional]
+**IsFavorite** | **bool** | Indicates if the project is marked as favorite | [optional]
**AttributesScheme** | [**List<CustomAttributeModel>**](CustomAttributeModel.md) | Collection of the project attributes | [optional]
**TestPlansAttributesScheme** | [**List<CustomAttributeModel>**](CustomAttributeModel.md) | Collection of the project test plans attributes | [optional]
**TestCasesCount** | **int?** | Number of test cases in the project | [optional]
**SharedStepsCount** | **int?** | Number of shared steps in the project | [optional]
**CheckListsCount** | **int?** | Number of checklists in the project | [optional]
**AutoTestsCount** | **int?** | Number of autotests in the project | [optional]
-**IsFavorite** | **bool** | Indicates if the project is marked as favorite | [optional]
**IsDeleted** | **bool** | Indicates if the project is deleted | [optional]
**CreatedDate** | **DateTime** | Creation date of the project | [optional]
**ModifiedDate** | **DateTime?** | Last modification date of the project | [optional]
**CreatedById** | **Guid** | Unique ID of the project creator | [optional]
**ModifiedById** | **Guid?** | Unique ID of the project last editor | [optional]
**GlobalId** | **long** | Global ID of the project | [optional]
-**Id** | **Guid** | Unique ID of the project |
-**Description** | **string** | Description of the project | [optional]
-**Name** | **string** | Name of the project |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/ProjectPostModel.md b/docs/ProjectPostModel.md
index 6d50fecb..4c48bd9e 100644
--- a/docs/ProjectPostModel.md
+++ b/docs/ProjectPostModel.md
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Description** | **string** | Description of the project | [optional]
**Name** | **string** | Name of the project |
+**IsFavorite** | **bool?** | Indicates if the project is marked as favorite | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/ProjectPutModel.md b/docs/ProjectPutModel.md
index a3377b96..c9575d5a 100644
--- a/docs/ProjectPutModel.md
+++ b/docs/ProjectPutModel.md
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
**Id** | **Guid** | Unique ID of the project |
**Description** | **string** | Description of the project | [optional]
**Name** | **string** | Name of the project |
+**IsFavorite** | **bool?** | Indicates if the project is marked as favorite | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/TestPlanSearchQueryModel.md b/docs/ProjectTestPlansFilterModel.md
similarity index 68%
rename from docs/TestPlanSearchQueryModel.md
rename to docs/ProjectTestPlansFilterModel.md
index d3237366..890e3868 100644
--- a/docs/TestPlanSearchQueryModel.md
+++ b/docs/ProjectTestPlansFilterModel.md
@@ -1,4 +1,4 @@
-# TestIt.Client.Model.TestPlanSearchQueryModel
+# TestIt.Client.Model.ProjectTestPlansFilterModel
## Properties
@@ -11,12 +11,12 @@ Name | Type | Description | Notes
**Status** | [**List<TestPlanStatusModel>**](TestPlanStatusModel.md) | | [optional]
**GlobalIds** | **List<long>** | | [optional]
**IsLocked** | **bool?** | | [optional]
-**LockedDate** | [**DateRangeModel**](DateRangeModel.md) | | [optional]
+**LockedDate** | [**DateTimeRangeSelectorModel**](DateTimeRangeSelectorModel.md) | | [optional]
**AutomaticDurationTimer** | **List<bool>** | | [optional]
**CreatedByIds** | **List<Guid>** | | [optional]
-**CreatedDate** | [**DateRangeModel**](DateRangeModel.md) | | [optional]
-**StartDate** | [**DateRangeModel**](DateRangeModel.md) | | [optional]
-**EndDate** | [**DateRangeModel**](DateRangeModel.md) | | [optional]
+**CreatedDate** | [**DateTimeRangeSelectorModel**](DateTimeRangeSelectorModel.md) | | [optional]
+**StartDate** | [**DateTimeRangeSelectorModel**](DateTimeRangeSelectorModel.md) | | [optional]
+**EndDate** | [**DateTimeRangeSelectorModel**](DateTimeRangeSelectorModel.md) | | [optional]
**TagNames** | **List<string>** | | [optional]
**Attributes** | [**Dictionary<string, List<string>>**](Set.md) | | [optional]
**IsDeleted** | **bool?** | | [optional]
diff --git a/docs/ProjectsApi.md b/docs/ProjectsApi.md
index d34085c4..f8f8b7bd 100644
--- a/docs/ProjectsApi.md
+++ b/docs/ProjectsApi.md
@@ -11,8 +11,11 @@ All URIs are relative to *http://localhost*
| [**ApiV2ProjectsIdFailureClassesGet**](ProjectsApi.md#apiv2projectsidfailureclassesget) | **GET** /api/v2/projects/{id}/failureClasses | Get Project FailureClasses |
| [**ApiV2ProjectsIdFavoritePut**](ProjectsApi.md#apiv2projectsidfavoriteput) | **PUT** /api/v2/projects/{id}/favorite | Mark Project as favorite |
| [**ApiV2ProjectsIdFiltersGet**](ProjectsApi.md#apiv2projectsidfiltersget) | **GET** /api/v2/projects/{id}/filters | Get Project filters |
+| [**ApiV2ProjectsIdPatch**](ProjectsApi.md#apiv2projectsidpatch) | **PATCH** /api/v2/projects/{id} | Patch project |
| [**ApiV2ProjectsIdTestPlansAnalyticsGet**](ProjectsApi.md#apiv2projectsidtestplansanalyticsget) | **GET** /api/v2/projects/{id}/testPlans/analytics | Get TestPlans analytics |
+| [**ApiV2ProjectsIdTestPlansDeleteBulkPost**](ProjectsApi.md#apiv2projectsidtestplansdeletebulkpost) | **POST** /api/v2/projects/{id}/testPlans/delete/bulk | Delete multiple test plans |
| [**ApiV2ProjectsIdTestPlansNameExistsGet**](ProjectsApi.md#apiv2projectsidtestplansnameexistsget) | **GET** /api/v2/projects/{id}/testPlans/{name}/exists | Checks if TestPlan exists with the specified name exists for the project |
+| [**ApiV2ProjectsIdTestPlansRestoreBulkPost**](ProjectsApi.md#apiv2projectsidtestplansrestorebulkpost) | **POST** /api/v2/projects/{id}/testPlans/restore/bulk | Restore multiple test plans |
| [**ApiV2ProjectsIdTestPlansSearchPost**](ProjectsApi.md#apiv2projectsidtestplanssearchpost) | **POST** /api/v2/projects/{id}/testPlans/search | Get Project TestPlans with analytics |
| [**ApiV2ProjectsIdTestRunsActiveGet**](ProjectsApi.md#apiv2projectsidtestrunsactiveget) | **GET** /api/v2/projects/{id}/testRuns/active | Get active Project TestRuns |
| [**ApiV2ProjectsIdTestRunsFullGet**](ProjectsApi.md#apiv2projectsidtestrunsfullget) | **GET** /api/v2/projects/{id}/testRuns/full | Get Project TestRuns full models |
@@ -21,6 +24,10 @@ All URIs are relative to *http://localhost*
| [**ApiV2ProjectsIdWorkItemsTagsGet**](ProjectsApi.md#apiv2projectsidworkitemstagsget) | **GET** /api/v2/projects/{id}/workItems/tags | Get WorkItems Tags |
| [**ApiV2ProjectsNameNameExistsGet**](ProjectsApi.md#apiv2projectsnamenameexistsget) | **GET** /api/v2/projects/name/{name}/exists | |
| [**ApiV2ProjectsSearchPost**](ProjectsApi.md#apiv2projectssearchpost) | **POST** /api/v2/projects/search | Search for projects |
+| [**BackgroundImportProject**](ProjectsApi.md#backgroundimportproject) | **POST** /api/v2/projects/import/json | Import project from JSON file in background job |
+| [**BackgroundImportToExistingProject**](ProjectsApi.md#backgroundimporttoexistingproject) | **POST** /api/v2/projects/{id}/import/json | Import project from JSON file into existing project in background job |
+| [**BackgroundImportZipProject**](ProjectsApi.md#backgroundimportzipproject) | **POST** /api/v2/projects/import/zip | Import project from Zip file in background job |
+| [**BackgroundImportZipToExistingProject**](ProjectsApi.md#backgroundimportziptoexistingproject) | **POST** /api/v2/projects/{id}/import/zip | Import project from Zip file into existing project in background job |
| [**CreateCustomAttributeTestPlanProjectRelations**](ProjectsApi.md#createcustomattributetestplanprojectrelations) | **POST** /api/v2/projects/{id}/testPlans/attributes | Add attributes to project's test plans |
| [**CreateProject**](ProjectsApi.md#createproject) | **POST** /api/v2/projects | Create project |
| [**CreateProjectsAttribute**](ProjectsApi.md#createprojectsattribute) | **POST** /api/v2/projects/{id}/attributes | Create project attribute |
@@ -29,6 +36,10 @@ All URIs are relative to *http://localhost*
| [**DeleteProjectAutoTests**](ProjectsApi.md#deleteprojectautotests) | **DELETE** /api/v2/projects/{id}/autoTests | Delete project |
| [**DeleteProjectsAttribute**](ProjectsApi.md#deleteprojectsattribute) | **DELETE** /api/v2/projects/{id}/attributes/{attributeId} | Delete project attribute |
| [**Export**](ProjectsApi.md#export) | **POST** /api/v2/projects/{id}/export | Export project as JSON file |
+| [**ExportProjectJson**](ProjectsApi.md#exportprojectjson) | **POST** /api/v2/projects/{id}/export/json | Export project as JSON file in background job |
+| [**ExportProjectWithTestPlansJson**](ProjectsApi.md#exportprojectwithtestplansjson) | **POST** /api/v2/projects/{id}/export/testPlans/json | Export project as JSON file with test plans in background job |
+| [**ExportProjectWithTestPlansZip**](ProjectsApi.md#exportprojectwithtestplanszip) | **POST** /api/v2/projects/{id}/export/testPlans/zip | Export project as Zip file with test plans in background job |
+| [**ExportProjectZip**](ProjectsApi.md#exportprojectzip) | **POST** /api/v2/projects/{id}/export/zip | Export project as Zip file in background job |
| [**ExportWithTestPlansAndConfigurations**](ProjectsApi.md#exportwithtestplansandconfigurations) | **POST** /api/v2/projects/{id}/export-by-testPlans | Export project with test plans, test suites and test points as JSON file |
| [**GetAllProjects**](ProjectsApi.md#getallprojects) | **GET** /api/v2/projects | Get all projects |
| [**GetAttributeByProjectId**](ProjectsApi.md#getattributebyprojectid) | **GET** /api/v2/projects/{id}/attributes/{attributeId} | Get project attribute |
@@ -144,12 +155,12 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **404** | Project with provided ID was not found | - |
+| **409** | Conflict | - |
| **422** | Client Error | - |
-| **400** | <br> Attributes must be global | - |
| **200** | Success | - |
+| **400** | <br> Attributes must be global | - |
| **403** | Project admin permission for project settings is required | - |
-| **404** | Project with provided ID was not found | - |
-| **409** | Conflict | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -359,8 +370,8 @@ void (empty response body)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **404** | Can't find a Project with identifier | - |
-| **204** | Success | - |
| **400** | Bad Request | - |
+| **204** | No Content | - |
| **403** | Update project settings permission for project required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -459,9 +470,9 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Success | - |
-| **400** | Bad Request | - |
| **404** | Can't find a Project with identifier | - |
+| **400** | Bad Request | - |
+| **200** | Success | - |
| **403** | Update project settings permission for project required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -564,8 +575,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Success | - |
| **400** | Bad Request | - |
+| **200** | Success | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -661,8 +672,8 @@ void (empty response body)
|-------------|-------------|------------------|
| **401** | Unauthorized | - |
| **404** | Not Found | - |
-| **204** | Successful operation | - |
| **400** | Bad Request | - |
+| **204** | Successful operation | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -762,18 +773,18 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Success | - |
| **400** | Bad Request | - |
+| **200** | Success | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **ApiV2ProjectsIdTestPlansAnalyticsGet**
-> List<TestPlanWithAnalyticModel> ApiV2ProjectsIdTestPlansAnalyticsGet (Guid id, bool? isDeleted = null, bool? mustUpdateCache = null, int? skip = null, int? take = null, string orderBy = null, string searchField = null, string searchValue = null)
+
+# **ApiV2ProjectsIdPatch**
+> void ApiV2ProjectsIdPatch (Guid id, List operation = null)
-Get TestPlans analytics
+Patch project
-
Use case
User sets project internal identifier
User sets query params
User runs method execution
System return analytics
+See RFC 6902: JavaScript Object Notation (JSON) Patch for details
### Example
```csharp
@@ -786,7 +797,7 @@ using TestIt.Client.Model;
namespace Example
{
- public class ApiV2ProjectsIdTestPlansAnalyticsGetExample
+ public class ApiV2ProjectsIdPatchExample
{
public static void Main()
{
@@ -801,24 +812,17 @@ namespace Example
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
- var id = "id_example"; // Guid | Project internal (UUID) identifier
- var isDeleted = true; // bool? | (optional)
- var mustUpdateCache = false; // bool? | (optional) (default to false)
- var skip = 56; // int? | Amount of items to be skipped (offset) (optional)
- var take = 56; // int? | Amount of items to be taken (limit) (optional)
- var orderBy = "orderBy_example"; // string | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional)
- var searchField = "searchField_example"; // string | Property name for searching (optional)
- var searchValue = "searchValue_example"; // string | Value for searching (optional)
+ var id = "id_example"; // Guid | Unique or global Id of project
+ var operation = new List(); // List | (optional)
try
{
- // Get TestPlans analytics
- List result = apiInstance.ApiV2ProjectsIdTestPlansAnalyticsGet(id, isDeleted, mustUpdateCache, skip, take, orderBy, searchField, searchValue);
- Debug.WriteLine(result);
+ // Patch project
+ apiInstance.ApiV2ProjectsIdPatch(id, operation);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdTestPlansAnalyticsGet: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdPatch: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -827,21 +831,18 @@ namespace Example
}
```
-#### Using the ApiV2ProjectsIdTestPlansAnalyticsGetWithHttpInfo variant
+#### Using the ApiV2ProjectsIdPatchWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
```csharp
try
{
- // Get TestPlans analytics
- ApiResponse> response = apiInstance.ApiV2ProjectsIdTestPlansAnalyticsGetWithHttpInfo(id, isDeleted, mustUpdateCache, skip, take, orderBy, searchField, searchValue);
- Debug.Write("Status Code: " + response.StatusCode);
- Debug.Write("Response Headers: " + response.Headers);
- Debug.Write("Response Body: " + response.Data);
+ // Patch project
+ apiInstance.ApiV2ProjectsIdPatchWithHttpInfo(id, operation);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdTestPlansAnalyticsGetWithHttpInfo: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdPatchWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -851,18 +852,12 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **id** | **Guid** | Project internal (UUID) identifier | |
-| **isDeleted** | **bool?** | | [optional] |
-| **mustUpdateCache** | **bool?** | | [optional] [default to false] |
-| **skip** | **int?** | Amount of items to be skipped (offset) | [optional] |
-| **take** | **int?** | Amount of items to be taken (limit) | [optional] |
-| **orderBy** | **string** | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) | [optional] |
-| **searchField** | **string** | Property name for searching | [optional] |
-| **searchValue** | **string** | Value for searching | [optional] |
+| **id** | **Guid** | Unique or global Id of project | |
+| **operation** | [**List<Operation>**](Operation.md) | | [optional] |
### Return type
-[**List<TestPlanWithAnalyticModel>**](TestPlanWithAnalyticModel.md)
+void (empty response body)
### Authorization
@@ -870,25 +865,25 @@ catch (ApiException e)
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
-| **400** | Bad Request | - |
+| **204** | No Content | - |
+| **403** | Update permission for projects is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **ApiV2ProjectsIdTestPlansNameExistsGet**
-> bool ApiV2ProjectsIdTestPlansNameExistsGet (Guid id, string name)
+
+# **ApiV2ProjectsIdTestPlansAnalyticsGet**
+> List<TestPlanWithAnalyticModel> ApiV2ProjectsIdTestPlansAnalyticsGet (Guid id, bool? isDeleted = null, bool? mustUpdateCache = null, int? skip = null, int? take = null, string orderBy = null, string searchField = null, string searchValue = null)
-Checks if TestPlan exists with the specified name exists for the project
+Get TestPlans analytics
-
Use case
User sets project internal or global identifier
User runs method execution
System purge delete project workitems
+
Use case
User sets project internal identifier
User sets query params
User runs method execution
System return analytics
### Example
```csharp
@@ -901,7 +896,7 @@ using TestIt.Client.Model;
namespace Example
{
- public class ApiV2ProjectsIdTestPlansNameExistsGetExample
+ public class ApiV2ProjectsIdTestPlansAnalyticsGetExample
{
public static void Main()
{
@@ -916,18 +911,24 @@ namespace Example
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
- var id = "id_example"; // Guid | Project internal (UUID) or global (integer) identifier
- var name = "name_example"; // string | TestPlan name to check
+ var id = "id_example"; // Guid | Project internal (UUID) identifier
+ var isDeleted = true; // bool? | (optional)
+ var mustUpdateCache = false; // bool? | (optional) (default to false)
+ var skip = 56; // int? | Amount of items to be skipped (offset) (optional)
+ var take = 56; // int? | Amount of items to be taken (limit) (optional)
+ var orderBy = "orderBy_example"; // string | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional)
+ var searchField = "searchField_example"; // string | Property name for searching (optional)
+ var searchValue = "searchValue_example"; // string | Value for searching (optional)
try
{
- // Checks if TestPlan exists with the specified name exists for the project
- bool result = apiInstance.ApiV2ProjectsIdTestPlansNameExistsGet(id, name);
+ // Get TestPlans analytics
+ List result = apiInstance.ApiV2ProjectsIdTestPlansAnalyticsGet(id, isDeleted, mustUpdateCache, skip, take, orderBy, searchField, searchValue);
Debug.WriteLine(result);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdTestPlansNameExistsGet: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdTestPlansAnalyticsGet: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -936,21 +937,21 @@ namespace Example
}
```
-#### Using the ApiV2ProjectsIdTestPlansNameExistsGetWithHttpInfo variant
+#### Using the ApiV2ProjectsIdTestPlansAnalyticsGetWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
```csharp
try
{
- // Checks if TestPlan exists with the specified name exists for the project
- ApiResponse response = apiInstance.ApiV2ProjectsIdTestPlansNameExistsGetWithHttpInfo(id, name);
+ // Get TestPlans analytics
+ ApiResponse> response = apiInstance.ApiV2ProjectsIdTestPlansAnalyticsGetWithHttpInfo(id, isDeleted, mustUpdateCache, skip, take, orderBy, searchField, searchValue);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdTestPlansNameExistsGetWithHttpInfo: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdTestPlansAnalyticsGetWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -960,12 +961,18 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **id** | **Guid** | Project internal (UUID) or global (integer) identifier | |
-| **name** | **string** | TestPlan name to check | |
+| **id** | **Guid** | Project internal (UUID) identifier | |
+| **isDeleted** | **bool?** | | [optional] |
+| **mustUpdateCache** | **bool?** | | [optional] [default to false] |
+| **skip** | **int?** | Amount of items to be skipped (offset) | [optional] |
+| **take** | **int?** | Amount of items to be taken (limit) | [optional] |
+| **orderBy** | **string** | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) | [optional] |
+| **searchField** | **string** | Property name for searching | [optional] |
+| **searchValue** | **string** | Value for searching | [optional] |
### Return type
-**bool**
+[**List<TestPlanWithAnalyticModel>**](TestPlanWithAnalyticModel.md)
### Authorization
@@ -980,17 +987,16 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Success | - |
+| **400** | Bad Request | - |
+| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **ApiV2ProjectsIdTestPlansSearchPost**
-> List<TestPlanWithAnalyticModel> ApiV2ProjectsIdTestPlansSearchPost (string id, bool? mustUpdateCache = null, int? skip = null, int? take = null, string orderBy = null, string searchField = null, string searchValue = null, TestPlanSearchQueryModel testPlanSearchQueryModel = null)
-
-Get Project TestPlans with analytics
+
+# **ApiV2ProjectsIdTestPlansDeleteBulkPost**
+> List<Guid> ApiV2ProjectsIdTestPlansDeleteBulkPost (string id, ProjectTestPlansFilterModel projectTestPlansFilterModel = null)
-
Use case
User sets project internal or global identifier
User sets request body
User runs method execution
System returns project testplans with analytics
+Delete multiple test plans
### Example
```csharp
@@ -1003,7 +1009,7 @@ using TestIt.Client.Model;
namespace Example
{
- public class ApiV2ProjectsIdTestPlansSearchPostExample
+ public class ApiV2ProjectsIdTestPlansDeleteBulkPostExample
{
public static void Main()
{
@@ -1018,24 +1024,18 @@ namespace Example
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
- var id = "id_example"; // string | Project internal (UUID) or global (integer) identifier
- var mustUpdateCache = false; // bool? | (optional) (default to false)
- var skip = 56; // int? | Amount of items to be skipped (offset) (optional)
- var take = 56; // int? | Amount of items to be taken (limit) (optional)
- var orderBy = "orderBy_example"; // string | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional)
- var searchField = "searchField_example"; // string | Property name for searching (optional)
- var searchValue = "searchValue_example"; // string | Value for searching (optional)
- var testPlanSearchQueryModel = new TestPlanSearchQueryModel(); // TestPlanSearchQueryModel | (optional)
+ var id = "id_example"; // string | Unique or global ID of the project
+ var projectTestPlansFilterModel = new ProjectTestPlansFilterModel(); // ProjectTestPlansFilterModel | (optional)
try
{
- // Get Project TestPlans with analytics
- List result = apiInstance.ApiV2ProjectsIdTestPlansSearchPost(id, mustUpdateCache, skip, take, orderBy, searchField, searchValue, testPlanSearchQueryModel);
+ // Delete multiple test plans
+ List result = apiInstance.ApiV2ProjectsIdTestPlansDeleteBulkPost(id, projectTestPlansFilterModel);
Debug.WriteLine(result);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdTestPlansSearchPost: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdTestPlansDeleteBulkPost: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -1044,21 +1044,21 @@ namespace Example
}
```
-#### Using the ApiV2ProjectsIdTestPlansSearchPostWithHttpInfo variant
+#### Using the ApiV2ProjectsIdTestPlansDeleteBulkPostWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
```csharp
try
{
- // Get Project TestPlans with analytics
- ApiResponse> response = apiInstance.ApiV2ProjectsIdTestPlansSearchPostWithHttpInfo(id, mustUpdateCache, skip, take, orderBy, searchField, searchValue, testPlanSearchQueryModel);
+ // Delete multiple test plans
+ ApiResponse> response = apiInstance.ApiV2ProjectsIdTestPlansDeleteBulkPostWithHttpInfo(id, projectTestPlansFilterModel);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdTestPlansSearchPostWithHttpInfo: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdTestPlansDeleteBulkPostWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -1068,18 +1068,12 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **id** | **string** | Project internal (UUID) or global (integer) identifier | |
-| **mustUpdateCache** | **bool?** | | [optional] [default to false] |
-| **skip** | **int?** | Amount of items to be skipped (offset) | [optional] |
-| **take** | **int?** | Amount of items to be taken (limit) | [optional] |
-| **orderBy** | **string** | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) | [optional] |
-| **searchField** | **string** | Property name for searching | [optional] |
-| **searchValue** | **string** | Value for searching | [optional] |
-| **testPlanSearchQueryModel** | [**TestPlanSearchQueryModel**](TestPlanSearchQueryModel.md) | | [optional] |
+| **id** | **string** | Unique or global ID of the project | |
+| **projectTestPlansFilterModel** | [**ProjectTestPlansFilterModel**](ProjectTestPlansFilterModel.md) | | [optional] |
### Return type
-[**List<TestPlanWithAnalyticModel>**](TestPlanWithAnalyticModel.md)
+**List**
### Authorization
@@ -1094,18 +1088,18 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
-| **400** | Bad Request | - |
+| **200** | Success | - |
+| **403** | - Read permission for the project is required - Delete permission for test plans is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **ApiV2ProjectsIdTestRunsActiveGet**
-> List<PublicTestRunModel> ApiV2ProjectsIdTestRunsActiveGet (string id)
+
+# **ApiV2ProjectsIdTestPlansNameExistsGet**
+> bool ApiV2ProjectsIdTestPlansNameExistsGet (Guid id, string name)
-Get active Project TestRuns
+Checks if TestPlan exists with the specified name exists for the project
-
Use case
User sets project internal or global identifier
User runs method execution
System returns active testruns
+
Use case
User sets project internal or global identifier
User runs method execution
System purge delete project workitems
### Example
```csharp
@@ -1118,7 +1112,7 @@ using TestIt.Client.Model;
namespace Example
{
- public class ApiV2ProjectsIdTestRunsActiveGetExample
+ public class ApiV2ProjectsIdTestPlansNameExistsGetExample
{
public static void Main()
{
@@ -1133,17 +1127,18 @@ namespace Example
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
- var id = "id_example"; // string | Project internal (UUID) or global (integer) identifier
+ var id = "id_example"; // Guid | Project internal (UUID) or global (integer) identifier
+ var name = "name_example"; // string | TestPlan name to check
try
{
- // Get active Project TestRuns
- List result = apiInstance.ApiV2ProjectsIdTestRunsActiveGet(id);
+ // Checks if TestPlan exists with the specified name exists for the project
+ bool result = apiInstance.ApiV2ProjectsIdTestPlansNameExistsGet(id, name);
Debug.WriteLine(result);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdTestRunsActiveGet: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdTestPlansNameExistsGet: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -1152,21 +1147,21 @@ namespace Example
}
```
-#### Using the ApiV2ProjectsIdTestRunsActiveGetWithHttpInfo variant
+#### Using the ApiV2ProjectsIdTestPlansNameExistsGetWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
```csharp
try
{
- // Get active Project TestRuns
- ApiResponse> response = apiInstance.ApiV2ProjectsIdTestRunsActiveGetWithHttpInfo(id);
+ // Checks if TestPlan exists with the specified name exists for the project
+ ApiResponse response = apiInstance.ApiV2ProjectsIdTestPlansNameExistsGetWithHttpInfo(id, name);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdTestRunsActiveGetWithHttpInfo: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdTestPlansNameExistsGetWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -1176,11 +1171,12 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **id** | **string** | Project internal (UUID) or global (integer) identifier | |
+| **id** | **Guid** | Project internal (UUID) or global (integer) identifier | |
+| **name** | **string** | TestPlan name to check | |
### Return type
-[**List<PublicTestRunModel>**](PublicTestRunModel.md)
+**bool**
### Authorization
@@ -1195,20 +1191,15 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **401** | Unauthorized | - |
-| **404** | Not Found | - |
| **200** | Success | - |
-| **400** | Bad Request | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **ApiV2ProjectsIdTestRunsFullGet**
-> List<TestRunModel> ApiV2ProjectsIdTestRunsFullGet (string id, bool? includeTestResults = null, bool? mustAggregateTestResults = null, bool? notStarted = null, bool? inProgress = null, bool? stopped = null, bool? completed = null, DateTime? createdDateFrom = null, DateTime? createdDateTo = null, Guid? testPlanId = null, int? skip = null, int? take = null, string orderBy = null, string searchField = null, string searchValue = null)
-
-Get Project TestRuns full models
+
+# **ApiV2ProjectsIdTestPlansRestoreBulkPost**
+> void ApiV2ProjectsIdTestPlansRestoreBulkPost (string id, ProjectTestPlansFilterModel projectTestPlansFilterModel = null)
-
Use case
User sets project internal or global identifier
User sets query params
User runs method execution
System returns project test runs full models
+Restore multiple test plans
### Example
```csharp
@@ -1221,7 +1212,7 @@ using TestIt.Client.Model;
namespace Example
{
- public class ApiV2ProjectsIdTestRunsFullGetExample
+ public class ApiV2ProjectsIdTestPlansRestoreBulkPostExample
{
public static void Main()
{
@@ -1236,31 +1227,17 @@ namespace Example
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
- var id = "id_example"; // string | Project internal (UUID) or global (integer) identifier
- var includeTestResults = false; // bool? | (optional) (default to false)
- var mustAggregateTestResults = true; // bool? | (optional) (default to true)
- var notStarted = true; // bool? | (optional)
- var inProgress = true; // bool? | (optional)
- var stopped = true; // bool? | (optional)
- var completed = true; // bool? | (optional)
- var createdDateFrom = DateTime.Parse("2013-10-20T19:20:30+01:00"); // DateTime? | (optional)
- var createdDateTo = DateTime.Parse("2013-10-20T19:20:30+01:00"); // DateTime? | (optional)
- var testPlanId = "testPlanId_example"; // Guid? | (optional)
- var skip = 56; // int? | Amount of items to be skipped (offset) (optional)
- var take = 56; // int? | Amount of items to be taken (limit) (optional)
- var orderBy = "orderBy_example"; // string | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional)
- var searchField = "searchField_example"; // string | Property name for searching (optional)
- var searchValue = "searchValue_example"; // string | Value for searching (optional)
+ var id = "id_example"; // string | Unique or global ID of the project
+ var projectTestPlansFilterModel = new ProjectTestPlansFilterModel(); // ProjectTestPlansFilterModel | (optional)
try
{
- // Get Project TestRuns full models
- List result = apiInstance.ApiV2ProjectsIdTestRunsFullGet(id, includeTestResults, mustAggregateTestResults, notStarted, inProgress, stopped, completed, createdDateFrom, createdDateTo, testPlanId, skip, take, orderBy, searchField, searchValue);
- Debug.WriteLine(result);
+ // Restore multiple test plans
+ apiInstance.ApiV2ProjectsIdTestPlansRestoreBulkPost(id, projectTestPlansFilterModel);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdTestRunsFullGet: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdTestPlansRestoreBulkPost: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -1269,21 +1246,18 @@ namespace Example
}
```
-#### Using the ApiV2ProjectsIdTestRunsFullGetWithHttpInfo variant
+#### Using the ApiV2ProjectsIdTestPlansRestoreBulkPostWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
```csharp
try
{
- // Get Project TestRuns full models
- ApiResponse> response = apiInstance.ApiV2ProjectsIdTestRunsFullGetWithHttpInfo(id, includeTestResults, mustAggregateTestResults, notStarted, inProgress, stopped, completed, createdDateFrom, createdDateTo, testPlanId, skip, take, orderBy, searchField, searchValue);
- Debug.Write("Status Code: " + response.StatusCode);
- Debug.Write("Response Headers: " + response.Headers);
- Debug.Write("Response Body: " + response.Data);
+ // Restore multiple test plans
+ apiInstance.ApiV2ProjectsIdTestPlansRestoreBulkPostWithHttpInfo(id, projectTestPlansFilterModel);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdTestRunsFullGetWithHttpInfo: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdTestPlansRestoreBulkPostWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -1293,25 +1267,12 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **id** | **string** | Project internal (UUID) or global (integer) identifier | |
-| **includeTestResults** | **bool?** | | [optional] [default to false] |
-| **mustAggregateTestResults** | **bool?** | | [optional] [default to true] |
-| **notStarted** | **bool?** | | [optional] |
-| **inProgress** | **bool?** | | [optional] |
-| **stopped** | **bool?** | | [optional] |
-| **completed** | **bool?** | | [optional] |
-| **createdDateFrom** | **DateTime?** | | [optional] |
-| **createdDateTo** | **DateTime?** | | [optional] |
-| **testPlanId** | **Guid?** | | [optional] |
-| **skip** | **int?** | Amount of items to be skipped (offset) | [optional] |
-| **take** | **int?** | Amount of items to be taken (limit) | [optional] |
-| **orderBy** | **string** | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) | [optional] |
-| **searchField** | **string** | Property name for searching | [optional] |
-| **searchValue** | **string** | Value for searching | [optional] |
+| **id** | **string** | Unique or global ID of the project | |
+| **projectTestPlansFilterModel** | [**ProjectTestPlansFilterModel**](ProjectTestPlansFilterModel.md) | | [optional] |
### Return type
-[**List<TestRunModel>**](TestRunModel.md)
+void (empty response body)
### Authorization
@@ -1319,22 +1280,25 @@ catch (ApiException e)
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
+| **200** | Success | - |
+| **403** | - Read permission for the project is required - Edit permission for test plans is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **ApiV2ProjectsIdWorkItemsSearchIdPost**
-> List<Guid> ApiV2ProjectsIdWorkItemsSearchIdPost (string id, int? skip = null, int? take = null, string orderBy = null, string searchField = null, string searchValue = null, WorkItemSelectModel workItemSelectModel = null)
+
+# **ApiV2ProjectsIdTestPlansSearchPost**
+> List<TestPlanWithAnalyticModel> ApiV2ProjectsIdTestPlansSearchPost (string id, bool? mustUpdateCache = null, int? skip = null, int? take = null, string orderBy = null, string searchField = null, string searchValue = null, ProjectTestPlansFilterModel projectTestPlansFilterModel = null)
-Search for work items and extract IDs only
+Get Project TestPlans with analytics
+
+
Use case
User sets project internal or global identifier
User sets request body
User runs method execution
System returns project testplans with analytics
### Example
```csharp
@@ -1347,7 +1311,7 @@ using TestIt.Client.Model;
namespace Example
{
- public class ApiV2ProjectsIdWorkItemsSearchIdPostExample
+ public class ApiV2ProjectsIdTestPlansSearchPostExample
{
public static void Main()
{
@@ -1362,23 +1326,24 @@ namespace Example
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
- var id = "id_example"; // string | Unique or global ID of the project
+ var id = "id_example"; // string | Project internal (UUID) or global (integer) identifier
+ var mustUpdateCache = false; // bool? | (optional) (default to false)
var skip = 56; // int? | Amount of items to be skipped (offset) (optional)
var take = 56; // int? | Amount of items to be taken (limit) (optional)
var orderBy = "orderBy_example"; // string | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional)
var searchField = "searchField_example"; // string | Property name for searching (optional)
var searchValue = "searchValue_example"; // string | Value for searching (optional)
- var workItemSelectModel = new WorkItemSelectModel(); // WorkItemSelectModel | (optional)
+ var projectTestPlansFilterModel = new ProjectTestPlansFilterModel(); // ProjectTestPlansFilterModel | (optional)
try
{
- // Search for work items and extract IDs only
- List result = apiInstance.ApiV2ProjectsIdWorkItemsSearchIdPost(id, skip, take, orderBy, searchField, searchValue, workItemSelectModel);
+ // Get Project TestPlans with analytics
+ List result = apiInstance.ApiV2ProjectsIdTestPlansSearchPost(id, mustUpdateCache, skip, take, orderBy, searchField, searchValue, projectTestPlansFilterModel);
Debug.WriteLine(result);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdWorkItemsSearchIdPost: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdTestPlansSearchPost: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -1387,21 +1352,21 @@ namespace Example
}
```
-#### Using the ApiV2ProjectsIdWorkItemsSearchIdPostWithHttpInfo variant
+#### Using the ApiV2ProjectsIdTestPlansSearchPostWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
```csharp
try
{
- // Search for work items and extract IDs only
- ApiResponse> response = apiInstance.ApiV2ProjectsIdWorkItemsSearchIdPostWithHttpInfo(id, skip, take, orderBy, searchField, searchValue, workItemSelectModel);
+ // Get Project TestPlans with analytics
+ ApiResponse> response = apiInstance.ApiV2ProjectsIdTestPlansSearchPostWithHttpInfo(id, mustUpdateCache, skip, take, orderBy, searchField, searchValue, projectTestPlansFilterModel);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdWorkItemsSearchIdPostWithHttpInfo: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdTestPlansSearchPostWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -1411,17 +1376,1178 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **id** | **string** | Unique or global ID of the project | |
+| **id** | **string** | Project internal (UUID) or global (integer) identifier | |
+| **mustUpdateCache** | **bool?** | | [optional] [default to false] |
| **skip** | **int?** | Amount of items to be skipped (offset) | [optional] |
| **take** | **int?** | Amount of items to be taken (limit) | [optional] |
| **orderBy** | **string** | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) | [optional] |
| **searchField** | **string** | Property name for searching | [optional] |
| **searchValue** | **string** | Value for searching | [optional] |
-| **workItemSelectModel** | [**WorkItemSelectModel**](WorkItemSelectModel.md) | | [optional] |
+| **projectTestPlansFilterModel** | [**ProjectTestPlansFilterModel**](ProjectTestPlansFilterModel.md) | | [optional] |
### Return type
-**List**
+[**List<TestPlanWithAnalyticModel>**](TestPlanWithAnalyticModel.md)
+
+### Authorization
+
+[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
+| **400** | Bad Request | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **ApiV2ProjectsIdTestRunsActiveGet**
+> List<PublicTestRunModel> ApiV2ProjectsIdTestRunsActiveGet (string id)
+
+Get active Project TestRuns
+
+
Use case
User sets project internal or global identifier
User runs method execution
System returns active testruns
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using TestIt.Client.Api;
+using TestIt.Client.Client;
+using TestIt.Client.Model;
+
+namespace Example
+{
+ public class ApiV2ProjectsIdTestRunsActiveGetExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: Bearer or PrivateToken
+ config.AddApiKey("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
+ var id = "id_example"; // string | Project internal (UUID) or global (integer) identifier
+
+ try
+ {
+ // Get active Project TestRuns
+ List result = apiInstance.ApiV2ProjectsIdTestRunsActiveGet(id);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdTestRunsActiveGet: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the ApiV2ProjectsIdTestRunsActiveGetWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Get active Project TestRuns
+ ApiResponse> response = apiInstance.ApiV2ProjectsIdTestRunsActiveGetWithHttpInfo(id);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdTestRunsActiveGetWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **id** | **string** | Project internal (UUID) or global (integer) identifier | |
+
+### Return type
+
+[**List<PublicTestRunModel>**](PublicTestRunModel.md)
+
+### Authorization
+
+[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Success | - |
+| **401** | Unauthorized | - |
+| **400** | Bad Request | - |
+| **404** | Not Found | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **ApiV2ProjectsIdTestRunsFullGet**
+> List<TestRunModel> ApiV2ProjectsIdTestRunsFullGet (string id, bool? includeTestResults = null, bool? mustAggregateTestResults = null, bool? notStarted = null, bool? inProgress = null, bool? stopped = null, bool? completed = null, DateTime? createdDateFrom = null, DateTime? createdDateTo = null, Guid? testPlanId = null, int? skip = null, int? take = null, string orderBy = null, string searchField = null, string searchValue = null)
+
+Get Project TestRuns full models
+
+
Use case
User sets project internal or global identifier
User sets query params
User runs method execution
System returns project test runs full models
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using TestIt.Client.Api;
+using TestIt.Client.Client;
+using TestIt.Client.Model;
+
+namespace Example
+{
+ public class ApiV2ProjectsIdTestRunsFullGetExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: Bearer or PrivateToken
+ config.AddApiKey("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
+ var id = "id_example"; // string | Project internal (UUID) or global (integer) identifier
+ var includeTestResults = false; // bool? | (optional) (default to false)
+ var mustAggregateTestResults = true; // bool? | (optional) (default to true)
+ var notStarted = true; // bool? | (optional)
+ var inProgress = true; // bool? | (optional)
+ var stopped = true; // bool? | (optional)
+ var completed = true; // bool? | (optional)
+ var createdDateFrom = DateTime.Parse("2013-10-20T19:20:30+01:00"); // DateTime? | (optional)
+ var createdDateTo = DateTime.Parse("2013-10-20T19:20:30+01:00"); // DateTime? | (optional)
+ var testPlanId = "testPlanId_example"; // Guid? | (optional)
+ var skip = 56; // int? | Amount of items to be skipped (offset) (optional)
+ var take = 56; // int? | Amount of items to be taken (limit) (optional)
+ var orderBy = "orderBy_example"; // string | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional)
+ var searchField = "searchField_example"; // string | Property name for searching (optional)
+ var searchValue = "searchValue_example"; // string | Value for searching (optional)
+
+ try
+ {
+ // Get Project TestRuns full models
+ List result = apiInstance.ApiV2ProjectsIdTestRunsFullGet(id, includeTestResults, mustAggregateTestResults, notStarted, inProgress, stopped, completed, createdDateFrom, createdDateTo, testPlanId, skip, take, orderBy, searchField, searchValue);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdTestRunsFullGet: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the ApiV2ProjectsIdTestRunsFullGetWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Get Project TestRuns full models
+ ApiResponse> response = apiInstance.ApiV2ProjectsIdTestRunsFullGetWithHttpInfo(id, includeTestResults, mustAggregateTestResults, notStarted, inProgress, stopped, completed, createdDateFrom, createdDateTo, testPlanId, skip, take, orderBy, searchField, searchValue);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdTestRunsFullGetWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **id** | **string** | Project internal (UUID) or global (integer) identifier | |
+| **includeTestResults** | **bool?** | | [optional] [default to false] |
+| **mustAggregateTestResults** | **bool?** | | [optional] [default to true] |
+| **notStarted** | **bool?** | | [optional] |
+| **inProgress** | **bool?** | | [optional] |
+| **stopped** | **bool?** | | [optional] |
+| **completed** | **bool?** | | [optional] |
+| **createdDateFrom** | **DateTime?** | | [optional] |
+| **createdDateTo** | **DateTime?** | | [optional] |
+| **testPlanId** | **Guid?** | | [optional] |
+| **skip** | **int?** | Amount of items to be skipped (offset) | [optional] |
+| **take** | **int?** | Amount of items to be taken (limit) | [optional] |
+| **orderBy** | **string** | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) | [optional] |
+| **searchField** | **string** | Property name for searching | [optional] |
+| **searchValue** | **string** | Value for searching | [optional] |
+
+### Return type
+
+[**List<TestRunModel>**](TestRunModel.md)
+
+### Authorization
+
+[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **ApiV2ProjectsIdWorkItemsSearchIdPost**
+> List<Guid> ApiV2ProjectsIdWorkItemsSearchIdPost (string id, int? skip = null, int? take = null, string orderBy = null, string searchField = null, string searchValue = null, WorkItemSelectModel workItemSelectModel = null)
+
+Search for work items and extract IDs only
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using TestIt.Client.Api;
+using TestIt.Client.Client;
+using TestIt.Client.Model;
+
+namespace Example
+{
+ public class ApiV2ProjectsIdWorkItemsSearchIdPostExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: Bearer or PrivateToken
+ config.AddApiKey("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
+ var id = "id_example"; // string | Unique or global ID of the project
+ var skip = 56; // int? | Amount of items to be skipped (offset) (optional)
+ var take = 56; // int? | Amount of items to be taken (limit) (optional)
+ var orderBy = "orderBy_example"; // string | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional)
+ var searchField = "searchField_example"; // string | Property name for searching (optional)
+ var searchValue = "searchValue_example"; // string | Value for searching (optional)
+ var workItemSelectModel = new WorkItemSelectModel(); // WorkItemSelectModel | (optional)
+
+ try
+ {
+ // Search for work items and extract IDs only
+ List result = apiInstance.ApiV2ProjectsIdWorkItemsSearchIdPost(id, skip, take, orderBy, searchField, searchValue, workItemSelectModel);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdWorkItemsSearchIdPost: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the ApiV2ProjectsIdWorkItemsSearchIdPostWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Search for work items and extract IDs only
+ ApiResponse> response = apiInstance.ApiV2ProjectsIdWorkItemsSearchIdPostWithHttpInfo(id, skip, take, orderBy, searchField, searchValue, workItemSelectModel);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdWorkItemsSearchIdPostWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **id** | **string** | Unique or global ID of the project | |
+| **skip** | **int?** | Amount of items to be skipped (offset) | [optional] |
+| **take** | **int?** | Amount of items to be taken (limit) | [optional] |
+| **orderBy** | **string** | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) | [optional] |
+| **searchField** | **string** | Property name for searching | [optional] |
+| **searchValue** | **string** | Value for searching | [optional] |
+| **workItemSelectModel** | [**WorkItemSelectModel**](WorkItemSelectModel.md) | | [optional] |
+
+### Return type
+
+**List**
+
+### Authorization
+
+[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **403** | Read permission for test library is required | - |
+| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **ApiV2ProjectsIdWorkItemsSearchPost**
+> List<WorkItemShortModel> ApiV2ProjectsIdWorkItemsSearchPost (string id, int? skip = null, int? take = null, string orderBy = null, string searchField = null, string searchValue = null, WorkItemSelectModel workItemSelectModel = null)
+
+Search for work items
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using TestIt.Client.Api;
+using TestIt.Client.Client;
+using TestIt.Client.Model;
+
+namespace Example
+{
+ public class ApiV2ProjectsIdWorkItemsSearchPostExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: Bearer or PrivateToken
+ config.AddApiKey("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
+ var id = "id_example"; // string | Unique or global ID of the project
+ var skip = 56; // int? | Amount of items to be skipped (offset) (optional)
+ var take = 56; // int? | Amount of items to be taken (limit) (optional)
+ var orderBy = "orderBy_example"; // string | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional)
+ var searchField = "searchField_example"; // string | Property name for searching (optional)
+ var searchValue = "searchValue_example"; // string | Value for searching (optional)
+ var workItemSelectModel = new WorkItemSelectModel(); // WorkItemSelectModel | (optional)
+
+ try
+ {
+ // Search for work items
+ List result = apiInstance.ApiV2ProjectsIdWorkItemsSearchPost(id, skip, take, orderBy, searchField, searchValue, workItemSelectModel);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdWorkItemsSearchPost: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the ApiV2ProjectsIdWorkItemsSearchPostWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Search for work items
+ ApiResponse> response = apiInstance.ApiV2ProjectsIdWorkItemsSearchPostWithHttpInfo(id, skip, take, orderBy, searchField, searchValue, workItemSelectModel);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdWorkItemsSearchPostWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **id** | **string** | Unique or global ID of the project | |
+| **skip** | **int?** | Amount of items to be skipped (offset) | [optional] |
+| **take** | **int?** | Amount of items to be taken (limit) | [optional] |
+| **orderBy** | **string** | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) | [optional] |
+| **searchField** | **string** | Property name for searching | [optional] |
+| **searchValue** | **string** | Value for searching | [optional] |
+| **workItemSelectModel** | [**WorkItemSelectModel**](WorkItemSelectModel.md) | | [optional] |
+
+### Return type
+
+[**List<WorkItemShortModel>**](WorkItemShortModel.md)
+
+### Authorization
+
+[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **403** | Read permission for test library is required | - |
+| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **ApiV2ProjectsIdWorkItemsTagsGet**
+> List<TagShortModel> ApiV2ProjectsIdWorkItemsTagsGet (Guid id, bool? isDeleted = null)
+
+Get WorkItems Tags
+
+
Use case
User sets project internal identifier
User runs method execution
System returns work items tags
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using TestIt.Client.Api;
+using TestIt.Client.Client;
+using TestIt.Client.Model;
+
+namespace Example
+{
+ public class ApiV2ProjectsIdWorkItemsTagsGetExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: Bearer or PrivateToken
+ config.AddApiKey("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
+ var id = "id_example"; // Guid | Project internal (UUID) identifier
+ var isDeleted = true; // bool? | (optional)
+
+ try
+ {
+ // Get WorkItems Tags
+ List result = apiInstance.ApiV2ProjectsIdWorkItemsTagsGet(id, isDeleted);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdWorkItemsTagsGet: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the ApiV2ProjectsIdWorkItemsTagsGetWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Get WorkItems Tags
+ ApiResponse> response = apiInstance.ApiV2ProjectsIdWorkItemsTagsGetWithHttpInfo(id, isDeleted);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdWorkItemsTagsGetWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **id** | **Guid** | Project internal (UUID) identifier | |
+| **isDeleted** | **bool?** | | [optional] |
+
+### Return type
+
+[**List<TagShortModel>**](TagShortModel.md)
+
+### Authorization
+
+[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Success | - |
+| **400** | Bad Request | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **ApiV2ProjectsNameNameExistsGet**
+> bool ApiV2ProjectsNameNameExistsGet (string name)
+
+
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using TestIt.Client.Api;
+using TestIt.Client.Client;
+using TestIt.Client.Model;
+
+namespace Example
+{
+ public class ApiV2ProjectsNameNameExistsGetExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: Bearer or PrivateToken
+ config.AddApiKey("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
+ var name = "name_example"; // string |
+
+ try
+ {
+ bool result = apiInstance.ApiV2ProjectsNameNameExistsGet(name);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsNameNameExistsGet: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the ApiV2ProjectsNameNameExistsGetWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ ApiResponse response = apiInstance.ApiV2ProjectsNameNameExistsGetWithHttpInfo(name);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsNameNameExistsGetWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **name** | **string** | | |
+
+### Return type
+
+**bool**
+
+### Authorization
+
+[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Success | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **ApiV2ProjectsSearchPost**
+> List<ProjectModel> ApiV2ProjectsSearchPost (int? skip = null, int? take = null, string orderBy = null, string searchField = null, string searchValue = null, ProjectsFilterModel projectsFilterModel = null)
+
+Search for projects
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using TestIt.Client.Api;
+using TestIt.Client.Client;
+using TestIt.Client.Model;
+
+namespace Example
+{
+ public class ApiV2ProjectsSearchPostExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: Bearer or PrivateToken
+ config.AddApiKey("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
+ var skip = 56; // int? | Amount of items to be skipped (offset) (optional)
+ var take = 56; // int? | Amount of items to be taken (limit) (optional)
+ var orderBy = "orderBy_example"; // string | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional)
+ var searchField = "searchField_example"; // string | Property name for searching (optional)
+ var searchValue = "searchValue_example"; // string | Value for searching (optional)
+ var projectsFilterModel = new ProjectsFilterModel(); // ProjectsFilterModel | (optional)
+
+ try
+ {
+ // Search for projects
+ List result = apiInstance.ApiV2ProjectsSearchPost(skip, take, orderBy, searchField, searchValue, projectsFilterModel);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsSearchPost: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the ApiV2ProjectsSearchPostWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Search for projects
+ ApiResponse> response = apiInstance.ApiV2ProjectsSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, projectsFilterModel);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsSearchPostWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **skip** | **int?** | Amount of items to be skipped (offset) | [optional] |
+| **take** | **int?** | Amount of items to be taken (limit) | [optional] |
+| **orderBy** | **string** | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) | [optional] |
+| **searchField** | **string** | Property name for searching | [optional] |
+| **searchValue** | **string** | Value for searching | [optional] |
+| **projectsFilterModel** | [**ProjectsFilterModel**](ProjectsFilterModel.md) | | [optional] |
+
+### Return type
+
+[**List<ProjectModel>**](ProjectModel.md)
+
+### Authorization
+
+[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **BackgroundImportProject**
+> Guid BackgroundImportProject (FileParameter file = null)
+
+Import project from JSON file in background job
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using TestIt.Client.Api;
+using TestIt.Client.Client;
+using TestIt.Client.Model;
+
+namespace Example
+{
+ public class BackgroundImportProjectExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: Bearer or PrivateToken
+ config.AddApiKey("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
+ var file = new System.IO.MemoryStream(System.IO.File.ReadAllBytes("/path/to/file.txt")); // FileParameter | (optional)
+
+ try
+ {
+ // Import project from JSON file in background job
+ Guid result = apiInstance.BackgroundImportProject(file);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling ProjectsApi.BackgroundImportProject: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the BackgroundImportProjectWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Import project from JSON file in background job
+ ApiResponse response = apiInstance.BackgroundImportProjectWithHttpInfo(file);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling ProjectsApi.BackgroundImportProjectWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **file** | **FileParameter****FileParameter** | | [optional] |
+
+### Return type
+
+**Guid**
+
+### Authorization
+
+[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)
+
+### HTTP request headers
+
+ - **Content-Type**: multipart/form-data, application/json
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Success | - |
+| **403** | Update permission for project settings required | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **BackgroundImportToExistingProject**
+> Guid BackgroundImportToExistingProject (string id, FileParameter file = null)
+
+Import project from JSON file into existing project in background job
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using TestIt.Client.Api;
+using TestIt.Client.Client;
+using TestIt.Client.Model;
+
+namespace Example
+{
+ public class BackgroundImportToExistingProjectExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: Bearer or PrivateToken
+ config.AddApiKey("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
+ var id = "id_example"; // string | Project internal (UUID) or global (integer) identifier
+ var file = new System.IO.MemoryStream(System.IO.File.ReadAllBytes("/path/to/file.txt")); // FileParameter | Select file (optional)
+
+ try
+ {
+ // Import project from JSON file into existing project in background job
+ Guid result = apiInstance.BackgroundImportToExistingProject(id, file);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling ProjectsApi.BackgroundImportToExistingProject: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the BackgroundImportToExistingProjectWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Import project from JSON file into existing project in background job
+ ApiResponse response = apiInstance.BackgroundImportToExistingProjectWithHttpInfo(id, file);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling ProjectsApi.BackgroundImportToExistingProjectWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **id** | **string** | Project internal (UUID) or global (integer) identifier | |
+| **file** | **FileParameter****FileParameter** | Select file | [optional] |
+
+### Return type
+
+**Guid**
+
+### Authorization
+
+[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)
+
+### HTTP request headers
+
+ - **Content-Type**: multipart/form-data
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Success | - |
+| **403** | Update permission for project settings required | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **BackgroundImportZipProject**
+> Guid BackgroundImportZipProject (FileParameter file = null)
+
+Import project from Zip file in background job
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using TestIt.Client.Api;
+using TestIt.Client.Client;
+using TestIt.Client.Model;
+
+namespace Example
+{
+ public class BackgroundImportZipProjectExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: Bearer or PrivateToken
+ config.AddApiKey("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
+ var file = new System.IO.MemoryStream(System.IO.File.ReadAllBytes("/path/to/file.txt")); // FileParameter | (optional)
+
+ try
+ {
+ // Import project from Zip file in background job
+ Guid result = apiInstance.BackgroundImportZipProject(file);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling ProjectsApi.BackgroundImportZipProject: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the BackgroundImportZipProjectWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Import project from Zip file in background job
+ ApiResponse response = apiInstance.BackgroundImportZipProjectWithHttpInfo(file);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling ProjectsApi.BackgroundImportZipProjectWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **file** | **FileParameter****FileParameter** | | [optional] |
+
+### Return type
+
+**Guid**
+
+### Authorization
+
+[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)
+
+### HTTP request headers
+
+ - **Content-Type**: multipart/form-data, application/json
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Success | - |
+| **403** | Update permission for project settings required | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **BackgroundImportZipToExistingProject**
+> Guid BackgroundImportZipToExistingProject (string id, FileParameter file = null)
+
+Import project from Zip file into existing project in background job
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using TestIt.Client.Api;
+using TestIt.Client.Client;
+using TestIt.Client.Model;
+
+namespace Example
+{
+ public class BackgroundImportZipToExistingProjectExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: Bearer or PrivateToken
+ config.AddApiKey("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
+ var id = "id_example"; // string | Project internal (UUID) or global (integer) identifier
+ var file = new System.IO.MemoryStream(System.IO.File.ReadAllBytes("/path/to/file.txt")); // FileParameter | Select file (optional)
+
+ try
+ {
+ // Import project from Zip file into existing project in background job
+ Guid result = apiInstance.BackgroundImportZipToExistingProject(id, file);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling ProjectsApi.BackgroundImportZipToExistingProject: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the BackgroundImportZipToExistingProjectWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Import project from Zip file into existing project in background job
+ ApiResponse response = apiInstance.BackgroundImportZipToExistingProjectWithHttpInfo(id, file);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling ProjectsApi.BackgroundImportZipToExistingProjectWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **id** | **string** | Project internal (UUID) or global (integer) identifier | |
+| **file** | **FileParameter****FileParameter** | Select file | [optional] |
+
+### Return type
+
+**Guid**
### Authorization
@@ -1429,23 +2555,25 @@ catch (ApiException e)
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: multipart/form-data
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **403** | Read permission for test library is required | - |
-| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
+| **200** | Success | - |
+| **403** | Update permission for project settings required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **ApiV2ProjectsIdWorkItemsSearchPost**
-> List<WorkItemShortModel> ApiV2ProjectsIdWorkItemsSearchPost (string id, int? skip = null, int? take = null, string orderBy = null, string searchField = null, string searchValue = null, WorkItemSelectModel workItemSelectModel = null)
+
+# **CreateCustomAttributeTestPlanProjectRelations**
+> void CreateCustomAttributeTestPlanProjectRelations (string id, List requestBody = null)
-Search for work items
+Add attributes to project's test plans
+
+
Use case
User sets project internal or global identifier and attributes identifiers
User runs method execution
System updates project and add attributes to project for test plans
System returns no content response
### Example
```csharp
@@ -1458,7 +2586,7 @@ using TestIt.Client.Model;
namespace Example
{
- public class ApiV2ProjectsIdWorkItemsSearchPostExample
+ public class CreateCustomAttributeTestPlanProjectRelationsExample
{
public static void Main()
{
@@ -1473,23 +2601,17 @@ namespace Example
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
- var id = "id_example"; // string | Unique or global ID of the project
- var skip = 56; // int? | Amount of items to be skipped (offset) (optional)
- var take = 56; // int? | Amount of items to be taken (limit) (optional)
- var orderBy = "orderBy_example"; // string | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional)
- var searchField = "searchField_example"; // string | Property name for searching (optional)
- var searchValue = "searchValue_example"; // string | Value for searching (optional)
- var workItemSelectModel = new WorkItemSelectModel(); // WorkItemSelectModel | (optional)
+ var id = "id_example"; // string | Project internal (UUID) or global (integer) identifier
+ var requestBody = new List(); // List | (optional)
try
{
- // Search for work items
- List result = apiInstance.ApiV2ProjectsIdWorkItemsSearchPost(id, skip, take, orderBy, searchField, searchValue, workItemSelectModel);
- Debug.WriteLine(result);
+ // Add attributes to project's test plans
+ apiInstance.CreateCustomAttributeTestPlanProjectRelations(id, requestBody);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdWorkItemsSearchPost: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.CreateCustomAttributeTestPlanProjectRelations: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -1498,21 +2620,18 @@ namespace Example
}
```
-#### Using the ApiV2ProjectsIdWorkItemsSearchPostWithHttpInfo variant
+#### Using the CreateCustomAttributeTestPlanProjectRelationsWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
```csharp
try
{
- // Search for work items
- ApiResponse> response = apiInstance.ApiV2ProjectsIdWorkItemsSearchPostWithHttpInfo(id, skip, take, orderBy, searchField, searchValue, workItemSelectModel);
- Debug.Write("Status Code: " + response.StatusCode);
- Debug.Write("Response Headers: " + response.Headers);
- Debug.Write("Response Body: " + response.Data);
+ // Add attributes to project's test plans
+ apiInstance.CreateCustomAttributeTestPlanProjectRelationsWithHttpInfo(id, requestBody);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdWorkItemsSearchPostWithHttpInfo: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.CreateCustomAttributeTestPlanProjectRelationsWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -1522,17 +2641,12 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **id** | **string** | Unique or global ID of the project | |
-| **skip** | **int?** | Amount of items to be skipped (offset) | [optional] |
-| **take** | **int?** | Amount of items to be taken (limit) | [optional] |
-| **orderBy** | **string** | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) | [optional] |
-| **searchField** | **string** | Property name for searching | [optional] |
-| **searchValue** | **string** | Value for searching | [optional] |
-| **workItemSelectModel** | [**WorkItemSelectModel**](WorkItemSelectModel.md) | | [optional] |
+| **id** | **string** | Project internal (UUID) or global (integer) identifier | |
+| **requestBody** | [**List<Guid>**](Guid.md) | | [optional] |
### Return type
-[**List<WorkItemShortModel>**](WorkItemShortModel.md)
+void (empty response body)
### Authorization
@@ -1547,18 +2661,19 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
-| **403** | Read permission for test library is required | - |
+| **403** | Update permission for project settings is required | - |
+| **204** | No Content | - |
+| **400** | <br> Attributes must be global | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **ApiV2ProjectsIdWorkItemsTagsGet**
-> List<TagShortModel> ApiV2ProjectsIdWorkItemsTagsGet (Guid id, bool? isDeleted = null)
+
+# **CreateProject**
+> ProjectModel CreateProject (ProjectPostModel projectPostModel = null)
-Get WorkItems Tags
+Create project
-
Use case
User sets project internal identifier
User runs method execution
System returns work items tags
+
Use case
User sets project parameters (listed in request example) and runs method execution
System creates project
System returns project model (example listed in response parameters)
### Example
```csharp
@@ -1571,7 +2686,7 @@ using TestIt.Client.Model;
namespace Example
{
- public class ApiV2ProjectsIdWorkItemsTagsGetExample
+ public class CreateProjectExample
{
public static void Main()
{
@@ -1586,18 +2701,17 @@ namespace Example
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
- var id = "id_example"; // Guid | Project internal (UUID) identifier
- var isDeleted = true; // bool? | (optional)
+ var projectPostModel = new ProjectPostModel(); // ProjectPostModel | (optional)
try
{
- // Get WorkItems Tags
- List result = apiInstance.ApiV2ProjectsIdWorkItemsTagsGet(id, isDeleted);
+ // Create project
+ ProjectModel result = apiInstance.CreateProject(projectPostModel);
Debug.WriteLine(result);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdWorkItemsTagsGet: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.CreateProject: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -1606,21 +2720,21 @@ namespace Example
}
```
-#### Using the ApiV2ProjectsIdWorkItemsTagsGetWithHttpInfo variant
+#### Using the CreateProjectWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
```csharp
try
{
- // Get WorkItems Tags
- ApiResponse> response = apiInstance.ApiV2ProjectsIdWorkItemsTagsGetWithHttpInfo(id, isDeleted);
+ // Create project
+ ApiResponse response = apiInstance.CreateProjectWithHttpInfo(projectPostModel);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsIdWorkItemsTagsGetWithHttpInfo: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.CreateProjectWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -1630,12 +2744,11 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **id** | **Guid** | Project internal (UUID) identifier | |
-| **isDeleted** | **bool?** | | [optional] |
+| **projectPostModel** | [**ProjectPostModel**](ProjectPostModel.md) | | [optional] |
### Return type
-[**List<TagShortModel>**](TagShortModel.md)
+[**ProjectModel**](ProjectModel.md)
### Authorization
@@ -1643,23 +2756,27 @@ catch (ApiException e)
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Success | - |
+| **403** | Project creator or admin system role is required | - |
+| **201** | Created | - |
| **400** | Bad Request | - |
+| **409** | Project with the same name already exists | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **ApiV2ProjectsNameNameExistsGet**
-> bool ApiV2ProjectsNameNameExistsGet (string name)
+
+# **CreateProjectsAttribute**
+> CustomAttributeModel CreateProjectsAttribute (string id, CustomAttributePostModel customAttributePostModel = null)
+Create project attribute
+
Use case
User sets attribute parameters (listed in request example) and runs method execution
System search project
System creates attribute and relates it to the project
System returns project attribute properties (example listed in response parameters)
### Example
```csharp
@@ -1672,7 +2789,7 @@ using TestIt.Client.Model;
namespace Example
{
- public class ApiV2ProjectsNameNameExistsGetExample
+ public class CreateProjectsAttributeExample
{
public static void Main()
{
@@ -1687,16 +2804,18 @@ namespace Example
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
- var name = "name_example"; // string |
+ var id = "id_example"; // string | Project internal (UUID) or global (integer) identifier
+ var customAttributePostModel = new CustomAttributePostModel(); // CustomAttributePostModel | (optional)
try
{
- bool result = apiInstance.ApiV2ProjectsNameNameExistsGet(name);
+ // Create project attribute
+ CustomAttributeModel result = apiInstance.CreateProjectsAttribute(id, customAttributePostModel);
Debug.WriteLine(result);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsNameNameExistsGet: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.CreateProjectsAttribute: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -1705,20 +2824,21 @@ namespace Example
}
```
-#### Using the ApiV2ProjectsNameNameExistsGetWithHttpInfo variant
+#### Using the CreateProjectsAttributeWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
```csharp
try
{
- ApiResponse response = apiInstance.ApiV2ProjectsNameNameExistsGetWithHttpInfo(name);
+ // Create project attribute
+ ApiResponse response = apiInstance.CreateProjectsAttributeWithHttpInfo(id, customAttributePostModel);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsNameNameExistsGetWithHttpInfo: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.CreateProjectsAttributeWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -1728,11 +2848,12 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **name** | **string** | | |
+| **id** | **string** | Project internal (UUID) or global (integer) identifier | |
+| **customAttributePostModel** | [**CustomAttributePostModel**](CustomAttributePostModel.md) | | [optional] |
### Return type
-**bool**
+[**CustomAttributeModel**](CustomAttributeModel.md)
### Authorization
@@ -1740,22 +2861,29 @@ catch (ApiException e)
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Success | - |
+| **422** | Cannot add new attribute from template which is in use | - |
+| **403** | Update permission for project settings is required | - |
+| **404** | Project with provided ID was not found | - |
+| **400** | <br>- Attribute is `null` <br>- Priority is invalid <br>- Attribute with `Options` type must have an options <br>- ID is not `null` <br>- Option ID is not `null` | - |
+| **409** | <br>`CustomAttribute.Name` or `CustomAttribute.Id` are not unique in attributes schemes <br>`CustomAttributeOptionModel.Id` or `CustomAttributeOptionModel.Value` are not unique in `attributesScheme.Options` | - |
+| **201** | Created | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **ApiV2ProjectsSearchPost**
-> List<ProjectModel> ApiV2ProjectsSearchPost (int? skip = null, int? take = null, string orderBy = null, string searchField = null, string searchValue = null, ProjectsFilterModel projectsFilterModel = null)
+
+# **DeleteCustomAttributeTestPlanProjectRelations**
+> void DeleteCustomAttributeTestPlanProjectRelations (string id, Guid attributeId)
-Search for projects
+Delete attribute from project's test plans
+
+
Use case
User sets project internal or global identifier and attribute identifier
User runs method execution
System updates project and delete attribute from project for test plans
System returns no content response
### Example
```csharp
@@ -1768,7 +2896,7 @@ using TestIt.Client.Model;
namespace Example
{
- public class ApiV2ProjectsSearchPostExample
+ public class DeleteCustomAttributeTestPlanProjectRelationsExample
{
public static void Main()
{
@@ -1783,22 +2911,17 @@ namespace Example
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
- var skip = 56; // int? | Amount of items to be skipped (offset) (optional)
- var take = 56; // int? | Amount of items to be taken (limit) (optional)
- var orderBy = "orderBy_example"; // string | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional)
- var searchField = "searchField_example"; // string | Property name for searching (optional)
- var searchValue = "searchValue_example"; // string | Value for searching (optional)
- var projectsFilterModel = new ProjectsFilterModel(); // ProjectsFilterModel | (optional)
+ var id = "id_example"; // string | Project internal (UUID) or global (integer) identifier
+ var attributeId = "attributeId_example"; // Guid |
try
{
- // Search for projects
- List result = apiInstance.ApiV2ProjectsSearchPost(skip, take, orderBy, searchField, searchValue, projectsFilterModel);
- Debug.WriteLine(result);
+ // Delete attribute from project's test plans
+ apiInstance.DeleteCustomAttributeTestPlanProjectRelations(id, attributeId);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsSearchPost: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.DeleteCustomAttributeTestPlanProjectRelations: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -1807,21 +2930,18 @@ namespace Example
}
```
-#### Using the ApiV2ProjectsSearchPostWithHttpInfo variant
+#### Using the DeleteCustomAttributeTestPlanProjectRelationsWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
```csharp
try
{
- // Search for projects
- ApiResponse> response = apiInstance.ApiV2ProjectsSearchPostWithHttpInfo(skip, take, orderBy, searchField, searchValue, projectsFilterModel);
- Debug.Write("Status Code: " + response.StatusCode);
- Debug.Write("Response Headers: " + response.Headers);
- Debug.Write("Response Body: " + response.Data);
+ // Delete attribute from project's test plans
+ apiInstance.DeleteCustomAttributeTestPlanProjectRelationsWithHttpInfo(id, attributeId);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.ApiV2ProjectsSearchPostWithHttpInfo: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.DeleteCustomAttributeTestPlanProjectRelationsWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -1831,16 +2951,12 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **skip** | **int?** | Amount of items to be skipped (offset) | [optional] |
-| **take** | **int?** | Amount of items to be taken (limit) | [optional] |
-| **orderBy** | **string** | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) | [optional] |
-| **searchField** | **string** | Property name for searching | [optional] |
-| **searchValue** | **string** | Value for searching | [optional] |
-| **projectsFilterModel** | [**ProjectsFilterModel**](ProjectsFilterModel.md) | | [optional] |
+| **id** | **string** | Project internal (UUID) or global (integer) identifier | |
+| **attributeId** | **Guid** | | |
### Return type
-[**List<ProjectModel>**](ProjectModel.md)
+void (empty response body)
### Authorization
@@ -1848,24 +2964,25 @@ catch (ApiException e)
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
+| **204** | No Content | - |
+| **403** | Update permission for project settings is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **CreateCustomAttributeTestPlanProjectRelations**
-> void CreateCustomAttributeTestPlanProjectRelations (string id, List requestBody = null)
+
+# **DeleteProject**
+> void DeleteProject (string id)
-Add attributes to project's test plans
+Delete project
-
Use case
User sets project internal or global identifier and attributes identifiers
User runs method execution
System updates project and add attributes to project for test plans
System returns no content response
+
Use case:
1. User sets project internal or global identifier and runs method execution
2. System searches and moves requested project to archive
3. System responds with no content (204) result
### Example
```csharp
@@ -1878,7 +2995,7 @@ using TestIt.Client.Model;
namespace Example
{
- public class CreateCustomAttributeTestPlanProjectRelationsExample
+ public class DeleteProjectExample
{
public static void Main()
{
@@ -1894,16 +3011,15 @@ namespace Example
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
var id = "id_example"; // string | Project internal (UUID) or global (integer) identifier
- var requestBody = new List(); // List | (optional)
try
{
- // Add attributes to project's test plans
- apiInstance.CreateCustomAttributeTestPlanProjectRelations(id, requestBody);
+ // Delete project
+ apiInstance.DeleteProject(id);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.CreateCustomAttributeTestPlanProjectRelations: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.DeleteProject: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -1912,18 +3028,18 @@ namespace Example
}
```
-#### Using the CreateCustomAttributeTestPlanProjectRelationsWithHttpInfo variant
+#### Using the DeleteProjectWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
```csharp
try
{
- // Add attributes to project's test plans
- apiInstance.CreateCustomAttributeTestPlanProjectRelationsWithHttpInfo(id, requestBody);
+ // Delete project
+ apiInstance.DeleteProjectWithHttpInfo(id);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.CreateCustomAttributeTestPlanProjectRelationsWithHttpInfo: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.DeleteProjectWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -1934,7 +3050,6 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **id** | **string** | Project internal (UUID) or global (integer) identifier | |
-| **requestBody** | [**List<Guid>**](Guid.md) | | [optional] |
### Return type
@@ -1946,26 +3061,26 @@ void (empty response body)
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **403** | Update permission for project settings is required | - |
-| **204** | Success | - |
-| **400** | <br> Attributes must be global | - |
+| **404** | Project with provided ID does not exists | - |
+| **204** | No Content | - |
+| **403** | Delete permission for projects is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **CreateProject**
-> ProjectModel CreateProject (ProjectPostModel projectPostModel = null)
+
+# **DeleteProjectAutoTests**
+> void DeleteProjectAutoTests (string id)
-Create project
+Delete project
-
Use case
User sets project parameters (listed in request example) and runs method execution
System creates project
System returns project model (example listed in response parameters)
+
Use case
User sets project internal or global identifier
User runs method execution
System delete all autotests from project
System returns no content response
### Example
```csharp
@@ -1978,7 +3093,7 @@ using TestIt.Client.Model;
namespace Example
{
- public class CreateProjectExample
+ public class DeleteProjectAutoTestsExample
{
public static void Main()
{
@@ -1993,17 +3108,16 @@ namespace Example
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
- var projectPostModel = new ProjectPostModel(); // ProjectPostModel | (optional)
+ var id = "id_example"; // string | Project internal (UUID) or global (integer) identifier
try
{
- // Create project
- ProjectModel result = apiInstance.CreateProject(projectPostModel);
- Debug.WriteLine(result);
+ // Delete project
+ apiInstance.DeleteProjectAutoTests(id);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.CreateProject: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.DeleteProjectAutoTests: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -2012,21 +3126,18 @@ namespace Example
}
```
-#### Using the CreateProjectWithHttpInfo variant
+#### Using the DeleteProjectAutoTestsWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
```csharp
try
{
- // Create project
- ApiResponse response = apiInstance.CreateProjectWithHttpInfo(projectPostModel);
- Debug.Write("Status Code: " + response.StatusCode);
- Debug.Write("Response Headers: " + response.Headers);
- Debug.Write("Response Body: " + response.Data);
+ // Delete project
+ apiInstance.DeleteProjectAutoTestsWithHttpInfo(id);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.CreateProjectWithHttpInfo: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.DeleteProjectAutoTestsWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -2036,11 +3147,11 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **projectPostModel** | [**ProjectPostModel**](ProjectPostModel.md) | | [optional] |
+| **id** | **string** | Project internal (UUID) or global (integer) identifier | |
### Return type
-[**ProjectModel**](ProjectModel.md)
+void (empty response body)
### Authorization
@@ -2048,27 +3159,26 @@ catch (ApiException e)
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **403** | Project creator or admin system role is required | - |
-| **201** | Success | - |
-| **400** | Bad Request | - |
-| **409** | Project with the same name already exists | - |
+| **204** | No Content | - |
+| **403** | Delete permission for AutoTest required | - |
+| **404** | Can't find a Project with identifier | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **CreateProjectsAttribute**
-> CustomAttributeModel CreateProjectsAttribute (string id, CustomAttributePostModel customAttributePostModel = null)
+
+# **DeleteProjectsAttribute**
+> void DeleteProjectsAttribute (string id, Guid attributeId)
-Create project attribute
+Delete project attribute
-
Use case
User sets attribute parameters (listed in request example) and runs method execution
System search project
System creates attribute and relates it to the project
System returns project attribute properties (example listed in response parameters)
+
Use case
User sets project identifier and runs method execution
User sets attribute identifier
User runs method execution
System search project
System search and delete attribute
System returns no content response
### Example
```csharp
@@ -2081,7 +3191,7 @@ using TestIt.Client.Model;
namespace Example
{
- public class CreateProjectsAttributeExample
+ public class DeleteProjectsAttributeExample
{
public static void Main()
{
@@ -2097,17 +3207,16 @@ namespace Example
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
var id = "id_example"; // string | Project internal (UUID) or global (integer) identifier
- var customAttributePostModel = new CustomAttributePostModel(); // CustomAttributePostModel | (optional)
+ var attributeId = "attributeId_example"; // Guid | Project attribute internal (UUID)
try
{
- // Create project attribute
- CustomAttributeModel result = apiInstance.CreateProjectsAttribute(id, customAttributePostModel);
- Debug.WriteLine(result);
+ // Delete project attribute
+ apiInstance.DeleteProjectsAttribute(id, attributeId);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.CreateProjectsAttribute: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.DeleteProjectsAttribute: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -2116,21 +3225,18 @@ namespace Example
}
```
-#### Using the CreateProjectsAttributeWithHttpInfo variant
+#### Using the DeleteProjectsAttributeWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
```csharp
try
{
- // Create project attribute
- ApiResponse response = apiInstance.CreateProjectsAttributeWithHttpInfo(id, customAttributePostModel);
- Debug.Write("Status Code: " + response.StatusCode);
- Debug.Write("Response Headers: " + response.Headers);
- Debug.Write("Response Body: " + response.Data);
+ // Delete project attribute
+ apiInstance.DeleteProjectsAttributeWithHttpInfo(id, attributeId);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.CreateProjectsAttributeWithHttpInfo: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.DeleteProjectsAttributeWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -2141,11 +3247,11 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **id** | **string** | Project internal (UUID) or global (integer) identifier | |
-| **customAttributePostModel** | [**CustomAttributePostModel**](CustomAttributePostModel.md) | | [optional] |
+| **attributeId** | **Guid** | Project attribute internal (UUID) | |
### Return type
-[**CustomAttributeModel**](CustomAttributeModel.md)
+void (empty response body)
### Authorization
@@ -2153,29 +3259,27 @@ catch (ApiException e)
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: Not defined
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **409** | <br>`CustomAttribute.Name` or `CustomAttribute.Id` are not unique in attributes schemes <br>`CustomAttributeOptionModel.Id` or `CustomAttributeOptionModel.Value` are not unique in `attributesScheme.Options` | - |
-| **400** | <br>- Attribute is `null` <br>- Priority is invalid <br>- Attribute with `Options` type must have an options <br>- ID is not `null` <br>- Option ID is not `null` | - |
-| **403** | Update permission for project settings is required | - |
+| **204** | Successful operation | - |
| **404** | Project with provided ID was not found | - |
-| **422** | Cannot add new attribute from template which is in use | - |
-| **201** | Success | - |
+| **400** | <br>- Project ID is invalid <br>- Project attribute ID is invalid <br>- Attribute is empty | - |
+| **403** | Update permission for project settings is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **DeleteCustomAttributeTestPlanProjectRelations**
-> void DeleteCustomAttributeTestPlanProjectRelations (string id, Guid attributeId)
+
+# **Export**
+> FileParameter Export (string id, bool? includeAttachments = null, ProjectExportQueryModel projectExportQueryModel = null)
-Delete attribute from project's test plans
+Export project as JSON file
-
Use case
User sets project internal or global identifier and attribute identifier
User runs method execution
System updates project and delete attribute from project for test plans
System returns no content response
+
This method exports the selected project or its part (sections, work items) to a `.json` file.
In the request body, you can specify sections and test cases to be exported.
Example of a request to export two sections and two test cases:
``` curl -X POST \"http://{domain}.com/api/v2/projects/27a32ce6-d972-4ef8-bef5-51be4bf9e468/export\" \\ -H \"accept: application/json\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: application/json-patch+json\" \\ -d \"{\\\"sectionIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"9fa85f64-5717-4562-b3fc-2c963f66a000\\\"],\\\"workItemIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"90085f64-5717-4562-b3fc-2c963f66a000\\\"]}\" ```
In the response, you get:
- A `.zip` file with attachments and a.json file if you enable attachments export.
- A `.json` file with the project if you do not enable attachments export.
### Example
```csharp
@@ -2188,7 +3292,7 @@ using TestIt.Client.Model;
namespace Example
{
- public class DeleteCustomAttributeTestPlanProjectRelationsExample
+ public class ExportExample
{
public static void Main()
{
@@ -2203,17 +3307,19 @@ namespace Example
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
- var id = "id_example"; // string | Project internal (UUID) or global (integer) identifier
- var attributeId = "attributeId_example"; // Guid |
+ var id = "id_example"; // string | Specifies the ID of the project you want to export.
+ var includeAttachments = false; // bool? | Enables attachment export. (optional) (default to false)
+ var projectExportQueryModel = new ProjectExportQueryModel(); // ProjectExportQueryModel | (optional)
try
{
- // Delete attribute from project's test plans
- apiInstance.DeleteCustomAttributeTestPlanProjectRelations(id, attributeId);
+ // Export project as JSON file
+ FileParameter result = apiInstance.Export(id, includeAttachments, projectExportQueryModel);
+ Debug.WriteLine(result);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.DeleteCustomAttributeTestPlanProjectRelations: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.Export: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -2222,18 +3328,21 @@ namespace Example
}
```
-#### Using the DeleteCustomAttributeTestPlanProjectRelationsWithHttpInfo variant
+#### Using the ExportWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
```csharp
try
{
- // Delete attribute from project's test plans
- apiInstance.DeleteCustomAttributeTestPlanProjectRelationsWithHttpInfo(id, attributeId);
+ // Export project as JSON file
+ ApiResponse response = apiInstance.ExportWithHttpInfo(id, includeAttachments, projectExportQueryModel);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.DeleteCustomAttributeTestPlanProjectRelationsWithHttpInfo: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.ExportWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -2243,12 +3352,13 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **id** | **string** | Project internal (UUID) or global (integer) identifier | |
-| **attributeId** | **Guid** | | |
+| **id** | **string** | Specifies the ID of the project you want to export. | |
+| **includeAttachments** | **bool?** | Enables attachment export. | [optional] [default to false] |
+| **projectExportQueryModel** | [**ProjectExportQueryModel**](ProjectExportQueryModel.md) | | [optional] |
### Return type
-void (empty response body)
+[**FileParameter**](FileParameter.md)
### Authorization
@@ -2256,25 +3366,25 @@ void (empty response body)
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **404** | Not Found | - |
+| **200** | Success | - |
| **403** | Update permission for project settings is required | - |
-| **204** | Success | - |
+| **400** | Root section was not found | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **DeleteProject**
-> void DeleteProject (string id)
-
-Delete project
+
+# **ExportProjectJson**
+> Guid ExportProjectJson (string id, long? timeZoneOffsetInMinutes = null, ProjectExportQueryModel projectExportQueryModel = null)
-
Use case:
1. User sets project internal or global identifier and runs method execution
2. System searches and moves requested project to archive
3. System responds with no content (204) result
+Export project as JSON file in background job
### Example
```csharp
@@ -2287,7 +3397,7 @@ using TestIt.Client.Model;
namespace Example
{
- public class DeleteProjectExample
+ public class ExportProjectJsonExample
{
public static void Main()
{
@@ -2303,15 +3413,18 @@ namespace Example
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
var id = "id_example"; // string | Project internal (UUID) or global (integer) identifier
+ var timeZoneOffsetInMinutes = 789L; // long? | (optional)
+ var projectExportQueryModel = new ProjectExportQueryModel(); // ProjectExportQueryModel | (optional)
try
{
- // Delete project
- apiInstance.DeleteProject(id);
+ // Export project as JSON file in background job
+ Guid result = apiInstance.ExportProjectJson(id, timeZoneOffsetInMinutes, projectExportQueryModel);
+ Debug.WriteLine(result);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.DeleteProject: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.ExportProjectJson: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -2320,18 +3433,21 @@ namespace Example
}
```
-#### Using the DeleteProjectWithHttpInfo variant
+#### Using the ExportProjectJsonWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
```csharp
try
{
- // Delete project
- apiInstance.DeleteProjectWithHttpInfo(id);
+ // Export project as JSON file in background job
+ ApiResponse response = apiInstance.ExportProjectJsonWithHttpInfo(id, timeZoneOffsetInMinutes, projectExportQueryModel);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.DeleteProjectWithHttpInfo: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.ExportProjectJsonWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -2342,10 +3458,12 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **id** | **string** | Project internal (UUID) or global (integer) identifier | |
+| **timeZoneOffsetInMinutes** | **long?** | | [optional] |
+| **projectExportQueryModel** | [**ProjectExportQueryModel**](ProjectExportQueryModel.md) | | [optional] |
### Return type
-void (empty response body)
+**Guid**
### Authorization
@@ -2353,26 +3471,23 @@ void (empty response body)
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | Success | - |
-| **404** | Project with provided ID does not exists | - |
-| **403** | Delete permission for projects is required | - |
+| **403** | Update permission for project settings is required | - |
+| **200** | Success | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **DeleteProjectAutoTests**
-> void DeleteProjectAutoTests (string id)
-
-Delete project
+
+# **ExportProjectWithTestPlansJson**
+> Guid ExportProjectWithTestPlansJson (string id, long? timeZoneOffsetInMinutes = null, ProjectExportWithTestPlansPostModel projectExportWithTestPlansPostModel = null)
-
Use case
User sets project internal or global identifier
User runs method execution
System delete all autotests from project
System returns no content response
+Export project as JSON file with test plans in background job
### Example
```csharp
@@ -2385,7 +3500,7 @@ using TestIt.Client.Model;
namespace Example
{
- public class DeleteProjectAutoTestsExample
+ public class ExportProjectWithTestPlansJsonExample
{
public static void Main()
{
@@ -2401,15 +3516,18 @@ namespace Example
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
var id = "id_example"; // string | Project internal (UUID) or global (integer) identifier
+ var timeZoneOffsetInMinutes = 789L; // long? | (optional)
+ var projectExportWithTestPlansPostModel = new ProjectExportWithTestPlansPostModel(); // ProjectExportWithTestPlansPostModel | (optional)
try
{
- // Delete project
- apiInstance.DeleteProjectAutoTests(id);
+ // Export project as JSON file with test plans in background job
+ Guid result = apiInstance.ExportProjectWithTestPlansJson(id, timeZoneOffsetInMinutes, projectExportWithTestPlansPostModel);
+ Debug.WriteLine(result);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.DeleteProjectAutoTests: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.ExportProjectWithTestPlansJson: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -2418,18 +3536,21 @@ namespace Example
}
```
-#### Using the DeleteProjectAutoTestsWithHttpInfo variant
+#### Using the ExportProjectWithTestPlansJsonWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
```csharp
try
{
- // Delete project
- apiInstance.DeleteProjectAutoTestsWithHttpInfo(id);
+ // Export project as JSON file with test plans in background job
+ ApiResponse response = apiInstance.ExportProjectWithTestPlansJsonWithHttpInfo(id, timeZoneOffsetInMinutes, projectExportWithTestPlansPostModel);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.DeleteProjectAutoTestsWithHttpInfo: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.ExportProjectWithTestPlansJsonWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -2440,10 +3561,12 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **id** | **string** | Project internal (UUID) or global (integer) identifier | |
+| **timeZoneOffsetInMinutes** | **long?** | | [optional] |
+| **projectExportWithTestPlansPostModel** | [**ProjectExportWithTestPlansPostModel**](ProjectExportWithTestPlansPostModel.md) | | [optional] |
### Return type
-void (empty response body)
+**Guid**
### Authorization
@@ -2451,26 +3574,23 @@ void (empty response body)
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | Success | - |
-| **403** | Delete permission for AutoTest required | - |
-| **404** | Can't find a Project with identifier | - |
+| **200** | Success | - |
+| **403** | Update permission for project settings is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **DeleteProjectsAttribute**
-> void DeleteProjectsAttribute (string id, Guid attributeId)
-
-Delete project attribute
+
+# **ExportProjectWithTestPlansZip**
+> Guid ExportProjectWithTestPlansZip (string id, long? timeZoneOffsetInMinutes = null, ProjectExportWithTestPlansPostModel projectExportWithTestPlansPostModel = null)
-
Use case
User sets project identifier and runs method execution
User sets attribute identifier
User runs method execution
System search project
System search and delete attribute
System returns no content response
+Export project as Zip file with test plans in background job
### Example
```csharp
@@ -2483,7 +3603,7 @@ using TestIt.Client.Model;
namespace Example
{
- public class DeleteProjectsAttributeExample
+ public class ExportProjectWithTestPlansZipExample
{
public static void Main()
{
@@ -2499,16 +3619,18 @@ namespace Example
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
var id = "id_example"; // string | Project internal (UUID) or global (integer) identifier
- var attributeId = "attributeId_example"; // Guid | Project attribute internal (UUID)
+ var timeZoneOffsetInMinutes = 789L; // long? | (optional)
+ var projectExportWithTestPlansPostModel = new ProjectExportWithTestPlansPostModel(); // ProjectExportWithTestPlansPostModel | (optional)
try
{
- // Delete project attribute
- apiInstance.DeleteProjectsAttribute(id, attributeId);
+ // Export project as Zip file with test plans in background job
+ Guid result = apiInstance.ExportProjectWithTestPlansZip(id, timeZoneOffsetInMinutes, projectExportWithTestPlansPostModel);
+ Debug.WriteLine(result);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.DeleteProjectsAttribute: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.ExportProjectWithTestPlansZip: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -2517,18 +3639,21 @@ namespace Example
}
```
-#### Using the DeleteProjectsAttributeWithHttpInfo variant
+#### Using the ExportProjectWithTestPlansZipWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
```csharp
try
{
- // Delete project attribute
- apiInstance.DeleteProjectsAttributeWithHttpInfo(id, attributeId);
+ // Export project as Zip file with test plans in background job
+ ApiResponse response = apiInstance.ExportProjectWithTestPlansZipWithHttpInfo(id, timeZoneOffsetInMinutes, projectExportWithTestPlansPostModel);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.DeleteProjectsAttributeWithHttpInfo: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.ExportProjectWithTestPlansZipWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -2539,11 +3664,12 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **id** | **string** | Project internal (UUID) or global (integer) identifier | |
-| **attributeId** | **Guid** | Project attribute internal (UUID) | |
+| **timeZoneOffsetInMinutes** | **long?** | | [optional] |
+| **projectExportWithTestPlansPostModel** | [**ProjectExportWithTestPlansPostModel**](ProjectExportWithTestPlansPostModel.md) | | [optional] |
### Return type
-void (empty response body)
+**Guid**
### Authorization
@@ -2551,27 +3677,23 @@ void (empty response body)
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | Successful operation | - |
-| **400** | <br>- Project ID is invalid <br>- Project attribute ID is invalid <br>- Attribute is empty | - |
| **403** | Update permission for project settings is required | - |
-| **404** | Project with provided ID was not found | - |
+| **200** | Success | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **Export**
-> FileParameter Export (string id, bool? includeAttachments = null, ProjectExportQueryModel projectExportQueryModel = null)
-
-Export project as JSON file
+
+# **ExportProjectZip**
+> Guid ExportProjectZip (string id, long? timeZoneOffsetInMinutes = null, ProjectExportQueryModel projectExportQueryModel = null)
-
This method exports the selected project or its part (sections, work items) to a `.json` file.
In the request body, you can specify sections and test cases to be exported.
Example of a request to export two sections and two test cases:
curl -X POST \"http://{domain}.com/api/v2/projects/27a32ce6-d972-4ef8-bef5-51be4bf9e468/export\" \\ -H \"accept: application/json\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: application/json-patch+json\" \\ -d \"{\\\"sectionIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"9fa85f64-5717-4562-b3fc-2c963f66a000\\\"],\\\"workItemIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\\"90085f64-5717-4562-b3fc-2c963f66a000\\\"]}\"
In the response, you get:
- A `.zip` file with attachments and a.json file if you enable attachments export.
- A `.json` file with the project if you do not enable attachments export.
+Export project as Zip file in background job
### Example
```csharp
@@ -2584,7 +3706,7 @@ using TestIt.Client.Model;
namespace Example
{
- public class ExportExample
+ public class ExportProjectZipExample
{
public static void Main()
{
@@ -2599,19 +3721,19 @@ namespace Example
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
- var id = "id_example"; // string | Specifies the ID of the project you want to export.
- var includeAttachments = false; // bool? | Enables attachment export. (optional) (default to false)
+ var id = "id_example"; // string | Project internal (UUID) or global (integer) identifier
+ var timeZoneOffsetInMinutes = 789L; // long? | (optional)
var projectExportQueryModel = new ProjectExportQueryModel(); // ProjectExportQueryModel | (optional)
try
{
- // Export project as JSON file
- FileParameter result = apiInstance.Export(id, includeAttachments, projectExportQueryModel);
+ // Export project as Zip file in background job
+ Guid result = apiInstance.ExportProjectZip(id, timeZoneOffsetInMinutes, projectExportQueryModel);
Debug.WriteLine(result);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.Export: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.ExportProjectZip: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -2620,21 +3742,21 @@ namespace Example
}
```
-#### Using the ExportWithHttpInfo variant
+#### Using the ExportProjectZipWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
```csharp
try
{
- // Export project as JSON file
- ApiResponse response = apiInstance.ExportWithHttpInfo(id, includeAttachments, projectExportQueryModel);
+ // Export project as Zip file in background job
+ ApiResponse response = apiInstance.ExportProjectZipWithHttpInfo(id, timeZoneOffsetInMinutes, projectExportQueryModel);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling ProjectsApi.ExportWithHttpInfo: " + e.Message);
+ Debug.Print("Exception when calling ProjectsApi.ExportProjectZipWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -2644,13 +3766,13 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **id** | **string** | Specifies the ID of the project you want to export. | |
-| **includeAttachments** | **bool?** | Enables attachment export. | [optional] [default to false] |
+| **id** | **string** | Project internal (UUID) or global (integer) identifier | |
+| **timeZoneOffsetInMinutes** | **long?** | | [optional] |
| **projectExportQueryModel** | [**ProjectExportQueryModel**](ProjectExportQueryModel.md) | | [optional] |
### Return type
-[**FileParameter**](FileParameter.md)
+**Guid**
### Authorization
@@ -2665,10 +3787,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **404** | Project with provided ID was not found | - |
-| **200** | Success | - |
| **403** | Update permission for project settings is required | - |
-| **400** | Root section was not found | - |
+| **200** | Success | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -2772,9 +3892,9 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **404** | Project with provided ID was not found | - |
| **400** | Root section was not found | - |
| **403** | Update permission for project settings is required | - |
-| **404** | Project with provided ID was not found | - |
| **200** | Success | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -2990,16 +4110,16 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **400** | Bad Request | - |
+| **404** | <br>- Project with provided ID was not found <br>- Project attribute with provided ID was not found | - |
| **403** | Read permission for test library is required | - |
| **200** | Success | - |
-| **404** | <br>- Project with provided ID was not found <br>- Project attribute with provided ID was not found | - |
+| **400** | Bad Request | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **GetAttributesByProjectId**
-> List<CustomAttributeModel> GetAttributesByProjectId (string id, bool? isDeleted = null)
+> List<CustomAttributeModel> GetAttributesByProjectId (string id, DeletionState? isDeleted = null)
Get project attributes
@@ -3032,7 +4152,7 @@ namespace Example
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new ProjectsApi(httpClient, config, httpClientHandler);
var id = "id_example"; // string | Project internal (UUID) or global (integer) identifier
- var isDeleted = false; // bool? | If result must consist of only actual/deleted work items (optional) (default to false)
+ var isDeleted = (DeletionState) "Any"; // DeletionState? | (optional)
try
{
@@ -3076,7 +4196,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **id** | **string** | Project internal (UUID) or global (integer) identifier | |
-| **isDeleted** | **bool?** | If result must consist of only actual/deleted work items | [optional] [default to false] |
+| **isDeleted** | **DeletionState?** | | [optional] |
### Return type
@@ -3095,10 +4215,10 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **403** | Read permission for test library is required | - |
+| **404** | Project with provided ID was not found | - |
| **400** | Bad Request | - |
| **200** | Success | - |
-| **404** | Project with provided ID was not found | - |
-| **403** | Read permission for test library is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -3198,9 +4318,9 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **404** | Project with provided ID was not found | - |
-| **403** | Read permission for test library is required | - |
| **200** | Success | - |
+| **403** | Read permission for test library is required | - |
+| **404** | Project with provided ID was not found | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -3300,10 +4420,10 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **403** | Read permission for configurations required | - |
+| **200** | Success | - |
| **404** | Project with provided ID was not found | - |
| **400** | Bad Request | - |
-| **200** | Success | - |
+| **403** | Read permission for configurations required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -3403,8 +4523,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Success | - |
| **403** | Read permission for project settings is required | - |
+| **200** | Success | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -3504,10 +4624,10 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **400** | ID is invalid | - |
+| **403** | Read permission for projects is required | - |
| **404** | Project with provided ID was not found | - |
| **200** | Success | - |
-| **403** | Read permission for projects is required | - |
+| **400** | ID is invalid | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -3618,9 +4738,9 @@ catch (ApiException e)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
+| **400** | Bad Request | - |
| **403** | Read permission for test library is required | - |
| **404** | Project with provided ID was not found | - |
-| **400** | Bad Request | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -3722,9 +4842,9 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **404** | Project with provided ID was not found | - |
-| **200** | Success | - |
| **403** | Read permission for test library is required | - |
+| **200** | Success | - |
+| **404** | Project with provided ID was not found | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -3848,9 +4968,9 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
| **404** | Project with provided ID was not found | - |
| **403** | Read permission for test result is required | - |
+| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -3967,9 +5087,9 @@ catch (ApiException e)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
-| **404** | Project with provided ID was not found | - |
| **400** | <br>- `orderBy` statement must have one `.` and no `,` characters <br>- `orderBy` statement has invalid length <br>- `orderBy` statement must have UUID as attribute key <br>- Search field was not found | - |
| **403** | Read permission for test library is required | - |
+| **404** | Project with provided ID was not found | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -3979,7 +5099,7 @@ catch (ApiException e)
Import project from JSON file
-
A project can only be exported to another TMS instance, different from the one it was imported from.
This method imports a `.json` file with a project to the test management system.
In the body of the request, send the `.json` file received by the `POST /api/v2/projects/export` method:
curl -X POST \"http://{domain.com}/api/v2/projects/import\" \\ -H \"accept: /\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: multipart/form-data\" \\ -F \"file=@import.txt;type=text/plain\"
In the second instance, a project with the name of the imported one is created. User attributes and the test library (along with content and structure) are imported.
Test plan execution history from the first instance of TMS cannot be transferred.
+
A project can only be exported to another TMS instance, different from the one it was imported from.
This method imports a `.json` file with a project to the test management system.
In the body of the request, send the `.json` file received by the `POST /api/v2/projects/export` method:
``` curl -X POST \"http://{domain.com}/api/v2/projects/import\" \\ -H \"accept: /\" -H \"Authorization: PrivateToken {token}\" -H \"Content-Type: multipart/form-data\" \\ -F \"file=@import.txt;type=text/plain\" ```
In the second instance, a project with the name of the imported one is created. User attributes and the test library (along with content and structure) are imported.
Test plan execution history from the first instance of TMS cannot be transferred.
### Example
```csharp
@@ -4067,11 +5187,11 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **400** | Bad Request | - |
-| **204** | Success | - |
-| **409** | Entity with the same ID was already imported in other project | - |
+| **204** | No Content | - |
| **403** | Project creator or admin system role is required | - |
| **413** | Multipart body length limit exceeded | - |
+| **400** | Bad Request | - |
+| **409** | Entity with the same ID was already imported in other project | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -4172,9 +5292,9 @@ void (empty response body)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **413** | Multipart body length limit exceeded | - |
-| **409** | Entity with same id already imported in other project | - |
-| **204** | Success | - |
+| **204** | No Content | - |
| **403** | Update permission for project settings required | - |
+| **409** | Entity with same id already imported in other project | - |
| **404** | File not found | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -4271,7 +5391,7 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | Success | - |
+| **204** | No Content | - |
| **403** | Update permission for projects is required | - |
| **404** | Project with provided ID was not found | - |
@@ -4494,8 +5614,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **403** | Read permission for project is required | - |
| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
+| **403** | Read permission for project is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -4593,7 +5713,7 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | Success | - |
+| **204** | No Content | - |
| **403** | Update permission for project settings is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -4690,11 +5810,11 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **403** | Update permission for projects is required | - |
-| **204** | Success | - |
+| **204** | No Content | - |
| **400** | <br>- ID is invalid <br>- Field is required | - |
-| **409** | Project with the same name already exists | - |
+| **403** | Update permission for projects is required | - |
| **404** | Project with provided ID was not found | - |
+| **409** | Project with the same name already exists | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -4790,7 +5910,7 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | Success | - |
+| **204** | No Content | - |
| **403** | Update permission for project settings is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
diff --git a/docs/README.MD b/docs/README.MD
index e8237efe..fd374738 100644
--- a/docs/README.MD
+++ b/docs/README.MD
@@ -1,5 +1,7 @@
+
## Documentation for Models
+ - [Model.ApiV2AttachmentsPostRequest](ApiV2AttachmentsPostRequest.md)
- [Model.AttachmentChangeViewModel](AttachmentChangeViewModel.md)
- [Model.AttachmentChangeViewModelArrayWorkItemChangedFieldViewModel](AttachmentChangeViewModelArrayWorkItemChangedFieldViewModel.md)
- [Model.AttachmentModel](AttachmentModel.md)
@@ -28,6 +30,10 @@
- [Model.AutotestsExtractionModel](AutotestsExtractionModel.md)
- [Model.AutotestsSelectModel](AutotestsSelectModel.md)
- [Model.AvailableTestResultOutcome](AvailableTestResultOutcome.md)
+ - [Model.BackgroundJobAttachmentModel](BackgroundJobAttachmentModel.md)
+ - [Model.BackgroundJobModel](BackgroundJobModel.md)
+ - [Model.BackgroundJobState](BackgroundJobState.md)
+ - [Model.BackgroundJobType](BackgroundJobType.md)
- [Model.BooleanNullableTestPlanChangedFieldViewModel](BooleanNullableTestPlanChangedFieldViewModel.md)
- [Model.BooleanTestPlanChangedFieldViewModel](BooleanTestPlanChangedFieldViewModel.md)
- [Model.BooleanWorkItemChangedFieldViewModel](BooleanWorkItemChangedFieldViewModel.md)
@@ -50,8 +56,8 @@
- [Model.CustomAttributeTemplateSearchQueryModel](CustomAttributeTemplateSearchQueryModel.md)
- [Model.CustomAttributeTestPlanProjectRelationPutModel](CustomAttributeTestPlanProjectRelationPutModel.md)
- [Model.CustomAttributeTypesEnum](CustomAttributeTypesEnum.md)
- - [Model.DateRangeModel](DateRangeModel.md)
- [Model.DateTimeRangeSelectorModel](DateTimeRangeSelectorModel.md)
+ - [Model.DeletionState](DeletionState.md)
- [Model.ExternalLinkModel](ExternalLinkModel.md)
- [Model.FailureCategoryModel](FailureCategoryModel.md)
- [Model.FailureClassModel](FailureClassModel.md)
@@ -82,6 +88,8 @@
- [Model.NotificationModel](NotificationModel.md)
- [Model.NotificationQueryFilterModel](NotificationQueryFilterModel.md)
- [Model.NotificationTypeModel](NotificationTypeModel.md)
+ - [Model.Operation](Operation.md)
+ - [Model.ParameterFilterModel](ParameterFilterModel.md)
- [Model.ParameterGroupModel](ParameterGroupModel.md)
- [Model.ParameterIterationModel](ParameterIterationModel.md)
- [Model.ParameterModel](ParameterModel.md)
@@ -100,6 +108,7 @@
- [Model.ProjectPostModel](ProjectPostModel.md)
- [Model.ProjectPutModel](ProjectPutModel.md)
- [Model.ProjectShortestModel](ProjectShortestModel.md)
+ - [Model.ProjectTestPlansFilterModel](ProjectTestPlansFilterModel.md)
- [Model.ProjectsFilterModel](ProjectsFilterModel.md)
- [Model.PublicTestPointModel](PublicTestPointModel.md)
- [Model.PublicTestRunModel](PublicTestRunModel.md)
@@ -140,7 +149,6 @@
- [Model.TestPlanModel](TestPlanModel.md)
- [Model.TestPlanPostModel](TestPlanPostModel.md)
- [Model.TestPlanPutModel](TestPlanPutModel.md)
- - [Model.TestPlanSearchQueryModel](TestPlanSearchQueryModel.md)
- [Model.TestPlanShortModel](TestPlanShortModel.md)
- [Model.TestPlanStatusModel](TestPlanStatusModel.md)
- [Model.TestPlanWithAnalyticModel](TestPlanWithAnalyticModel.md)
@@ -152,11 +160,13 @@
- [Model.TestPointFilterModel](TestPointFilterModel.md)
- [Model.TestPointPutModel](TestPointPutModel.md)
- [Model.TestPointResultModel](TestPointResultModel.md)
+ - [Model.TestPointSelectModel](TestPointSelectModel.md)
- [Model.TestPointSelector](TestPointSelector.md)
- [Model.TestPointShortGetModel](TestPointShortGetModel.md)
- [Model.TestPointShortModel](TestPointShortModel.md)
- [Model.TestPointStatus](TestPointStatus.md)
- [Model.TestPointWithLastResultModel](TestPointWithLastResultModel.md)
+ - [Model.TestPointsExtractionModel](TestPointsExtractionModel.md)
- [Model.TestResultChangeViewModel](TestResultChangeViewModel.md)
- [Model.TestResultChangeViewModelTestPlanChangedFieldViewModel](TestResultChangeViewModelTestPlanChangedFieldViewModel.md)
- [Model.TestResultChronologyModel](TestResultChronologyModel.md)
@@ -193,6 +203,7 @@
- [Model.TestRunV2PutModel](TestRunV2PutModel.md)
- [Model.TestSuiteChangeViewModel](TestSuiteChangeViewModel.md)
- [Model.TestSuiteChangeViewModelTestPlanChangedFieldViewModel](TestSuiteChangeViewModelTestPlanChangedFieldViewModel.md)
+ - [Model.TestSuiteType](TestSuiteType.md)
- [Model.TestSuiteV2GetModel](TestSuiteV2GetModel.md)
- [Model.TestSuiteV2PostModel](TestSuiteV2PostModel.md)
- [Model.TestSuiteV2PutModel](TestSuiteV2PutModel.md)
@@ -233,4 +244,4 @@
- [Model.WorkItemStepChangeViewModel](WorkItemStepChangeViewModel.md)
- [Model.WorkItemStepChangeViewModelArrayWorkItemChangedFieldViewModel](WorkItemStepChangeViewModelArrayWorkItemChangedFieldViewModel.md)
- [Model.WorkItemVersionModel](WorkItemVersionModel.md)
- - [Model.WorkItemsExtractionModel](WorkItemsExtractionModel.md)
\ No newline at end of file
+ - [Model.WorkItemsExtractionModel](WorkItemsExtractionModel.md)
diff --git a/docs/SectionsApi.md b/docs/SectionsApi.md
index de17ca28..d5c856b8 100644
--- a/docs/SectionsApi.md
+++ b/docs/SectionsApi.md
@@ -4,6 +4,7 @@ All URIs are relative to *http://localhost*
| Method | HTTP request | Description |
|--------|--------------|-------------|
+| [**ApiV2SectionsIdPatch**](SectionsApi.md#apiv2sectionsidpatch) | **PATCH** /api/v2/sections/{id} | Patch section |
| [**CreateSection**](SectionsApi.md#createsection) | **POST** /api/v2/sections | Create section |
| [**DeleteSection**](SectionsApi.md#deletesection) | **DELETE** /api/v2/sections/{id} | Delete section |
| [**GetSectionById**](SectionsApi.md#getsectionbyid) | **GET** /api/v2/sections/{id} | Get section |
@@ -12,6 +13,105 @@ All URIs are relative to *http://localhost*
| [**Rename**](SectionsApi.md#rename) | **POST** /api/v2/sections/rename | Rename section |
| [**UpdateSection**](SectionsApi.md#updatesection) | **PUT** /api/v2/sections | Update section |
+
+# **ApiV2SectionsIdPatch**
+> void ApiV2SectionsIdPatch (Guid id, List operation = null)
+
+Patch section
+
+See RFC 6902: JavaScript Object Notation (JSON) Patch for details
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using TestIt.Client.Api;
+using TestIt.Client.Client;
+using TestIt.Client.Model;
+
+namespace Example
+{
+ public class ApiV2SectionsIdPatchExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: Bearer or PrivateToken
+ config.AddApiKey("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new SectionsApi(httpClient, config, httpClientHandler);
+ var id = "id_example"; // Guid | Section internal (UUID) identifier
+ var operation = new List(); // List | (optional)
+
+ try
+ {
+ // Patch section
+ apiInstance.ApiV2SectionsIdPatch(id, operation);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling SectionsApi.ApiV2SectionsIdPatch: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the ApiV2SectionsIdPatchWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Patch section
+ apiInstance.ApiV2SectionsIdPatchWithHttpInfo(id, operation);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling SectionsApi.ApiV2SectionsIdPatchWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **id** | **Guid** | Section internal (UUID) identifier | |
+| **operation** | [**List<Operation>**](Operation.md) | | [optional] |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **403** | Update permission for section is required | - |
+| **204** | No Content | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
# **CreateSection**
> SectionWithStepsModel CreateSection (SectionPostModel sectionPostModel = null)
@@ -108,10 +208,10 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **201** | Created | - |
+| **401** | Unauthorized | - |
| **400** | Cannot create section without parent ID | - |
-| **201** | Success | - |
| **403** | Update permission for test library is required | - |
-| **401** | Unauthorized | - |
| **404** | Parent section with provided ID was not found | - |
| **409** | Section with the same name already exists in the parent section | - |
@@ -209,11 +309,11 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | Success | - |
-| **400** | Bad Request | - |
| **409** | Conflict | - |
| **401** | Unauthorized | - |
| **403** | Delete permission for test library is required | - |
+| **204** | No Content | - |
+| **400** | Bad Request | - |
| **404** | Section with provided ID was not found | - |
| **422** | Cannot delete root section | - |
@@ -221,7 +321,7 @@ void (empty response body)
# **GetSectionById**
-> SectionWithStepsModel GetSectionById (Guid id, bool? isDeleted = null)
+> SectionWithStepsModel GetSectionById (Guid id, DeletionState? isDeleted = null)
Get section
@@ -254,7 +354,7 @@ namespace Example
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new SectionsApi(httpClient, config, httpClientHandler);
var id = "id_example"; // Guid | Section internal (UUID) identifier
- var isDeleted = false; // bool? | Requested section is deleted (optional) (default to false)
+ var isDeleted = (DeletionState) "Any"; // DeletionState? | (optional)
try
{
@@ -298,7 +398,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **id** | **Guid** | Section internal (UUID) identifier | |
-| **isDeleted** | **bool?** | Requested section is deleted | [optional] [default to false] |
+| **isDeleted** | **DeletionState?** | | [optional] |
### Return type
@@ -317,11 +417,11 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **401** | Unauthorized | - |
| **400** | Bad Request | - |
+| **404** | Section with provided ID was not found | - |
| **200** | Success | - |
-| **401** | Unauthorized | - |
| **403** | Read permission for test library is required | - |
-| **404** | Section with provided ID was not found | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -437,11 +537,11 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
+| **403** | Read permission for test library is required | - |
| **404** | Section with provided ID was not found | - |
-| **400** | <br>- `orderBy` statement must have one `.` and no `,` symbols <br>- `orderBy` statement has invalid length <br>- `orderBy` statement must have UUID as attribute key <br>- Search field was not found | - |
+| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
| **401** | Unauthorized | - |
-| **403** | Read permission for test library is required | - |
+| **400** | <br>- `orderBy` statement must have one `.` and no `,` symbols <br>- `orderBy` statement has invalid length <br>- `orderBy` statement must have UUID as attribute key <br>- Search field was not found | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -535,8 +635,8 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **204** | No Content | - |
| **403** | Update permission for test library is required | - |
-| **204** | Success | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -633,10 +733,10 @@ void (empty response body)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **403** | Update permission for test library is required | - |
+| **204** | No Content | - |
+| **409** | Section with the same name already exists in the parent section | - |
| **401** | Unauthorized | - |
| **404** | Section with provided ID was not found | - |
-| **409** | Section with the same name already exists in the parent section | - |
-| **204** | Success | - |
| **422** | Root section cannot be renamed | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -733,12 +833,12 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **400** | <br>- ID is invalid <br>- Root section cannot be create | - |
+| **204** | No Content | - |
| **409** | Section with the same name already exists in the parent section | - |
+| **400** | <br>- ID is invalid <br>- Root section cannot be create | - |
+| **403** | Update permission for test library is required | - |
| **422** | <br>- Root section cannot be edited <br>- Parent ID cannot be changed <br>- Project ID cannot be changed | - |
-| **204** | Success | - |
| **401** | Unauthorized | - |
-| **403** | Update permission for test library is required | - |
| **404** | <br>- Section cannot be found <br>- Parent section cannot be found <br>- Project cannot be found | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
diff --git a/docs/SharedStepReferenceModel.md b/docs/SharedStepReferenceModel.md
index 14f7c079..6c2d01a5 100644
--- a/docs/SharedStepReferenceModel.md
+++ b/docs/SharedStepReferenceModel.md
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
**CreatedDate** | **DateTime?** | | [optional]
**ModifiedDate** | **DateTime?** | | [optional]
**State** | **string** | | [optional]
-**Priority** | **WorkItemPriorityModel** | | [optional]
+**Priority** | **WorkItemPriorityModel** | |
**IsDeleted** | **bool** | | [optional]
**VersionId** | **Guid** | used for versioning changes in workitem | [optional]
**IsAutomated** | **bool** | | [optional]
diff --git a/docs/StepResultModel.md b/docs/StepResultModel.md
index e7ee42bb..3424e9f7 100644
--- a/docs/StepResultModel.md
+++ b/docs/StepResultModel.md
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
**Outcome** | **string** | | [optional]
**SharedStepVersionId** | **Guid?** | | [optional]
**SharedStepResults** | [**List<SharedStepResultModel>**](SharedStepResultModel.md) | | [optional]
+**Comment** | [**StepCommentModel**](StepCommentModel.md) | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/TagsApi.md b/docs/TagsApi.md
index 4cae1e7d..2ffcc4a1 100644
--- a/docs/TagsApi.md
+++ b/docs/TagsApi.md
@@ -207,8 +207,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Successful operation | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
| **401** | Unauthorized | - |
+| **200** | Successful operation | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
| **400** | <br>orderByStatement must have one '.' and no ',' symbols <br>orderByStatement has invalid length <br>orderByStatement must have uuid as attribute key <br>Search field not found | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
diff --git a/docs/TestPlanModel.md b/docs/TestPlanModel.md
index 7a195e43..6c7b21e0 100644
--- a/docs/TestPlanModel.md
+++ b/docs/TestPlanModel.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Status** | **TestPlanStatusModel** | | [optional]
+**Status** | **TestPlanStatusModel** | |
**StartedOn** | **DateTime?** | Set when test plan is starter (status changed to: In Progress) | [optional]
**CompletedOn** | **DateTime?** | set when test plan status is completed (status changed to: Completed) | [optional]
**CreatedDate** | **DateTime?** | | [optional]
diff --git a/docs/TestPlanWithAnalyticModel.md b/docs/TestPlanWithAnalyticModel.md
index a06b6632..93468e46 100644
--- a/docs/TestPlanWithAnalyticModel.md
+++ b/docs/TestPlanWithAnalyticModel.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Analytic** | [**TestPointAnalyticResult**](TestPointAnalyticResult.md) | | [optional]
-**Status** | **TestPlanStatusModel** | | [optional]
+**Status** | **TestPlanStatusModel** | |
**StartedOn** | **DateTime?** | Set when test plan is starter (status changed to: In Progress) | [optional]
**CompletedOn** | **DateTime?** | set when test plan status is completed (status changed to: Completed) | [optional]
**CreatedDate** | **DateTime?** | | [optional]
diff --git a/docs/TestPlanWithTestSuiteTreeModel.md b/docs/TestPlanWithTestSuiteTreeModel.md
index c73c3525..4bf905a2 100644
--- a/docs/TestPlanWithTestSuiteTreeModel.md
+++ b/docs/TestPlanWithTestSuiteTreeModel.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**TestSuites** | [**List<TestSuiteWithChildrenModel>**](TestSuiteWithChildrenModel.md) | | [optional]
-**Status** | **TestPlanStatusModel** | | [optional]
+**Status** | **TestPlanStatusModel** | |
**StartedOn** | **DateTime?** | Set when test plan is starter (status changed to: In Progress) | [optional]
**CompletedOn** | **DateTime?** | set when test plan status is completed (status changed to: Completed) | [optional]
**CreatedDate** | **DateTime?** | | [optional]
diff --git a/docs/TestPlansApi.md b/docs/TestPlansApi.md
index 7df1c920..3ea9e559 100644
--- a/docs/TestPlansApi.md
+++ b/docs/TestPlansApi.md
@@ -13,8 +13,11 @@ All URIs are relative to *http://localhost*
| [**ApiV2TestPlansIdExportTestResultHistoryXlsxPost**](TestPlansApi.md#apiv2testplansidexporttestresulthistoryxlsxpost) | **POST** /api/v2/testPlans/{id}/export/testResultHistory/xlsx | Export TestResults history from TestPlan in xls format |
| [**ApiV2TestPlansIdHistoryGet**](TestPlansApi.md#apiv2testplansidhistoryget) | **GET** /api/v2/testPlans/{id}/history | Get TestPlan history |
| [**ApiV2TestPlansIdLinksGet**](TestPlansApi.md#apiv2testplansidlinksget) | **GET** /api/v2/testPlans/{id}/links | Get Links of TestPlan |
+| [**ApiV2TestPlansIdPatch**](TestPlansApi.md#apiv2testplansidpatch) | **PATCH** /api/v2/testPlans/{id} | Patch test plan |
| [**ApiV2TestPlansIdTestPointsLastResultsGet**](TestPlansApi.md#apiv2testplansidtestpointslastresultsget) | **GET** /api/v2/testPlans/{id}/testPoints/lastResults | Get TestPoints with last result from TestPlan |
| [**ApiV2TestPlansIdTestPointsResetPost**](TestPlansApi.md#apiv2testplansidtestpointsresetpost) | **POST** /api/v2/testPlans/{id}/testPoints/reset | Reset TestPoints status of TestPlan |
+| [**ApiV2TestPlansIdTestPointsTesterDelete**](TestPlansApi.md#apiv2testplansidtestpointstesterdelete) | **DELETE** /api/v2/testPlans/{id}/testPoints/tester | Unassign users from multiple test points |
+| [**ApiV2TestPlansIdTestPointsTesterUserIdPost**](TestPlansApi.md#apiv2testplansidtestpointstesteruseridpost) | **POST** /api/v2/testPlans/{id}/testPoints/tester/{userId} | Assign user as a tester to multiple test points |
| [**ApiV2TestPlansIdTestRunsGet**](TestPlansApi.md#apiv2testplansidtestrunsget) | **GET** /api/v2/testPlans/{id}/testRuns | Get TestRuns of TestPlan |
| [**ApiV2TestPlansIdTestRunsSearchPost**](TestPlansApi.md#apiv2testplansidtestrunssearchpost) | **POST** /api/v2/testPlans/{id}/testRuns/search | Search TestRuns of TestPlan |
| [**ApiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGet**](TestPlansApi.md#apiv2testplansidtestrunstestresultslastmodifiedmodifieddateget) | **GET** /api/v2/testPlans/{id}/testRuns/testResults/lastModified/modifiedDate | Get last modification date of test plan's test results |
@@ -123,11 +126,11 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **422** | Shared steps cannot be added to test suite | - |
| **204** | Successful operation | - |
-| **401** | Unauthorized | - |
| **404** | Test suite with provided ID was not found | - |
+| **422** | Shared steps cannot be added to test suite | - |
| **403** | Update permission for test plan is required | - |
+| **401** | Unauthorized | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -225,12 +228,12 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **400** | <br>TestPlan is locked <br>Some of configurations do not exist in the project, or they are not active | - |
-| **422** | Can't put a SharedStep in the TestSuite | - |
+| **404** | <br>Can't find a TestPlan with id <br>Some of workItems do not exist | - |
| **204** | Successful operation | - |
+| **422** | Can't put a SharedStep in the TestSuite | - |
+| **400** | <br>TestPlan is locked <br>Some of configurations do not exist in the project, or they are not active | - |
| **401** | Unauthorized | - |
| **403** | Update permission for TestPlan required | - |
-| **404** | <br>Can't find a TestPlan with id <br>Some of workItems do not exist | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -331,8 +334,8 @@ catch (ApiException e)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **404** | Can't find a Project with id | - |
-| **400** | Bad Request | - |
| **200** | Successful operation | - |
+| **400** | Bad Request | - |
| **401** | Unauthorized | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -433,8 +436,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **403** | Update permission for test plan is required | - |
| **200** | Success | - |
+| **403** | Update permission for test plan is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -535,10 +538,10 @@ catch (ApiException e)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Successful operation | - |
+| **403** | Read permission for test plan required | - |
+| **404** | TestPlan not found | - |
| **400** | Bad Request | - |
| **401** | Unauthorized | - |
-| **404** | TestPlan not found | - |
-| **403** | Read permission for test plan required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -642,11 +645,11 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Successful operation | - |
-| **400** | Bad Request | - |
| **401** | Unauthorized | - |
+| **400** | Bad Request | - |
| **403** | Read permission for test plan required | - |
| **404** | TestPlan not found | - |
+| **200** | Successful operation | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -754,11 +757,11 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **404** | TestPlan not found | - |
| **200** | Successful operation | - |
| **400** | Bad Request | - |
| **401** | Unauthorized | - |
| **403** | Read permission for test plan required | - |
-| **404** | TestPlan not found | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -868,11 +871,11 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **404** | TestPlan not found | - |
| **401** | Unauthorized | - |
-| **400** | Bad Request | - |
-| **200** | Successful operation | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
| **403** | Read permission for test plan required | - |
-| **404** | TestPlan not found | - |
+| **200** | Successful operation | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
+| **400** | Bad Request | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -979,8 +982,107 @@ catch (ApiException e)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Successful operation | - |
-| **403** | Read permission for test plan is required | - |
| **401** | Unauthorized | - |
+| **403** | Read permission for test plan is required | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **ApiV2TestPlansIdPatch**
+> void ApiV2TestPlansIdPatch (Guid id, List operation = null)
+
+Patch test plan
+
+See RFC 6902: JavaScript Object Notation (JSON) Patch for details
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using TestIt.Client.Api;
+using TestIt.Client.Client;
+using TestIt.Client.Model;
+
+namespace Example
+{
+ public class ApiV2TestPlansIdPatchExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: Bearer or PrivateToken
+ config.AddApiKey("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new TestPlansApi(httpClient, config, httpClientHandler);
+ var id = "id_example"; // Guid | Unique ID of the test plan
+ var operation = new List(); // List | (optional)
+
+ try
+ {
+ // Patch test plan
+ apiInstance.ApiV2TestPlansIdPatch(id, operation);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling TestPlansApi.ApiV2TestPlansIdPatch: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the ApiV2TestPlansIdPatchWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Patch test plan
+ apiInstance.ApiV2TestPlansIdPatchWithHttpInfo(id, operation);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling TestPlansApi.ApiV2TestPlansIdPatchWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **id** | **Guid** | Unique ID of the test plan | |
+| **operation** | [**List<Operation>**](Operation.md) | | [optional] |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **204** | No Content | - |
+| **403** | Update permission for test plan is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1092,11 +1194,11 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **401** | Unauthorized | - |
-| **400** | Bad Request | - |
+| **404** | TestPlan not found | - |
| **403** | Read permission for test plan required | - |
| **200** | Successful operation | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
-| **404** | TestPlan not found | - |
+| **400** | Bad Request | - |
+| **401** | Unauthorized | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1201,6 +1303,210 @@ void (empty response body)
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+# **ApiV2TestPlansIdTestPointsTesterDelete**
+> List<Guid> ApiV2TestPlansIdTestPointsTesterDelete (string id, TestPointSelectModel testPointSelectModel = null)
+
+Unassign users from multiple test points
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using TestIt.Client.Api;
+using TestIt.Client.Client;
+using TestIt.Client.Model;
+
+namespace Example
+{
+ public class ApiV2TestPlansIdTestPointsTesterDeleteExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: Bearer or PrivateToken
+ config.AddApiKey("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new TestPlansApi(httpClient, config, httpClientHandler);
+ var id = "id_example"; // string | Unique or global ID of the test plan
+ var testPointSelectModel = new TestPointSelectModel(); // TestPointSelectModel | (optional)
+
+ try
+ {
+ // Unassign users from multiple test points
+ List result = apiInstance.ApiV2TestPlansIdTestPointsTesterDelete(id, testPointSelectModel);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling TestPlansApi.ApiV2TestPlansIdTestPointsTesterDelete: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the ApiV2TestPlansIdTestPointsTesterDeleteWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Unassign users from multiple test points
+ ApiResponse> response = apiInstance.ApiV2TestPlansIdTestPointsTesterDeleteWithHttpInfo(id, testPointSelectModel);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling TestPlansApi.ApiV2TestPlansIdTestPointsTesterDeleteWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **id** | **string** | Unique or global ID of the test plan | |
+| **testPointSelectModel** | [**TestPointSelectModel**](TestPointSelectModel.md) | | [optional] |
+
+### Return type
+
+**List**
+
+### Authorization
+
+[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Success | - |
+| **403** | Update permission for test plans is required | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **ApiV2TestPlansIdTestPointsTesterUserIdPost**
+> List<Guid> ApiV2TestPlansIdTestPointsTesterUserIdPost (string id, Guid userId, TestPointSelectModel testPointSelectModel = null)
+
+Assign user as a tester to multiple test points
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using TestIt.Client.Api;
+using TestIt.Client.Client;
+using TestIt.Client.Model;
+
+namespace Example
+{
+ public class ApiV2TestPlansIdTestPointsTesterUserIdPostExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: Bearer or PrivateToken
+ config.AddApiKey("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new TestPlansApi(httpClient, config, httpClientHandler);
+ var id = "id_example"; // string | Unique or global ID of the test plan
+ var userId = "userId_example"; // Guid | Unique ID of the user
+ var testPointSelectModel = new TestPointSelectModel(); // TestPointSelectModel | (optional)
+
+ try
+ {
+ // Assign user as a tester to multiple test points
+ List result = apiInstance.ApiV2TestPlansIdTestPointsTesterUserIdPost(id, userId, testPointSelectModel);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling TestPlansApi.ApiV2TestPlansIdTestPointsTesterUserIdPost: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the ApiV2TestPlansIdTestPointsTesterUserIdPostWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Assign user as a tester to multiple test points
+ ApiResponse> response = apiInstance.ApiV2TestPlansIdTestPointsTesterUserIdPostWithHttpInfo(id, userId, testPointSelectModel);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling TestPlansApi.ApiV2TestPlansIdTestPointsTesterUserIdPostWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **id** | **string** | Unique or global ID of the test plan | |
+| **userId** | **Guid** | Unique ID of the user | |
+| **testPointSelectModel** | [**TestPointSelectModel**](TestPointSelectModel.md) | | [optional] |
+
+### Return type
+
+**List**
+
+### Authorization
+
+[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Success | - |
+| **403** | Update permission for test plans is required | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
# **ApiV2TestPlansIdTestRunsGet**
> List<TestRunModel> ApiV2TestPlansIdTestRunsGet (string id, bool? notStarted = null, bool? inProgress = null, bool? stopped = null, bool? completed = null, int? skip = null, int? take = null, string orderBy = null, string searchField = null, string searchValue = null)
@@ -1316,8 +1622,8 @@ catch (ApiException e)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Successful operation | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
-| **403** | Read permission for test plan is required | - |
| **401** | Unauthorized | - |
+| **403** | Read permission for test plan is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1430,8 +1736,8 @@ catch (ApiException e)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **403** | Read permission for test plan is required | - |
-| **401** | Unauthorized | - |
| **200** | Successful operation | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
+| **401** | Unauthorized | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1529,9 +1835,9 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Last modification date exists | - |
-| **204** | Last modification date does not exist | - |
| **403** | Read permission for test plan is required | - |
+| **204** | Last modification date does not exist | - |
+| **200** | Last modification date exists | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1627,11 +1933,11 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **403** | Read permission for test plan required | - |
-| **401** | Unauthorized | - |
-| **404** | TestPlan not found | - |
| **200** | Successful operation | - |
| **400** | Bad Request | - |
+| **401** | Unauthorized | - |
+| **403** | Read permission for test plan required | - |
+| **404** | TestPlan not found | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1734,8 +2040,8 @@ catch (ApiException e)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Successful operation | - |
-| **404** | Project not found | - |
| **403** | Read permission for project required | - |
+| **404** | Project not found | - |
| **401** | Unauthorized | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1937,9 +2243,9 @@ void (empty response body)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **204** | Successful operation | - |
+| **400** | <br>Change status from New to Completed forbidden <br>Change status from Completed to Completed forbidden | - |
| **401** | Unauthorized | - |
| **403** | Update permission for test plan required | - |
-| **400** | <br>Change status from New to Completed forbidden <br>Change status from Completed to Completed forbidden | - |
| **404** | Can't find a TestPlan with id! | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -2040,11 +2346,11 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **403** | Update permission for test plan required | - |
| **201** | Successful operation | - |
+| **400** | <br>Field is required <br>Tags must be no more than 10! | - |
| **401** | Unauthorized | - |
-| **403** | Update permission for test plan required | - |
| **409** | TestPlan with the same name already exists! | - |
-| **400** | <br>Field is required <br>Tags must be no more than 10! | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -2140,10 +2446,10 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **403** | Delete permission for test plan required | - |
-| **404** | Can't find a TestPlan with id! | - |
-| **401** | Unauthorized | - |
| **204** | Successful operation | - |
+| **401** | Unauthorized | - |
+| **404** | Can't find a TestPlan with id! | - |
+| **403** | Delete permission for test plan required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -2243,10 +2549,10 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **401** | Unauthorized | - |
-| **403** | Read permission for test plan required | - |
| **404** | Can't find a Project with id | - |
| **200** | Successful operation | - |
+| **403** | Read permission for test plan required | - |
+| **401** | Unauthorized | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -2346,10 +2652,10 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Successful operation | - |
+| **403** | Read permission for test plan required | - |
| **404** | Can't find a TestRun with id! | - |
+| **200** | Successful operation | - |
| **401** | Unauthorized | - |
-| **403** | Read permission for test plan required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -2445,10 +2751,10 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | Successful operation | - |
| **400** | <br>Change status from New to Paused forbidden <br>Change status from Paused to Paused forbidden <br>Change status from Completed to Paused forbidden | - |
-| **401** | Unauthorized | - |
| **403** | Update permission for test plan required | - |
+| **401** | Unauthorized | - |
+| **204** | Successful operation | - |
| **404** | Can't find a TestPlan with id! | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -2545,8 +2851,8 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **401** | Unauthorized | - |
| **204** | Successful operation | - |
+| **401** | Unauthorized | - |
| **403** | Update permission for test plan required | - |
| **404** | Can't find a TestPlan with id! | - |
@@ -2644,10 +2950,10 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | Successful operation | - |
-| **401** | Unauthorized | - |
| **404** | Can't find a TestPlan with id! | - |
| **403** | Update permission for test plan required | - |
+| **204** | Successful operation | - |
+| **401** | Unauthorized | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -2743,13 +3049,13 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **401** | Unauthorized | - |
-| **409** | TestPlan with the same name already exists! | - |
-| **422** | Can't change ProjectId | - |
| **403** | Update permission for test plan required | - |
-| **404** | Can't find a TestPlan with id! | - |
| **204** | Successful operation | - |
| **400** | <br>Field is required <br>Tags must be no more than 10! <br>StartDate can't be more than EndDate! | - |
+| **401** | Unauthorized | - |
+| **404** | Can't find a TestPlan with id! | - |
+| **409** | TestPlan with the same name already exists! | - |
+| **422** | Can't change ProjectId | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
diff --git a/docs/TestPointFilterModel.md b/docs/TestPointFilterModel.md
index e2f33515..9cbe5270 100644
--- a/docs/TestPointFilterModel.md
+++ b/docs/TestPointFilterModel.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**TestPlanIds** | **List<Guid>** | Specifies a test point test plan IDS to search for | [optional]
**TestSuiteIds** | **List<Guid>** | Specifies a test point test suite IDs to search for | [optional]
**WorkItemGlobalIds** | **List<long>** | Specifies a test point work item global IDs to search for | [optional]
**Statuses** | [**List<TestPointStatus>**](TestPointStatus.md) | Specifies a test point statuses to search for | [optional]
diff --git a/docs/TestPointSelectModel.md b/docs/TestPointSelectModel.md
new file mode 100644
index 00000000..3c1505af
--- /dev/null
+++ b/docs/TestPointSelectModel.md
@@ -0,0 +1,11 @@
+# TestIt.Client.Model.TestPointSelectModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Filter** | [**TestPointFilterModel**](TestPointFilterModel.md) | | [optional]
+**ExtractionModel** | [**TestPointsExtractionModel**](TestPointsExtractionModel.md) | | [optional]
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/docs/TestPointSelector.md b/docs/TestPointSelector.md
index f86e000c..b81a7920 100644
--- a/docs/TestPointSelector.md
+++ b/docs/TestPointSelector.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ConfigurationId** | **Guid** | Specifies the configuration GUIDs, from which test points are created. You can specify several GUIDs. |
-**WorkitemIds** | **List<Guid>** | Specifies the work item GUIDs, from which test points are created. You can specify several GUIDs. |
+**WorkItemIds** | **List<Guid>** | Specifies the work item GUIDs, from which test points are created. You can specify several GUIDs. |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/TestPointShortGetModel.md b/docs/TestPointShortGetModel.md
index 53b0ddc9..e610853f 100644
--- a/docs/TestPointShortGetModel.md
+++ b/docs/TestPointShortGetModel.md
@@ -15,17 +15,19 @@ Name | Type | Description | Notes
**Tags** | **List<string>** | Collection of the test point tags | [optional]
**Links** | **List<string>** | Collection of the test point links | [optional]
**TestSuiteId** | **Guid** | Unique ID of test suite the test point assigned to | [optional]
+**WorkItemId** | **Guid** | Unique ID of work item the test point represents | [optional]
**WorkItemGlobalId** | **long** | Global ID of work item the test point represents | [optional]
**WorkItemVersionId** | **Guid** | Unique ID of work item version the test point represents | [optional]
-**Status** | **TestPointStatus** | | [optional]
-**Priority** | **WorkItemPriorityModel** | | [optional]
+**Status** | **TestPointStatus** | |
+**Priority** | **WorkItemPriorityModel** | |
**IsAutomated** | **bool** | Indicates if the test point represents an autotest | [optional]
**Name** | **string** | Name of the test point | [optional]
**ConfigurationId** | **Guid** | Unique ID of the test point configuration | [optional]
**Duration** | **int** | Duration of the test point | [optional]
**SectionId** | **Guid** | Unique ID of section where work item the test point represents is located | [optional]
+**SectionName** | **string** | Name of section where work item the test point represents is located | [optional]
**ProjectId** | **Guid** | Unique ID of the test point project | [optional]
-**LastTestResult** | [**LastTestResultModel**](LastTestResultModel.md) | | [optional]
+**LastTestResult** | [**LastTestResultModel**](LastTestResultModel.md) | |
**IterationId** | **Guid** | Unique ID of work item iteration the test point represents | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/TestPointWithLastResultModel.md b/docs/TestPointWithLastResultModel.md
index e1b5306e..149cb617 100644
--- a/docs/TestPointWithLastResultModel.md
+++ b/docs/TestPointWithLastResultModel.md
@@ -24,7 +24,7 @@ Name | Type | Description | Notes
**Attributes** | **Dictionary<string, Object>** | | [optional]
**TagNames** | **List<string>** | | [optional]
**Duration** | **int** | | [optional]
-**Priority** | **WorkItemPriorityModel** | | [optional]
+**Priority** | **WorkItemPriorityModel** | |
**TestSuiteNameBreadCrumbs** | **List<string>** | | [optional]
**GroupCount** | **int?** | | [optional]
**Iteration** | [**IterationModel**](IterationModel.md) | | [optional]
diff --git a/docs/TestPointsApi.md b/docs/TestPointsApi.md
index 86ce9a00..f7740186 100644
--- a/docs/TestPointsApi.md
+++ b/docs/TestPointsApi.md
@@ -103,8 +103,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Success | - |
| **403** | Read permission for test points is required | - |
+| **200** | Success | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -202,8 +202,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Success | - |
| **403** | Read permission for test points is required | - |
+| **200** | Success | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -311,8 +311,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
| **403** | Read permission for all requested test plans is required | - |
+| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
diff --git a/docs/TestPointsExtractionModel.md b/docs/TestPointsExtractionModel.md
new file mode 100644
index 00000000..bf3b43fd
--- /dev/null
+++ b/docs/TestPointsExtractionModel.md
@@ -0,0 +1,10 @@
+# TestIt.Client.Model.TestPointsExtractionModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Ids** | [**GuidExtractionModel**](GuidExtractionModel.md) | | [optional]
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/docs/TestResultShortGetModel.md b/docs/TestResultShortGetModel.md
index 2fc8964c..08fabe4c 100644
--- a/docs/TestResultShortGetModel.md
+++ b/docs/TestResultShortGetModel.md
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
**TestRunId** | **Guid** | Unique ID of test run where test result is located | [optional]
**ConfigurationId** | **Guid** | Unique ID of configuration which test result uses | [optional]
**ConfigurationName** | **string** | Name of configuration which test result uses | [optional]
-**Outcome** | **TestResultOutcome** | | [optional]
+**Outcome** | **TestResultOutcome** | |
**ResultReasons** | [**List<AutotestResultReasonSubGetModel>**](AutotestResultReasonSubGetModel.md) | Collection of result reasons which test result have | [optional]
**Comment** | **string** | Comment to test result | [optional]
**Date** | **DateTime** | Date when test result has been set | [optional]
diff --git a/docs/TestResultsApi.md b/docs/TestResultsApi.md
index 8a1c9156..efc2be49 100644
--- a/docs/TestResultsApi.md
+++ b/docs/TestResultsApi.md
@@ -111,8 +111,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Success | - |
| **403** | Read permission for the test result is required | - |
+| **200** | Success | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -503,8 +503,8 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **403** | Only edits from assigned user are allowed | - |
| **200** | Success | - |
+| **403** | Only edits from assigned user are allowed | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -612,8 +612,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **403** | Read permission for all requested test runs is required | - |
| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
+| **403** | Read permission for all requested test runs is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -711,8 +711,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **403** | Read permission for all requested test runs is required | - |
| **200** | Success | - |
+| **403** | Read permission for all requested test runs is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -814,11 +814,11 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **404** | | - |
-| **200** | Successful operation | - |
-| **400** | Bad Request | - |
| **401** | Unauthorized | - |
| **403** | Update permission for test result required | - |
+| **200** | Successful operation | - |
+| **400** | Bad Request | - |
+| **404** | | - |
| **413** | Multipart body length limit exceeded (default constraint is one gigabyte) | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -918,9 +918,9 @@ void (empty response body)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **403** | Update permission for test result required | - |
+| **204** | Successful operation | - |
| **400** | Bad Request | - |
| **401** | Unauthorized | - |
-| **204** | Successful operation | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1028,11 +1028,11 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **200** | Success | - |
| **400** | Bad Request | - |
| **401** | Unauthorized | - |
-| **200** | Success | - |
-| **403** | Read permission for test result required | - |
| **404** | <br>File not found <br>Attachment not found | - |
+| **403** | Read permission for test result required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1134,11 +1134,11 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **404** | File not found | - |
| **401** | Unauthorized | - |
-| **200** | Successful operation | - |
| **400** | Bad Request | - |
+| **200** | Successful operation | - |
| **403** | Read permission for test result required | - |
+| **404** | File not found | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1238,10 +1238,10 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **400** | Bad Request | - |
-| **401** | Unauthorized | - |
| **403** | Read permission for test result required | - |
| **200** | Success | - |
+| **400** | Bad Request | - |
+| **401** | Unauthorized | - |
| **404** | TestResult not found | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
diff --git a/docs/TestRunFillByWorkItemsPostModel.md b/docs/TestRunFillByWorkItemsPostModel.md
index 26777b6c..6e568e5f 100644
--- a/docs/TestRunFillByWorkItemsPostModel.md
+++ b/docs/TestRunFillByWorkItemsPostModel.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ConfigurationIds** | **List<Guid>** | Specifies the configuration GUIDs, from which test points are created. You can specify several GUIDs. |
-**WorkitemIds** | **List<Guid>** | Specifies the work item GUIDs, from which test points are created. You can specify several GUIDs. |
+**WorkItemIds** | **List<Guid>** | Specifies the work item GUIDs, from which test points are created. You can specify several GUIDs. |
**ProjectId** | **Guid** | Specifies the GUID of the project, in which a test run will be created. |
**TestPlanId** | **Guid** | Specifies the GUID of the test plan, within which the test run will be created. |
**Name** | **string** | Specifies the name of the test run. | [optional]
diff --git a/docs/TestRunModel.md b/docs/TestRunModel.md
index 1d434d31..a332e426 100644
--- a/docs/TestRunModel.md
+++ b/docs/TestRunModel.md
@@ -20,7 +20,7 @@ Name | Type | Description | Notes
**CompletedDate** | **DateTime?** | | [optional]
**Build** | **string** | | [optional]
**Description** | **string** | | [optional]
-**StateName** | **TestRunState** | | [optional]
+**StateName** | **TestRunState** | |
**ProjectId** | **Guid** | | [optional]
**TestPlanId** | **Guid?** | | [optional]
**RunByUserId** | **Guid?** | | [optional]
diff --git a/docs/TestRunShortGetModel.md b/docs/TestRunShortGetModel.md
index 5c133987..d6574381 100644
--- a/docs/TestRunShortGetModel.md
+++ b/docs/TestRunShortGetModel.md
@@ -12,10 +12,10 @@ Name | Type | Description | Notes
**ModifiedDate** | **DateTime?** | Date when the test run was modified last time | [optional]
**ModifiedById** | **Guid?** | Unique ID of user who modified the test run last time | [optional]
**IsDeleted** | **bool** | Is the test run is deleted | [optional]
-**State** | **TestRunState** | | [optional]
+**State** | **TestRunState** | |
**StartedDate** | **DateTime?** | Date when the test run was started | [optional]
**AutotestsCount** | **int** | Number of autotests run in the test run | [optional]
-**Statistics** | [**TestResultsStatisticsGetModel**](TestResultsStatisticsGetModel.md) | | [optional]
+**Statistics** | [**TestResultsStatisticsGetModel**](TestResultsStatisticsGetModel.md) | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/TestRunShortModel.md b/docs/TestRunShortModel.md
index 6f57ff37..c5e2de46 100644
--- a/docs/TestRunShortModel.md
+++ b/docs/TestRunShortModel.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**StateName** | **TestRunState** | | [optional]
+**StateName** | **TestRunState** | |
**ProjectId** | **Guid** | | [optional]
**TestPlanId** | **Guid?** | | [optional]
**Name** | **string** | | [optional]
diff --git a/docs/TestRunV2GetModel.md b/docs/TestRunV2GetModel.md
index 44a950bf..957e7f55 100644
--- a/docs/TestRunV2GetModel.md
+++ b/docs/TestRunV2GetModel.md
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**StartedOn** | **DateTime?** | | [optional]
**CompletedOn** | **DateTime?** | | [optional]
-**StateName** | **TestRunState** | | [optional]
+**StateName** | **TestRunState** | |
**ProjectId** | **Guid** | This property is used to link test run with project | [optional]
**TestPlanId** | **Guid?** | This property is used to link test run with test plan | [optional]
**TestResults** | [**List<TestResultV2GetModel>**](TestResultV2GetModel.md) | | [optional]
diff --git a/docs/TestRunsApi.md b/docs/TestRunsApi.md
index 0010292e..693716d8 100644
--- a/docs/TestRunsApi.md
+++ b/docs/TestRunsApi.md
@@ -116,8 +116,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Success | - |
| **403** | Read permission for test runs is required | - |
+| **200** | Success | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -215,8 +215,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **403** | Read permission for test runs is required | - |
| **200** | Success | - |
+| **403** | Read permission for test runs is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -313,7 +313,7 @@ void (empty response body)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **403** | Update permission for test runs is required | - |
-| **204** | Success | - |
+| **204** | No Content | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -411,8 +411,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **403** | Read permission for test runs is required | - |
| **200** | Success | - |
+| **403** | Read permission for test runs is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -520,8 +520,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **403** | Read permission for autotests library is required | - |
| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
+| **403** | Read permission for autotests library is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -617,11 +617,11 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **400** | <br>Field is required <br>the StateName is already Stopped <br>the StateName is already Completed | - |
-| **204** | Successful operation | - |
-| **401** | Unauthorized | - |
| **403** | Update permission for test result required | - |
| **404** | <br>Can't find a TestRun with id! | - |
+| **204** | Successful operation | - |
+| **400** | <br>Field is required <br>the StateName is already Stopped <br>the StateName is already Completed | - |
+| **401** | Unauthorized | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -722,10 +722,10 @@ catch (ApiException e)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **404** | Some autotests do not exist | - |
-| **403** | Update permission for test results is required | - |
-| **401** | Unauthorized | - |
-| **201** | Success | - |
+| **201** | Created | - |
| **400** | <br>- Field is required <br>- Configuration does not exist in the project <br>- Autotest does not exist in the project <br>- Test run must be automated <br>- Project ID is invalid <br>- Autotest external IDs are required <br>- Configuration IDs are required | - |
+| **401** | Unauthorized | - |
+| **403** | Update permission for test results is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -825,10 +825,10 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **401** | Unauthorized | - |
-| **201** | Success | - |
-| **400** | <br>- Field is required <br>- Test run cannot be created with deleted test points <br>- Test run cannot be created in deleted test suite <br>- Test run cannot be created with non-automated test point <br>- Test run must be automated <br>- Some work items do not exist <br>- Project ID is invalid <br>- Test point selectors are required <br>- Some work item IDs are invalid <br>- Some configuration IDs are invalid | - |
+| **201** | Created | - |
| **403** | Update permission for test results is required | - |
+| **400** | <br>- Field is required <br>- Test run cannot be created with deleted test points <br>- Test run cannot be created in deleted test suite <br>- Test run cannot be created with non-automated test point <br>- Test run must be automated <br>- Some work items do not exist <br>- Project ID is invalid <br>- Test point selectors are required <br>- Some work item IDs are invalid <br>- Some configuration IDs are invalid | - |
+| **401** | Unauthorized | - |
| **404** | Some test points do not exists | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -929,7 +929,7 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **201** | Success | - |
+| **201** | Created | - |
| **400** | <br>- Field is required <br>- Test run cannot be created with deleted test points <br>- Test run cannot be created in deleted test suite <br>- Test run cannot be created with non-automated test point <br>- Some work items do not exist <br>- Project ID is invalid | - |
| **401** | Unauthorized | - |
| **403** | Update permission for test results is required | - |
@@ -1034,9 +1034,9 @@ catch (ApiException e)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **403** | Update permission for test result required | - |
+| **401** | TestRunTesterRequirement permission required | - |
| **201** | Successful operation | - |
| **400** | <br>Field is required <br>TestRun must be automated <br>ProjectId is not a valid! | - |
-| **401** | TestRunTesterRequirement permission required | - |
| **404** | Can't find a TestRun with id = testRunId | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1137,9 +1137,9 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **401** | Unauthorized | - |
| **403** | Read permission for test result required | - |
| **404** | <br>Can't find a TestRun with id! | - |
+| **401** | Unauthorized | - |
| **200** | Successful operation | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1243,11 +1243,11 @@ catch (ApiException e)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **404** | <br>- Test run with provided ID was not found <br>- Test point was not found <br>- Autotest with provided external ID was not found | - |
-| **401** | Unauthorized | - |
+| **200** | Successful operation | - |
| **422** | <br>- Configuration with provided ID was not found <br>- Test points relevant to provided filters were not found | - |
| **400** | <br>- Field is required <br>- Body is invalid <br>- Test points are required <br>- Duration must be a positive number <br>- Outcome is not defined <br>- Test run is stopped | - |
-| **200** | Successful operation | - |
| **403** | Update permission for test results is required | - |
+| **401** | Unauthorized | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1343,11 +1343,11 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **401** | Unauthorized | - |
-| **204** | Successful operation | - |
-| **400** | <br>Field is required <br>the StateName is already InProgress <br>the StateName is already Stopped <br>the StateName is already Completed | - |
| **403** | Update permission for test result required | - |
+| **400** | <br>Field is required <br>the StateName is already InProgress <br>the StateName is already Stopped <br>the StateName is already Completed | - |
| **404** | <br>Can't find a TestRun with id! | - |
+| **204** | Successful operation | - |
+| **401** | Unauthorized | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1443,11 +1443,11 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **404** | <br>Can't find a TestRun with id! | - |
| **204** | Successful operation | - |
| **400** | <br>Field is required <br>the StateName is already Stopped <br>the StateName is already Completed | - |
| **401** | Unauthorized | - |
| **403** | Update permission for test result required | - |
-| **404** | <br>Can't find a TestRun with id! | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1543,11 +1543,11 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **404** | <br>Can't find a TestRun with id! | - |
-| **204** | Successful operation | - |
-| **400** | <br>Field is required <br>Name is not valid | - |
| **401** | Unauthorized | - |
| **403** | Update permission for test result required | - |
+| **400** | <br>Field is required <br>Name is not valid | - |
+| **404** | <br>Can't find a TestRun with id! | - |
+| **204** | Successful operation | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
diff --git a/docs/TestSuiteType.md b/docs/TestSuiteType.md
new file mode 100644
index 00000000..a6b04b88
--- /dev/null
+++ b/docs/TestSuiteType.md
@@ -0,0 +1,9 @@
+# TestIt.Client.Model.TestSuiteType
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/docs/TestSuiteV2GetModel.md b/docs/TestSuiteV2GetModel.md
index 1cb8508a..e87a9a76 100644
--- a/docs/TestSuiteV2GetModel.md
+++ b/docs/TestSuiteV2GetModel.md
@@ -8,6 +8,8 @@ Name | Type | Description | Notes
**ParentId** | **Guid?** | | [optional]
**TestPlanId** | **Guid** | |
**Name** | **string** | |
+**Type** | **TestSuiteType** | | [optional]
+**SaveStructure** | **bool?** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/TestSuiteV2PostModel.md b/docs/TestSuiteV2PostModel.md
index d723a904..29655163 100644
--- a/docs/TestSuiteV2PostModel.md
+++ b/docs/TestSuiteV2PostModel.md
@@ -7,6 +7,8 @@ Name | Type | Description | Notes
**ParentId** | **Guid?** | | [optional]
**TestPlanId** | **Guid** | |
**Name** | **string** | |
+**Type** | **TestSuiteType** | | [optional]
+**SaveStructure** | **bool?** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/TestSuiteV2PutModel.md b/docs/TestSuiteV2PutModel.md
index 9ee9028c..9acd5d4f 100644
--- a/docs/TestSuiteV2PutModel.md
+++ b/docs/TestSuiteV2PutModel.md
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
**Id** | **Guid** | |
**ParentId** | **Guid?** | | [optional]
**Name** | **string** | |
+**IsDeleted** | **bool** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/TestSuiteV2TreeModel.md b/docs/TestSuiteV2TreeModel.md
index 9a0a5a01..da6c8d7c 100644
--- a/docs/TestSuiteV2TreeModel.md
+++ b/docs/TestSuiteV2TreeModel.md
@@ -9,6 +9,8 @@ Name | Type | Description | Notes
**ParentId** | **Guid?** | | [optional]
**TestPlanId** | **Guid** | |
**Name** | **string** | |
+**Type** | **TestSuiteType** | | [optional]
+**SaveStructure** | **bool?** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/TestSuitesApi.md b/docs/TestSuitesApi.md
index aaece2ac..0557ae33 100644
--- a/docs/TestSuitesApi.md
+++ b/docs/TestSuitesApi.md
@@ -5,6 +5,8 @@ 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 |
@@ -109,12 +111,206 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **404** | Test suite with provided ID was not found | - |
| **204** | Successful operation | - |
-| **422** | Shared steps cannot be added to test suite | - |
| **400** | Bad Request | - |
| **401** | Unauthorized | - |
| **403** | Update permission for test plan is required | - |
+| **404** | Test suite with provided ID was not found | - |
+| **422** | Shared steps cannot be added to test suite | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **ApiV2TestSuitesIdPatch**
+> void ApiV2TestSuitesIdPatch (Guid id, List operation = null)
+
+Patch test suite
+
+See RFC 6902: JavaScript Object Notation (JSON) Patch for details
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using TestIt.Client.Api;
+using TestIt.Client.Client;
+using TestIt.Client.Model;
+
+namespace Example
+{
+ public class ApiV2TestSuitesIdPatchExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: Bearer or PrivateToken
+ config.AddApiKey("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new TestSuitesApi(httpClient, config, httpClientHandler);
+ var id = "id_example"; // Guid | Test Suite internal (UUID) identifier
+ var operation = new List(); // List | (optional)
+
+ try
+ {
+ // Patch test suite
+ apiInstance.ApiV2TestSuitesIdPatch(id, operation);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling TestSuitesApi.ApiV2TestSuitesIdPatch: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the ApiV2TestSuitesIdPatchWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Patch test suite
+ apiInstance.ApiV2TestSuitesIdPatchWithHttpInfo(id, operation);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling TestSuitesApi.ApiV2TestSuitesIdPatchWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **id** | **Guid** | Test Suite internal (UUID) identifier | |
+| **operation** | [**List<Operation>**](Operation.md) | | [optional] |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **204** | No Content | - |
+| **403** | Update permission for test suite is required | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **ApiV2TestSuitesIdRefreshPost**
+> void ApiV2TestSuitesIdRefreshPost (Guid id)
+
+Refresh test suite. Only dynamic test suites are supported by this method
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using TestIt.Client.Api;
+using TestIt.Client.Client;
+using TestIt.Client.Model;
+
+namespace Example
+{
+ public class ApiV2TestSuitesIdRefreshPostExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: Bearer or PrivateToken
+ config.AddApiKey("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new TestSuitesApi(httpClient, config, httpClientHandler);
+ var id = "id_example"; // Guid | Test Suite internal (UUID) identifier
+
+ try
+ {
+ // Refresh test suite. Only dynamic test suites are supported by this method
+ apiInstance.ApiV2TestSuitesIdRefreshPost(id);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling TestSuitesApi.ApiV2TestSuitesIdRefreshPost: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the ApiV2TestSuitesIdRefreshPostWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Refresh test suite. Only dynamic test suites are supported by this method
+ apiInstance.ApiV2TestSuitesIdRefreshPostWithHttpInfo(id);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling TestSuitesApi.ApiV2TestSuitesIdRefreshPostWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **id** | **Guid** | Test Suite internal (UUID) identifier | |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **204** | No Content | - |
+| **403** | Update permission for test suite is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -214,11 +410,11 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **401** | Unauthorized | - |
| **404** | <br>Can't find a TestPlan with id <br>Can't find a TestSuite with id | - |
+| **403** | Update permission for test plan required | - |
| **201** | Successful operation | - |
| **400** | <br>Field is required <br>Suite with Id creates loop! | - |
-| **401** | Unauthorized | - |
-| **403** | Update permission for test plan required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -314,10 +510,10 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | Successful operation | - |
-| **403** | Delete permission for test plan required | - |
| **401** | Unauthorized | - |
+| **403** | Delete permission for test plan required | - |
| **404** | <br>Can't find a TestSuite with id | - |
+| **204** | Successful operation | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -417,10 +613,10 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **403** | Read permission for test plan required | - |
-| **200** | Successful operation | - |
| **404** | <br>Can't find a TestSuite with id! | - |
+| **403** | Read permission for test plan required | - |
| **401** | Unauthorized | - |
+| **200** | Successful operation | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -520,10 +716,10 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **401** | Unauthorized | - |
+| **403** | Read permission for test plan required | - |
| **404** | <br>Can't find a TestSuite with id! | - |
| **200** | Successful operation | - |
-| **403** | Read permission for test plan required | - |
-| **401** | Unauthorized | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -726,10 +922,10 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **404** | <br>Can't find a TestSuite with id! | - |
+| **403** | Read permission for test plan required | - |
| **401** | Unauthorized | - |
| **200** | Successful operation | - |
-| **403** | Read permission for test plan required | - |
-| **404** | <br>Can't find a TestSuite with id! | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -839,10 +1035,10 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **401** | Unauthorized | - |
+| **404** | Not Found | - |
| **200** | Success | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
+| **401** | Unauthorized | - |
| **403** | Forbidden | - |
-| **404** | Not Found | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -852,7 +1048,7 @@ catch (ApiException e)
Search WorkItems
-
Use case
User sets test suite identifier
[Optional] User sets filter
User runs method execution
System search test suite by identifier
System search test points related to the test suite
System search workitems related to the test points
[Optional] User sets filter, system applies filter
System returns workitems array
+
Use case
User sets test suite identifier
[Optional] User sets filter
User runs method execution
System search test suite by identifier
System search test points related to the test suite
System search work items related to the test points
[Optional] User sets filter, system applies filter
System returns work items array
### Example
```csharp
@@ -954,11 +1150,11 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Successful operation | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
| **404** | <br>Can't find a TestSuite with id! | - |
-| **400** | Bad Request | - |
| **401** | Unauthorized | - |
| **403** | Read permission for test plan required | - |
+| **200** | Successful operation | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
+| **400** | Bad Request | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1056,11 +1252,11 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | Successful operation | - |
| **404** | <br>Can't find a TestSuite with id | - |
+| **204** | Successful operation | - |
+| **401** | Unauthorized | - |
| **403** | Update permission for test plan required | - |
| **400** | <br>Some of Configurations do not exist in the project, or they are not active | - |
-| **401** | Unauthorized | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1070,7 +1266,7 @@ void (empty response body)
Set WorkItems By TestSuite Id
-
Use case
User sets test suite identifier
User sets collection of workitems identifiers
User runs method execution
System search test suite by identifier
System search test points related to the test suite
System search workitems
System restores(if exist) or creates test points with listed workitems
System returns no content response
+
Use case
User sets test suite identifier
User sets collection of work items identifiers
User runs method execution
System search test suite by identifier
System search test points related to the test suite
System search work items
System restores(if exist) or creates test points with listed work items
System returns no content response
### Example
```csharp
@@ -1099,7 +1295,7 @@ namespace Example
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new TestSuitesApi(httpClient, config, httpClientHandler);
var id = 3fa85f64-5717-4562-b3fc-2c963f66afa6; // Guid | Test suite internal (guid format) identifier\"
- var requestBody = new List(); // List | Collection of workitem identifiers\" (optional)
+ var requestBody = new List(); // List | Collection of work item identifiers\" (optional)
try
{
@@ -1139,7 +1335,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **id** | **Guid** | Test suite internal (guid format) identifier\" | |
-| **requestBody** | [**List<Guid>**](Guid.md) | Collection of workitem identifiers\" | [optional] |
+| **requestBody** | [**List<Guid>**](Guid.md) | Collection of work item identifiers\" | [optional] |
### Return type
@@ -1159,11 +1355,11 @@ void (empty response body)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **403** | Update permission for test plan required | - |
-| **204** | Successful operation | - |
-| **400** | Bad Request | - |
-| **401** | Unauthorized | - |
| **404** | <br>Can't find a TestSuite with id <br>Some of WorkItems does not exist or deleted | - |
| **422** | <br>can't put a SharedStep in the TestSuite <br>ProjectId must be the same for TestSuites | - |
+| **400** | Bad Request | - |
+| **204** | Successful operation | - |
+| **401** | Unauthorized | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1259,11 +1455,11 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **401** | Unauthorized | - |
-| **400** | <br>Field is required <br>Suite with Id creates loop! | - |
-| **404** | <br>Can't find a TestPlan with id <br>Can't find a TestSuite with id | - |
| **403** | Update permission for test plan required | - |
| **204** | Successful operation | - |
+| **400** | <br>Field is required <br>Suite with Id creates loop! | - |
+| **401** | Unauthorized | - |
+| **404** | <br>Can't find a TestPlan with id <br>Can't find a TestSuite with id | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
diff --git a/docs/WebHookLogModel.md b/docs/WebHookLogModel.md
index 4164671d..22feff61 100644
--- a/docs/WebHookLogModel.md
+++ b/docs/WebHookLogModel.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**WebHookName** | **string** | | [optional]
-**EventType** | **WebHookEventTypeModel** | | [optional]
+**EventType** | **WebHookEventTypeModel** | |
**WebHookId** | **Guid** | | [optional]
**RequestBody** | **string** | | [optional]
**RequestMeta** | **string** | | [optional]
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
**ResponseMeta** | **string** | | [optional]
**ProjectId** | **Guid** | | [optional]
**Url** | **string** | | [optional]
-**RequestType** | **RequestTypeModel** | | [optional]
+**RequestType** | **RequestTypeModel** | |
**CreatedDate** | **DateTime?** | | [optional]
**ModifiedDate** | **DateTime?** | | [optional]
**CreatedById** | **Guid** | | [optional]
diff --git a/docs/WebHookModel.md b/docs/WebHookModel.md
index b124f081..d06adef0 100644
--- a/docs/WebHookModel.md
+++ b/docs/WebHookModel.md
@@ -5,10 +5,10 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **string** | Name of the webhook | [optional]
-**EventType** | **WebHookEventTypeModel** | | [optional]
+**EventType** | **WebHookEventTypeModel** | |
**Description** | **string** | Description of the webhook | [optional]
**Url** | **string** | Url to which the webhook sends request | [optional]
-**RequestType** | **RequestTypeModel** | | [optional]
+**RequestType** | **RequestTypeModel** | |
**ShouldSendBody** | **bool** | Indicates if the webhook sends body | [optional]
**Headers** | **Dictionary<string, string>** | Collection of headers which the webhook sends | [optional]
**QueryParameters** | **Dictionary<string, string>** | Collection of query parameters which the webhook sends | [optional]
diff --git a/docs/WebhooksApi.md b/docs/WebhooksApi.md
index f5f6cbe0..be837825 100644
--- a/docs/WebhooksApi.md
+++ b/docs/WebhooksApi.md
@@ -202,7 +202,7 @@ void (empty response body)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **403** | Delete permission for webhooks is required | - |
-| **204** | Success | - |
+| **204** | No Content | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -500,7 +500,7 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **201** | Success | - |
+| **201** | Created | - |
| **403** | Update permission for webhooks is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
diff --git a/docs/WebhooksLogsApi.md b/docs/WebhooksLogsApi.md
index 73d68d21..88e388bb 100644
--- a/docs/WebhooksLogsApi.md
+++ b/docs/WebhooksLogsApi.md
@@ -206,8 +206,8 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **204** | No Content | - |
| **403** | System administrator permissions are required | - |
-| **204** | Success | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
diff --git a/docs/WorkItemIdModel.md b/docs/WorkItemIdModel.md
index cf6d4658..b7eb7741 100644
--- a/docs/WorkItemIdModel.md
+++ b/docs/WorkItemIdModel.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | Used for search WorkItem. Internal identifier has a Guid data format. Global identifier has an integer data format | [optional]
+**Id** | **string** | Used for search WorkItem. Internal identifier has a Guid data format. Global identifier has an integer data format |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/WorkItemModel.md b/docs/WorkItemModel.md
index 47289d21..870662e4 100644
--- a/docs/WorkItemModel.md
+++ b/docs/WorkItemModel.md
@@ -21,7 +21,7 @@ Name | Type | Description | Notes
**CreatedById** | **Guid** | | [optional]
**ModifiedById** | **Guid?** | | [optional]
**GlobalId** | **long** | | [optional]
-**Id** | **Guid** | | [optional]
+**Id** | **Guid** | |
**SectionId** | **Guid** | | [optional]
**Description** | **string** | | [optional]
**State** | **WorkItemStates** | |
diff --git a/docs/WorkItemPutModel.md b/docs/WorkItemPutModel.md
index 0441b75f..05a0e7b5 100644
--- a/docs/WorkItemPutModel.md
+++ b/docs/WorkItemPutModel.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
**Attachments** | [**List<AttachmentPutModel>**](AttachmentPutModel.md) | |
**Iterations** | [**List<IterationPutModel>**](IterationPutModel.md) | | [optional]
**AutoTests** | [**List<AutoTestIdModel>**](AutoTestIdModel.md) | | [optional]
-**Id** | **Guid** | | [optional]
+**Id** | **Guid** | |
**SectionId** | **Guid** | | [optional]
**Description** | **string** | | [optional]
**State** | **WorkItemStates** | |
diff --git a/docs/WorkItemShortModel.md b/docs/WorkItemShortModel.md
index db2c2afb..5ae917b4 100644
--- a/docs/WorkItemShortModel.md
+++ b/docs/WorkItemShortModel.md
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
**EntityTypeName** | **string** | Property can have one of these values: CheckLists, SharedSteps, TestCases |
**ProjectId** | **Guid** | This property is used to link autotest with project |
**SectionId** | **Guid** | This property links workitem with section |
+**SectionName** | **string** | Name of the section where work item is located |
**IsAutomated** | **bool** | | [optional]
**GlobalId** | **long** | | [optional]
**Duration** | **int** | | [optional]
diff --git a/docs/WorkItemsApi.md b/docs/WorkItemsApi.md
index a50418ae..54cd1b8f 100644
--- a/docs/WorkItemsApi.md
+++ b/docs/WorkItemsApi.md
@@ -4,6 +4,7 @@ All URIs are relative to *http://localhost*
| Method | HTTP request | Description |
|--------|--------------|-------------|
+| [**ApiV2WorkItemsIdAttachmentsPost**](WorkItemsApi.md#apiv2workitemsidattachmentspost) | **POST** /api/v2/workItems/{id}/attachments | Upload and link attachment to WorkItem |
| [**ApiV2WorkItemsIdCheckListTransformToTestCasePost**](WorkItemsApi.md#apiv2workitemsidchecklisttransformtotestcasepost) | **POST** /api/v2/workItems/{id}/checkList/transformTo/testCase | Transform CheckList to TestCase |
| [**ApiV2WorkItemsIdHistoryGet**](WorkItemsApi.md#apiv2workitemsidhistoryget) | **GET** /api/v2/workItems/{id}/history | Get change history of WorkItem |
| [**ApiV2WorkItemsIdLikeDelete**](WorkItemsApi.md#apiv2workitemsidlikedelete) | **DELETE** /api/v2/workItems/{id}/like | Delete like from WorkItem |
@@ -25,8 +26,117 @@ All URIs are relative to *http://localhost*
| [**GetWorkItemById**](WorkItemsApi.md#getworkitembyid) | **GET** /api/v2/workItems/{id} | Get Test Case, Checklist or Shared Step by Id or GlobalId |
| [**GetWorkItemChronology**](WorkItemsApi.md#getworkitemchronology) | **GET** /api/v2/workItems/{id}/chronology | Get WorkItem chronology by Id or GlobalId |
| [**GetWorkItemVersions**](WorkItemsApi.md#getworkitemversions) | **GET** /api/v2/workItems/{id}/versions | Get WorkItem versions |
+| [**PurgeWorkItem**](WorkItemsApi.md#purgeworkitem) | **POST** /api/v2/workItems/{id}/purge | Permanently delete test case, checklist or shared steps from archive |
+| [**RestoreWorkItem**](WorkItemsApi.md#restoreworkitem) | **POST** /api/v2/workItems/{id}/restore | Restore test case, checklist or shared steps from archive |
| [**UpdateWorkItem**](WorkItemsApi.md#updateworkitem) | **PUT** /api/v2/workItems | Update Test Case, Checklist or Shared Step |
+
+# **ApiV2WorkItemsIdAttachmentsPost**
+> Guid ApiV2WorkItemsIdAttachmentsPost (Guid id, FileParameter file = null)
+
+Upload and link attachment to WorkItem
+
+
Use case
User sets workItemId
User attaches a file
System creates attachment and links it to the work item
System returns attachment identifier
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using TestIt.Client.Api;
+using TestIt.Client.Client;
+using TestIt.Client.Model;
+
+namespace Example
+{
+ public class ApiV2WorkItemsIdAttachmentsPostExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: Bearer or PrivateToken
+ config.AddApiKey("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new WorkItemsApi(httpClient, config, httpClientHandler);
+ var id = 3fa85f64-5717-4562-b3fc-2c963f66afa6; // Guid | Work item internal identifier (guid format)
+ var file = new System.IO.MemoryStream(System.IO.File.ReadAllBytes("/path/to/file.txt")); // FileParameter | Select file (optional)
+
+ try
+ {
+ // Upload and link attachment to WorkItem
+ Guid result = apiInstance.ApiV2WorkItemsIdAttachmentsPost(id, file);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling WorkItemsApi.ApiV2WorkItemsIdAttachmentsPost: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the ApiV2WorkItemsIdAttachmentsPostWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Upload and link attachment to WorkItem
+ ApiResponse response = apiInstance.ApiV2WorkItemsIdAttachmentsPostWithHttpInfo(id, file);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling WorkItemsApi.ApiV2WorkItemsIdAttachmentsPostWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **id** | **Guid** | Work item internal identifier (guid format) | |
+| **file** | **FileParameter****FileParameter** | Select file | [optional] |
+
+### Return type
+
+**Guid**
+
+### Authorization
+
+[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)
+
+### HTTP request headers
+
+ - **Content-Type**: multipart/form-data
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **413** | Multipart body length limit exceeded (default constraint is one gigabyte) | - |
+| **200** | Successful operation | - |
+| **403** | Update permission for test result required | - |
+| **400** | Bad Request | - |
+| **404** | | - |
+| **401** | Unauthorized | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
# **ApiV2WorkItemsIdCheckListTransformToTestCasePost**
> WorkItemModel ApiV2WorkItemsIdCheckListTransformToTestCasePost (Guid id)
@@ -124,11 +234,11 @@ catch (ApiException e)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **422** | Client Error | - |
+| **403** | Update permission for test library required | - |
+| **404** | Can't find CheckList with id | - |
| **200** | Successful operation | - |
| **400** | Bad Request | - |
| **401** | Unauthorized | - |
-| **403** | Update permission for test library required | - |
-| **404** | Can't find CheckList with id | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -338,8 +448,8 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | Successful operation | - |
| **400** | Bad Request | - |
+| **204** | Successful operation | - |
| **401** | Unauthorized | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -641,8 +751,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Successful operation | - |
| **400** | Bad Request | - |
+| **200** | Successful operation | - |
| **401** | Unauthorized | - |
| **403** | Read permission for test library required | - |
@@ -772,8 +882,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **400** | Bad Request | - |
| **200** | Successful operation | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
|
+| **400** | Bad Request | - |
| **401** | Unauthorized | - |
| **403** | Read permission for test library required | - |
@@ -877,8 +987,8 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Successful operation | - |
| **400** | Bad Request | - |
+| **200** | Successful operation | - |
| **401** | Unauthorized | - |
| **403** | Update permission for test library required | - |
| **404** | Can't find WorkItem with id | - |
@@ -1524,11 +1634,11 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
+| **401** | Unauthorized | - |
+| **403** | Update permission for test library required | - |
| **201** | Successful operation | - |
| **400** | <br>Field is required <br>Priority is not a valid <br>Tags must be set <br>Duration should be a positive number <br>Should be empty for CheckList <br>Attribute value must be a valid guid for user scheme <br>There is no option in ProjectAttributesScheme with such Id <br>Attribute value must be a valid guid for options scheme | - |
| **404** | <br>Can't find section <br>Can't find project <br>Can't find attachmentIds <br>Project not found <br>Can't attributesScheme <br>Can't attribute <br>AutoTestIds not exist in project | - |
-| **401** | Unauthorized | - |
-| **403** | Update permission for test library required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1624,11 +1734,11 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **400** | Bad Request | - |
-| **404** | Can't find a WorkItem with workItemId | - |
| **401** | Unauthorized | - |
+| **400** | Bad Request | - |
+| **204** | No Content | - |
| **403** | Update permission for test library required | - |
-| **204** | Success | - |
+| **404** | Can't find a WorkItem with workItemId | - |
| **200** | Successful operation | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1725,12 +1835,12 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | Successful operation | - |
-| **401** | Unauthorized | - |
+| **403** | Delete permission for test library required | - |
| **404** | Can't find a WorkItem with id | - |
-| **422** | Could not delete Shared Step that has references | - |
+| **401** | Unauthorized | - |
| **400** | Bad Request | - |
-| **403** | Delete permission for test library required | - |
+| **422** | Could not delete Shared Step that has references | - |
+| **204** | Successful operation | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -1830,11 +1940,11 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **404** | Can't find WorkItem with workItemId | - |
-| **401** | Unauthorized | - |
-| **403** | Read permission for test library required | - |
| **200** | Successful operation | - |
| **400** | Bad Request | - |
+| **401** | Unauthorized | - |
+| **403** | Read permission for test library required | - |
+| **404** | Can't find WorkItem with workItemId | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -2044,11 +2154,11 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **403** | Read permission for test library required | - |
+| **400** | Bad Request | - |
| **404** | Can't find workItem with id | - |
| **200** | Successful operation | - |
-| **400** | Bad Request | - |
| **401** | Unauthorized | - |
+| **403** | Read permission for test library required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -2148,10 +2258,10 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **401** | Unauthorized | - |
+| **400** | Not valid workItemId | - |
| **404** | Can't find WorkItem with workItemId | - |
| **200** | Successful operation | - |
-| **400** | Not valid workItemId | - |
+| **401** | Unauthorized | - |
| **403** | Read permission for test library required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -2256,11 +2366,201 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **401** | Unauthorized | - |
-| **403** | Read permission for test library required | - |
-| **404** | Can't find WorkItem with workItemId | - |
| **200** | Successful operation | - |
| **400** | Bad Request | - |
+| **404** | Can't find WorkItem with workItemId | - |
+| **401** | Unauthorized | - |
+| **403** | Read permission for test library required | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **PurgeWorkItem**
+> void PurgeWorkItem (string id)
+
+Permanently delete test case, checklist or shared steps from archive
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using TestIt.Client.Api;
+using TestIt.Client.Client;
+using TestIt.Client.Model;
+
+namespace Example
+{
+ public class PurgeWorkItemExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: Bearer or PrivateToken
+ config.AddApiKey("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new WorkItemsApi(httpClient, config, httpClientHandler);
+ var id = "id_example"; // string | Unique or global ID of the work item
+
+ try
+ {
+ // Permanently delete test case, checklist or shared steps from archive
+ apiInstance.PurgeWorkItem(id);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling WorkItemsApi.PurgeWorkItem: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the PurgeWorkItemWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Permanently delete test case, checklist or shared steps from archive
+ apiInstance.PurgeWorkItemWithHttpInfo(id);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling WorkItemsApi.PurgeWorkItemWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **id** | **string** | Unique or global ID of the work item | |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **204** | No Content | - |
+| **403** | Delete permission for test library is required | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **RestoreWorkItem**
+> void RestoreWorkItem (string id)
+
+Restore test case, checklist or shared steps from archive
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using TestIt.Client.Api;
+using TestIt.Client.Client;
+using TestIt.Client.Model;
+
+namespace Example
+{
+ public class RestoreWorkItemExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: Bearer or PrivateToken
+ config.AddApiKey("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.AddApiKeyPrefix("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new WorkItemsApi(httpClient, config, httpClientHandler);
+ var id = "id_example"; // string | Unique or global ID of the work item
+
+ try
+ {
+ // Restore test case, checklist or shared steps from archive
+ apiInstance.RestoreWorkItem(id);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling WorkItemsApi.RestoreWorkItem: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the RestoreWorkItemWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Restore test case, checklist or shared steps from archive
+ apiInstance.RestoreWorkItemWithHttpInfo(id);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling WorkItemsApi.RestoreWorkItemWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **id** | **string** | Unique or global ID of the work item | |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Success | - |
+| **403** | Update permission for test library is required | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -2356,11 +2656,11 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **403** | Update permission for test library required | - |
| **400** | <br>Field is required <br>Priority is not a valid <br>duration should be a positive number <br>should be empty for CheckList <br>There is no option in ProjectAttributesScheme with such Id <br>Attribute value must be a valid guid for options scheme | - |
+| **204** | Successful operation | - |
| **401** | Unauthorized | - |
+| **403** | Update permission for test library required | - |
| **404** | <br>WorkItem not found <br>Can't find section <br>Can't attributesScheme <br>Can't attribute <br>AutoTestIds not exist in project | - |
-| **204** | Successful operation | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
diff --git a/docs/WorkItemsCommentsApi.md b/docs/WorkItemsCommentsApi.md
index 1a192a4a..22ca6b44 100644
--- a/docs/WorkItemsCommentsApi.md
+++ b/docs/WorkItemsCommentsApi.md
@@ -102,9 +102,9 @@ void (empty response body)
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **400** | Bad Request | - |
+| **401** | Unauthorized | - |
| **204** | Successful operation | - |
| **403** | System admin permission required | - |
-| **401** | Unauthorized | - |
| **404** | WorkItem is not found | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -303,8 +303,8 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | Success | - |
| **403** | System administrator role is required | - |
+| **204** | No Content | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
diff --git a/src/TestIt.Client/Api/AutoTestsApi.cs b/src/TestIt.Client/Api/AutoTestsApi.cs
index 83a153a9..b8e0c4e0 100644
--- a/src/TestIt.Client/Api/AutoTestsApi.cs
+++ b/src/TestIt.Client/Api/AutoTestsApi.cs
@@ -59,6 +59,29 @@ public interface IAutoTestsApiSync : IApiAccessor
/// ApiResponse of Object(void)
ApiResponse