StarterTemplate ASP.NET Host

<back to all web services

RequestTestRunItemPut

TestRunItem Service

The following routes are available for this service:
PUT/service/api/v2/projects/{ProjectId}/testruns/{Id}/items/{ItemId}Updates the test run itemThe authenticating user must have the Update privilege for the Test Library.
Parameters:
NameParameterData TypeRequiredDescription
ProjectIdpathintYesThe ID of the project that contains the test run
IdpathintYesThe ID of the test run that contains the item
ItemIdpathintYesThe ID of the test run item that has the fields 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/RequestTestRunItemPut HTTP/1.1 
Host: rest.qacomplete.smartbear.com 
Content-Type: application/json
Content-Length: length

{"project_id":0,"id":0,"item_id":0,"critical":false,"run_time":0,"run_by_user_id":0,"run_by_host_id":0,"save_to_test_library":false,"status_code":"String","steps":[{"seq":0,"step_name":"String","step_criteria":"String","status_code":"String","test_step_id":0,"test_run_result_id":0,"expected_result":"String","actual_result":"String","critical":false}]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"id":0,"test_set_id":0,"project_id":0,"test_run_id":0,"test_id":0,"test_name":"String","version":0,"sequence_number":0,"seq_token":0,"status_code":"String","date_started":"0001-01-01T00:00:00.0000000","date_finished":"0001-01-01T00:00:00.0000000","run_time":0,"run_time_formatted":"String","is_stopped_on_fail":false,"last_run_by_name":"String","release_id":0,"release_name":"String","test_config_id":0,"configuration_name":"String","test_set_name":"String","avg_run_time":0,"avg_run_time_formatted":"String","folder_name":"String","test_description":"String","last_run_date":"0001-01-01T00:00:00.0000000","iteration_cnt":0,"is_tokenized":false,"test_run_started":"0001-01-01T00:00:00.0000000","run_by_user_id":0,"run_by_user_name":"String","last_run_status":"String","status_updated_by":0,"status_updated_by_user_name":"String","test_run_results":[{"id":0,"test_run_item_id":0,"seq":0,"is_stopped_on_fail":false,"status_code":"String","step":"String","step_criteria":"String","expected_result":"String","actual_result":"String","test_step_id":0,"project_id":0,"iteration_cnt":0,"is_tokenized":false}],"run_by_host_id":0,"file_report":"String","file_log":"String","automated":false,"test_host":"String"}