StarterTemplate ASP.NET Host

<back to all web services

RequestTestSetPut

TestSet Service

The following routes are available for this service:
PUT/service/api/v1/projects/{ProjectId}/testsets/{Id}Updates a test setThe test set with the specified ID must exist. The authenticating user must have the Update privilege for Test Sets.
Parameters:
NameParameterData TypeRequiredDescription
ProjectIdpathintYesThe ID of the project that contains the test set
IdpathintYesThe ID of the test you need to update

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

{"project_id":0,"id":0,"title":"String","folder_id":0,"is_sequential":false,"is_active":false,"assignee_user_id":0,"status_code":"String","priority_code":"String","execution_type":"String","description":"String","owner_user_id":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}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

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