StarterTemplate ASP.NET Host

<back to all web services

RequestTestSetItemBySeqPost

TestSetItem Service

Inserts a test set item to the specified position in a test setThe authenticating user must have the Update privilege for the Test Sets.
Parameters:
NameParameterData TypeRequiredDescription
IdpathintYesThe ID of the test set you need to add an item to
ProjectIdpathintYesThe ID of the project that contains the test set
SeqpathintYesThe position in the test you need to add the test set item to

To override the Content-type in your clients HTTP Accept Header, append the .soap11 suffix or ?format=soap11

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: RequestTestSetItemBySeqPost

<?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>

<RequestTestSetItemBySeqPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.TestSetItems">
  <AssigneeUserId>0</AssigneeUserId>
  <DefaultHostId>0</DefaultHostId>
  <Id>0</Id>
  <IsActive>false</IsActive>
  <IsStoppedOnFail>false</IsStoppedOnFail>
  <ProjectId>0</ProjectId>
  <Seq>0</Seq>
  <TestId>0</TestId>
  <TestSetItemParams xmlns:d2p1="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.TestParams">
    <d2p1:TestParamsDto>
      <d2p1:Name>String</d2p1:Name>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:TestParamsDto>
  </TestSetItemParams>
</RequestTestSetItemBySeqPost>

    </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>

<ResponseTestSetItemSingle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.TestSetItems">
  <AssigneeUserId>0</AssigneeUserId>
  <CreateUserId>0</CreateUserId>
  <DateCreated>0001-01-01T00:00:00</DateCreated>
  <DateUpdated>0001-01-01T00:00:00</DateUpdated>
  <DefaultHostId>0</DefaultHostId>
  <Id>0</Id>
  <IsActive>false</IsActive>
  <IsStoppedOnFail>false</IsStoppedOnFail>
  <NbrFiles>0</NbrFiles>
  <NbrNotes>0</NbrNotes>
  <NbrSteps>0</NbrSteps>
  <ProjectId>0</ProjectId>
  <Seq>0</Seq>
  <TestId>0</TestId>
  <TestSetId>0</TestSetId>
  <TestSetItemParams xmlns:d2p1="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.TestParams">
    <d2p1:TestParamsDto>
      <d2p1:Name>String</d2p1:Name>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:TestParamsDto>
  </TestSetItemParams>
  <Title>String</Title>
  <UpdateUserId>0</UpdateUserId>
</ResponseTestSetItemSingle>

    </soap:Body>
</soap:Envelope>