StarterTemplate ASP.NET Host

<back to all web services

RequestTestSetAllV2

TestSet Service

The following routes are available for this service:
GET/service/api/v2/projects/{ProjectId}/testsetsReturns a list of project's test setsThe authenticating user must have the Read privilege for the Test Sets.
Parameters:
NameParameterData TypeRequiredDescription
ProjectIdpathintYesThe ID of the project that contains test sets
OffsetqueryintNoThe number of test sets to skip before counting the returned test sets
LimitqueryintNoThe maximum number of test sets to return
FilterquerystringNoThe filter expression to apply to the list of test sets

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

{
	project_id: 0,
	offset: 0,
	limit: 0,
	filter: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	results: 
	[
		{
			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
		}
	]
}