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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/RequestTestSetItemBySeqPost HTTP/1.1 
Host: rest.qacomplete.smartbear.com 
Content-Type: application/json
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: application/json
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-01T00:00:00.0000000","date_updated":"0001-01-01T00:00:00.0000000","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"}]}