StarterTemplate ASP.NET Host

<back to all web services

RequestTestSetItemAll

TestSetItem Service

The following routes are available for this service:
GET/service/api/v1/projects/{ProjectId}/testsets/{Id}/itemsReturns the list of test set items (tests)The authenticating user must have the Read privilege for the Test Sets.
Parameters:
NameParameterData TypeRequiredDescription
IdpathintYesThe ID of the test set that contains items you need to get
ProjectIdpathintYesThe ID of the project that contains the test set
OffsetqueryintNoThe number of test set items to skip before counting the returned test set items
LimitqueryintNoThe maximum number of test set items to return
FilterquerystringNoThe filter expression to apply to the list of test set items

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

{
	id: 0,
	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,
			test_set_id: 0,
			test_id: 0,
			seq: 0,
			is_active: False,
			is_stopped_on_fail: False,
			assignee_user_id: 0,
			default_host_id: 0,
			date_created: 0001-01-01,
			date_updated: 0001-01-01,
			create_user_id: 0,
			update_user_id: 0,
			title: String,
			nbr_steps: 0,
			nbr_files: 0,
			nbr_notes: 0,
			test_set_item_params: 
			[
				{
					name: String,
					value: String
				}
			]
		}
	]
}