HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/RequestTestRunGet HTTP/1.1
Host: rest.qacomplete.smartbear.com
Content-Type: application/xml
Content-Length: length
<RequestTestRunGet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.TestRuns">
<Filter>String</Filter>
<Limit>0</Limit>
<Offset>0</Offset>
<ProjectId>0</ProjectId>
</RequestTestRunGet>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ResponseTestRunsCollection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.TestRuns">
<Metadata i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common" />
<Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.TestRuns" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common">
<d2p1:ResponseTestRunSingle>
<d2p1:Agents>String</d2p1:Agents>
<d2p1:ConfigurationName>String</d2p1:ConfigurationName>
<d2p1:DateFinished>0001-01-01T00:00:00</d2p1:DateFinished>
<d2p1:DateStarted>0001-01-01T00:00:00</d2p1:DateStarted>
<d2p1:ExecutionType>String</d2p1:ExecutionType>
<d2p1:Id>0</d2p1:Id>
<d2p1:IsSequential>false</d2p1:IsSequential>
<d2p1:NbrAwaitingRun>0</d2p1:NbrAwaitingRun>
<d2p1:NbrBlocked>0</d2p1:NbrBlocked>
<d2p1:NbrFailed>0</d2p1:NbrFailed>
<d2p1:NbrPassed>0</d2p1:NbrPassed>
<d2p1:NbrTests>0</d2p1:NbrTests>
<d2p1:ProjectId>0</d2p1:ProjectId>
<d2p1:ReleaseId>0</d2p1:ReleaseId>
<d2p1:ReleaseName>String</d2p1:ReleaseName>
<d2p1:RunByHostId>0</d2p1:RunByHostId>
<d2p1:RunByUserId>0</d2p1:RunByUserId>
<d2p1:RunByUserName>String</d2p1:RunByUserName>
<d2p1:RunTime>0</d2p1:RunTime>
<d2p1:RunTimeFormatted>String</d2p1:RunTimeFormatted>
<d2p1:RunningSince>0001-01-01T00:00:00</d2p1:RunningSince>
<d2p1:ScheduleId>String</d2p1:ScheduleId>
<d2p1:StatusCode>String</d2p1:StatusCode>
<d2p1:TestConfigId>0</d2p1:TestConfigId>
<d2p1:TestHost>String</d2p1:TestHost>
<d2p1:TestSetId>0</d2p1:TestSetId>
<d2p1:TestSetName>String</d2p1:TestSetName>
</d2p1:ResponseTestRunSingle>
</Results>
</ResponseTestRunsCollection>