StarterTemplate ASP.NET Host

<back to all web services

RequestTestSetParamsPut

The following routes are available for this service:
PUT/service/api/v2/projects/{ProjectId}/testsets/{Id}/paramsUpdate a list of the parameters of the test setThe test set with the specified ID must exist. The authenticating user must have the Read privilege for Test Sets.
Parameters:
NameParameterData TypeRequiredDescription
ProjectIdpathintYesThe ID of the project that contains the test set
IdpathintYesThe ID of the test set you need to get

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

<RequestTestSetParamsPut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.TestParams.TestSet">
  <Id>0</Id>
  <ProjectId>0</ProjectId>
  <TestParamsDefinition xmlns:d2p1="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.TestParams">
    <d2p1:TestParamsDefinitionDto>
      <d2p1:DefaultValue>String</d2p1:DefaultValue>
      <d2p1:Description>String</d2p1:Description>
      <d2p1:Name>String</d2p1:Name>
    </d2p1:TestParamsDefinitionDto>
  </TestParamsDefinition>
</RequestTestSetParamsPut>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ResponseTestParamsCollection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.TestParams">
  <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.TestParams" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common">
    <d2p1:ResponseTestParams>
      <d2p1:DefaultValue>String</d2p1:DefaultValue>
      <d2p1:Description>String</d2p1:Description>
      <d2p1:Name>String</d2p1:Name>
    </d2p1:ResponseTestParams>
  </Results>
</ResponseTestParamsCollection>