StarterTemplate ASP.NET Host

<back to all web services

RequestTestSetAll

TestSet Service

The following routes are available for this service:
GET/service/api/v1/projects/{ProjectId}/testsetsReturns a list of project's test setsThe authenticating user must have the Read privilege for the Test Sets.
Parameters:
NameParameterData TypeRequiredDescription
ProjectIdpathintYesThe ID of the project that contains test sets
OffsetqueryintNoThe number of test sets to skip before counting the returned test sets
LimitqueryintNoThe maximum number of test sets to return
FilterquerystringNoThe filter expression to apply to the list of test sets

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/RequestTestSetAll HTTP/1.1 
Host: rest.qacomplete.smartbear.com 
Content-Type: application/json
Content-Length: length

{"project_id":0,"offset":0,"limit":0,"filter":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"results":[{"id":0,"project_id":0,"folder_id":0,"create_user_id":0,"update_user_id":0,"owner_user_id":0,"assignee_user_id":0,"title":"String","is_active":false,"is_sequential":false,"status_code":"String","priority_code":"String","execution_type":"String","description":"String","date_created":"0001-01-01T00:00:00.0000000","date_updated":"0001-01-01T00:00:00.0000000","folder_name":"String","assigned_to_name":"String","user_name":"String","owner_name":"String","nbr_tests":0,"last_run_status":"String","last_run_date":"0001-01-01T00:00:00.0000000","last_run_by_user_id":0,"last_run_by_user_name":"String","nbr_times_run":0,"avg_run_time":0,"avg_run_time_formated":"String","nbr_files":0,"nbr_notes":0,"last_run_release_id":0,"last_run_release_name":"String","last_run_test_config_id":0,"last_run_test_config_name":"String","allow_run":false,"nbr_schedules":0,"est_start":"0001-01-01T00:00:00.0000000","est_finish":"0001-01-01T00:00:00.0000000","est_hrs":0,"est_hrs_remaining":0,"act_start":"0001-01-01T00:00:00.0000000","act_finish":"0001-01-01T00:00:00.0000000","act_hrs":0,"pct_complete":0,"original_id":0,"import_id":0}]}