HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/RequestRunsAllV2 HTTP/1.1
Host: rest.qacomplete.smartbear.com
Content-Type: application/xml
Content-Length: length
<RequestRunsAllV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.AutomationService.DTO.V2.TestRun">
<HostId xmlns="http://schemas.datacontract.org/2004/07/SwpStack.AutomationService.DTO.Common.TestRun">0</HostId>
<Limit xmlns="http://schemas.datacontract.org/2004/07/SwpStack.AutomationService.DTO.Common.TestRun">0</Limit>
<Offset xmlns="http://schemas.datacontract.org/2004/07/SwpStack.AutomationService.DTO.Common.TestRun">0</Offset>
</RequestRunsAllV2>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ResponseRunCollectionV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.AutomationService.DTO.V2.TestRun">
<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.AutomationService.DTO.V2.TestRun" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common">
<d2p1:ResponseSingleRunV2>
<Agents xmlns="http://schemas.datacontract.org/2004/07/SwpStack.AutomationService.DTO.Common.TestRun">String</Agents>
<Id xmlns="http://schemas.datacontract.org/2004/07/SwpStack.AutomationService.DTO.Common.TestRun">0</Id>
<IsSequential xmlns="http://schemas.datacontract.org/2004/07/SwpStack.AutomationService.DTO.Common.TestRun">false</IsSequential>
<Status xmlns="http://schemas.datacontract.org/2004/07/SwpStack.AutomationService.DTO.Common.TestRun">String</Status>
<d2p1:TestRunItems xmlns:d4p1="http://schemas.datacontract.org/2004/07/SwpStack.AutomationService.DTO.V2.TestRunItem">
<d4p1:ResponseSingleRunItemV2>
<DateFinished xmlns="http://schemas.datacontract.org/2004/07/SwpStack.AutomationService.DTO.Common.TestRunItem">0001-01-01T00:00:00</DateFinished>
<DateStarted xmlns="http://schemas.datacontract.org/2004/07/SwpStack.AutomationService.DTO.Common.TestRunItem">0001-01-01T00:00:00</DateStarted>
<RunTime xmlns="http://schemas.datacontract.org/2004/07/SwpStack.AutomationService.DTO.Common.TestRunItem">0</RunTime>
<SequenceNumber xmlns="http://schemas.datacontract.org/2004/07/SwpStack.AutomationService.DTO.Common.TestRunItem">0</SequenceNumber>
<Status xmlns="http://schemas.datacontract.org/2004/07/SwpStack.AutomationService.DTO.Common.TestRunItem">String</Status>
<StopOnFail xmlns="http://schemas.datacontract.org/2004/07/SwpStack.AutomationService.DTO.Common.TestRunItem">false</StopOnFail>
<TestRunResults xmlns="http://schemas.datacontract.org/2004/07/SwpStack.AutomationService.DTO.Common.TestRunItem">
<ResponseSingleRunResult>
<ActualResult>String</ActualResult>
<ExpectedResult>String</ExpectedResult>
<SequenceNumber>0</SequenceNumber>
<Status>String</Status>
<Step>String</Step>
<StopOnFail>false</StopOnFail>
</ResponseSingleRunResult>
</TestRunResults>
<d4p1:Automations xmlns:d6p1="http://schemas.datacontract.org/2004/07/SwpStack.AutomationService.DTO.V2.Automation">
<d6p1:ResponseSingleAutomationV2>
<Agent xmlns="http://schemas.datacontract.org/2004/07/SwpStack.AutomationService.DTO.Common.Automation">String</Agent>
<Timeout xmlns="http://schemas.datacontract.org/2004/07/SwpStack.AutomationService.DTO.Common.Automation">0</Timeout>
<d6p1:Params />
<d6p1:RunMode>0</d6p1:RunMode>
</d6p1:ResponseSingleAutomationV2>
</d4p1:Automations>
</d4p1:ResponseSingleRunItemV2>
</d2p1:TestRunItems>
</d2p1:ResponseSingleRunV2>
</Results>
</ResponseRunCollectionV2>