StarterTemplate ASP.NET Host

<back to all web services

RequestRunItemLogBinV2

TestRunItem Service

The following routes are available for this service:
POST/service/automation/v2/hosts/{HostId}/runs/{RunId}/items/{SequenceNumber}/logsUploads a test log file for the test runThe authenticating user must have Read access to Test Hosts.
Parameters:
NameParameterData TypeRequiredDescription
FilebodyfileNoThe test log file to upload (.tcLogX or .xml)
SequenceNumberpathintYesThe 1-based index of the item in the test run
RunIdpathintYesThe ID of the test run that contains the script you need to get
HostIdpathintYesThe ID of the host computer

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

{"file_to_upload":{},"sequence_number":0,"run_id":0,"host_id":0}