HTTP + SOAP11
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /soap11 HTTP/1.1
Host: rest.qacomplete.smartbear.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: RequestTestSchedulePostV2
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<RequestTestSchedulePostV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.TestSchedules">
<Agents>String</Agents>
<CustomFields xmlns:d2p1="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common" i:nil="true" />
<DateBegin>0001-01-01T00:00:00</DateBegin>
<DateEnd>0001-01-01T00:00:00</DateEnd>
<DaysRun>String</DaysRun>
<HostId>0</HostId>
<IsActive>false</IsActive>
<ProjectId>0</ProjectId>
<TestSetsIdsToRun xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>0</d2p1:int>
</TestSetsIdsToRun>
<TestsIdsToRun xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>0</d2p1:int>
</TestsIdsToRun>
<TimeRun>String</TimeRun>
<Title>String</Title>
</RequestTestSchedulePostV2>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ResponseTestScheduleSingle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.TestSchedules">
<Agents>String</Agents>
<CreateUserId>0</CreateUserId>
<CustomFields xmlns:d2p1="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common" i:nil="true" />
<DateBegin>0001-01-01T00:00:00</DateBegin>
<DateCreated>0001-01-01T00:00:00</DateCreated>
<DateEnd>0001-01-01T00:00:00</DateEnd>
<DateOpened>0001-01-01T00:00:00</DateOpened>
<DateUpdated>0001-01-01T00:00:00</DateUpdated>
<DaysRun />
<HostId>0</HostId>
<HostName>String</HostName>
<Id>0</Id>
<IsActive>false</IsActive>
<LastScheduleDate>0001-01-01T00:00:00</LastScheduleDate>
<NbrFiles>0</NbrFiles>
<NbrNotes>0</NbrNotes>
<OpenedByName>String</OpenedByName>
<OwnerName>String</OwnerName>
<OwnerUserId>0</OwnerUserId>
<ProjectId>0</ProjectId>
<TimeRun>String</TimeRun>
<Title>String</Title>
<UpdateUserId>0</UpdateUserId>
<UserName>String</UserName>
<__permissions xmlns:d2p1="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common">
<d2p1:Acl>0</d2p1:Acl>
</__permissions>
</ResponseTestScheduleSingle>
</soap:Body>
</soap:Envelope>