StarterTemplate ASP.NET Host

<back to all web services

RequestTestSetItemPut

TestSetItem Service

The following routes are available for this service:
PUT/service/api/v1/projects/{ProjectId}/testsets/{Id}/itemsUpdates a list of test set items (tests)The authenticating user must have the Update privilege for the Test Sets.
Parameters:
NameParameterData TypeRequiredDescription
IdpathintYesThe ID of the test set you want to update items in
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/RequestTestSetItemPut HTTP/1.1 
Host: rest.qacomplete.smartbear.com 
Content-Type: text/jsv
Content-Length: length

{
	id: 0,
	project_id: 0,
	items: 
	[
		{
			test_id: 0,
			is_active: False,
			is_stopped_on_fail: False,
			assignee_user_id: 0,
			default_host_id: 0,
			test_set_item_params: 
			[
				{
					name: String,
					value: 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
				}
			]
		}
	]
}