StarterTemplate ASP.NET Host

<back to all web services

RequestTestSetItemBySeqPatch

TestSetItem Service

The following routes are available for this service:
PATCH/service/api/v1/projects/{ProjectId}/testsets/{Id}/items/{Seq}Updates the fields of a test set item specified by its position in a test setThe authenticating user must have the Update privilege for the Test Sets.
Parameters:
NameParameterData TypeRequiredDescription
IdpathintYesThe ID of the test that contains the item that has the fields you need to update
ProjectIdpathintYesThe ID of the project that contains the test sets
SeqpathintYesThe ordinal number of the test set item that has the 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/RequestTestSetItemBySeqPatch HTTP/1.1 
Host: rest.qacomplete.smartbear.com 
Content-Type: text/jsv
Content-Length: length

{
	id: 0,
	project_id: 0,
	seq: 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

{
	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
		}
	]
}