StarterTemplate ASP.NET Host

<back to all web services

RequestTestSetPatchV2

TestSet Service

The following routes are available for this service:
PATCH/service/api/v2/projects/{ProjectId}/testsets/{Id}Updates the specified fields of a test setThe test set with the specified ID must exist. The authenticating user must have the Update privilege for Test Sets.
Parameters:
NameParameterData TypeRequiredDescription
ProjectIdpathintYesThe ID of the project that contains the test set
IdpathintYesThe ID of the test set that has fields you need to update

To override the Content-type in your clients HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/reply/RequestTestSetPatchV2 HTTP/1.1 
Host: rest.qacomplete.smartbear.com 
Content-Type: text/jsv
Content-Length: length

{
	project_id: 0,
	id: 0,
	title: String,
	folder_id: 0,
	is_sequential: False,
	assignee_user_id: 0,
	status_code: String,
	priority_code: String,
	execution_type: String,
	description: String,
	owner_user_id: 0,
	is_active: False,
	est_start: 0001-01-01,
	est_finish: 0001-01-01,
	est_hrs: 0,
	est_hrs_remaining: 0,
	act_start: 0001-01-01,
	act_finish: 0001-01-01,
	act_hrs: 0,
	pct_complete: 0,
	original_id: 0,
	import_id: 0,
	default_host_id: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	id: 0,
	project_id: 0,
	folder_id: 0,
	create_user_id: 0,
	update_user_id: 0,
	owner_user_id: 0,
	assignee_user_id: 0,
	title: String,
	is_active: False,
	is_sequential: False,
	status_code: String,
	priority_code: String,
	execution_type: String,
	description: String,
	date_created: 0001-01-01,
	date_updated: 0001-01-01,
	folder_name: String,
	assigned_to_name: String,
	user_name: String,
	owner_name: String,
	nbr_tests: 0,
	last_run_status: String,
	last_run_date: 0001-01-01,
	last_run_by_user_id: 0,
	last_run_by_user_name: String,
	nbr_times_run: 0,
	avg_run_time: 0,
	avg_run_time_formatted: String,
	nbr_files: 0,
	nbr_notes: 0,
	last_run_release_id: 0,
	last_run_release_name: String,
	last_run_test_config_id: 0,
	last_run_test_config_name: String,
	allow_run: False,
	nbr_schedules: 0,
	est_start: 0001-01-01,
	est_finish: 0001-01-01,
	est_hrs: 0,
	est_hrs_remaining: 0,
	act_start: 0001-01-01,
	act_finish: 0001-01-01,
	act_hrs: 0,
	pct_complete: 0,
	original_id: 0,
	import_id: 0,
	default_host_id: 0,
	default_host_name: String
}