StarterTemplate ASP.NET Host

<back to all web services

RequestTestSetById

The following routes are available for this service:
GET/service/api/v1/projects/{ProjectId}/testsets/{Id}Returns a test set by its IDThe test set with the specified ID must exist. The authenticating user must have the Read privilege for Test Sets.
Parameters:
NameParameterData TypeRequiredDescription
IdpathintYesThe ID of the test set you need to get
ProjectIdpathintYesThe ID of the project that contains the test set

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/RequestTestSetById HTTP/1.1 
Host: rest.qacomplete.smartbear.com 
Content-Type: text/jsv
Content-Length: length

{
	id: 0,
	project_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_formated: 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
}