StarterTemplate ASP.NET Host

<back to all web services

RequestTestSetAll

TestSet Service

The following routes are available for this service:
GET/service/api/v1/projects/{ProjectId}/testsetsReturns a list of project's test setsThe authenticating user must have the Read privilege for the Test Sets.
Parameters:
NameParameterData TypeRequiredDescription
ProjectIdpathintYesThe ID of the project that contains test sets
OffsetqueryintNoThe number of test sets to skip before counting the returned test sets
LimitqueryintNoThe maximum number of test sets to return
FilterquerystringNoThe filter expression to apply to the list of test sets

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/RequestTestSetAll HTTP/1.1 
Host: rest.qacomplete.smartbear.com 
Content-Type: application/xml
Content-Length: length

<RequestTestSetAll xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.TestSets.V1">
  <Filter>String</Filter>
  <Limit>0</Limit>
  <Offset>0</Offset>
  <ProjectId>0</ProjectId>
</RequestTestSetAll>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ResponseTestSetCollection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.TestSets.V1">
  <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.TestSets.V1" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common">
    <d2p1:ResponseTestSetSingle>
      <d2p1:ActFinish>0001-01-01T00:00:00</d2p1:ActFinish>
      <d2p1:ActHrs>0</d2p1:ActHrs>
      <d2p1:ActStart>0001-01-01T00:00:00</d2p1:ActStart>
      <d2p1:AllowRun>false</d2p1:AllowRun>
      <d2p1:AssignedToName>String</d2p1:AssignedToName>
      <d2p1:AssigneeUserId>0</d2p1:AssigneeUserId>
      <d2p1:AvgRunTime>0</d2p1:AvgRunTime>
      <d2p1:AvgRunTimeFormated>String</d2p1:AvgRunTimeFormated>
      <d2p1:CreateUserId>0</d2p1:CreateUserId>
      <d2p1:CustomFields i:nil="true" />
      <d2p1:DateCreated>0001-01-01T00:00:00</d2p1:DateCreated>
      <d2p1:DateUpdated>0001-01-01T00:00:00</d2p1:DateUpdated>
      <d2p1:Description>String</d2p1:Description>
      <d2p1:EstFinish>0001-01-01T00:00:00</d2p1:EstFinish>
      <d2p1:EstHrs>0</d2p1:EstHrs>
      <d2p1:EstHrsRemaining>0</d2p1:EstHrsRemaining>
      <d2p1:EstStart>0001-01-01T00:00:00</d2p1:EstStart>
      <d2p1:ExecutionType>String</d2p1:ExecutionType>
      <d2p1:FolderId>0</d2p1:FolderId>
      <d2p1:FolderName>String</d2p1:FolderName>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:ImportId>0</d2p1:ImportId>
      <d2p1:IsActive>false</d2p1:IsActive>
      <d2p1:IsSequential>false</d2p1:IsSequential>
      <d2p1:LastRunByUserId>0</d2p1:LastRunByUserId>
      <d2p1:LastRunByUserName>String</d2p1:LastRunByUserName>
      <d2p1:LastRunDate>0001-01-01T00:00:00</d2p1:LastRunDate>
      <d2p1:LastRunReleaseId>0</d2p1:LastRunReleaseId>
      <d2p1:LastRunReleaseName>String</d2p1:LastRunReleaseName>
      <d2p1:LastRunStatus>String</d2p1:LastRunStatus>
      <d2p1:LastRunTestConfigId>0</d2p1:LastRunTestConfigId>
      <d2p1:LastRunTestConfigName>String</d2p1:LastRunTestConfigName>
      <d2p1:NbrFiles>0</d2p1:NbrFiles>
      <d2p1:NbrNotes>0</d2p1:NbrNotes>
      <d2p1:NbrSchedules>0</d2p1:NbrSchedules>
      <d2p1:NbrTests>0</d2p1:NbrTests>
      <d2p1:NbrTimesRun>0</d2p1:NbrTimesRun>
      <d2p1:OriginalId>0</d2p1:OriginalId>
      <d2p1:OwnerName>String</d2p1:OwnerName>
      <d2p1:OwnerUserId>0</d2p1:OwnerUserId>
      <d2p1:PctComplete>0</d2p1:PctComplete>
      <d2p1:PriorityCode>String</d2p1:PriorityCode>
      <d2p1:ProjectId>0</d2p1:ProjectId>
      <d2p1:StatusCode>String</d2p1:StatusCode>
      <d2p1:Title>String</d2p1:Title>
      <d2p1:UpdateUserId>0</d2p1:UpdateUserId>
      <d2p1:UserName>String</d2p1:UserName>
    </d2p1:ResponseTestSetSingle>
  </Results>
</ResponseTestSetCollection>