StarterTemplate ASP.NET Host

<back to all web services

RequestTestSetItemBySeqPut

TestSetItem Service

The following routes are available for this service:
PUT/service/api/v1/projects/{ProjectId}/testsets/{Id}/items/{Seq}Updates a test set item at 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 that contains the item you need to update
ProjectIdpathintYesThe ID of the project that contains the test set
SeqpathintYesThe ordinal number of the test set item you need to update

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

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