StarterTemplate ASP.NET Host

<back to all web services

RequestTestSetItemBySeqPost

TestSetItem Service

The following routes are available for this service:
POST/service/api/v1/projects/{ProjectId}/testsets/{Id}/items/{Seq}Inserts a test set item to the specified position in a test setThe authenticating user must have the Update privilege for the Test Sets.
Parameters:
NameParameterData TypeRequiredDescription
IdpathintYesThe ID of the test set you need to add an item to
ProjectIdpathintYesThe ID of the project that contains the test set
SeqpathintYesThe position in the test you need to add the test set item to

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

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

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