StarterTemplate ASP.NET Host

<back to all web services

RequestTestSetItemBySeqGet

TestSetItem Service

The following routes are available for this service:
GET/service/api/v1/projects/{ProjectId}/testsets/{Id}/items/{Seq}Returns a test set item by its ordinal number in a test setThe authenticating user must have the Read privilege for the Test Sets.
Parameters:
NameParameterData TypeRequiredDescription
IdpathintYesThe ID of the test set that contains the item you need to get
ProjectIdpathintYesThe ID of the project that contains the test set
SeqpathintYesThe ordinal number of the item in the test set

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

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/RequestTestSetItemBySeqGet HTTP/1.1 
Host: rest.qacomplete.smartbear.com 
Content-Type: application/xml
Content-Length: length

<RequestTestSetItemBySeqGet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.TestSetItems">
  <Id>0</Id>
  <ProjectId>0</ProjectId>
  <Seq>0</Seq>
</RequestTestSetItemBySeqGet>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

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