StarterTemplate ASP.NET Host

<back to all web services

RequestTestConfigurationPutV2

Test Configuration Service

The following routes are available for this service:
PUT/service/api/v2/projects/{ProjectId}/configurations/{Id}Updates a test configurationThe test configuration with the specified ID must exist. The authenticating user must have the Update privilege for Test Library.
Parameters:
NameParameterData TypeRequiredDescription
ProjectIdpathintYesThe ID of the project that contains the test configuration
IdpathintYesThe ID of the test configuration 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/RequestTestConfigurationPutV2 HTTP/1.1 
Host: rest.qacomplete.smartbear.com 
Content-Type: application/xml
Content-Length: length

<RequestTestConfigurationPutV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.TestConfigurations">
  <Browser>String</Browser>
  <CustomFields xmlns:d2p1="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common" i:nil="true" />
  <Description>String</Description>
  <FolderId>0</FolderId>
  <Id>0</Id>
  <ImportId>0</ImportId>
  <IsActive>false</IsActive>
  <IsCBT>false</IsCBT>
  <OperatingSystem>String</OperatingSystem>
  <OriginalId>0</OriginalId>
  <OwnerUserId>0</OwnerUserId>
  <ProjectId>0</ProjectId>
  <Resolution>String</Resolution>
  <Title>String</Title>
</RequestTestConfigurationPutV2>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ResponseTestConfigurationSingle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.TestConfigurations">
  <Browser>String</Browser>
  <CreateUserId>0</CreateUserId>
  <CustomFields xmlns:d2p1="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common" i:nil="true" />
  <DateCreated>0001-01-01T00:00:00</DateCreated>
  <DateUpdated>0001-01-01T00:00:00</DateUpdated>
  <Description>String</Description>
  <FolderId>0</FolderId>
  <FolderName>String</FolderName>
  <Id>0</Id>
  <ImportId>0</ImportId>
  <IsActive>false</IsActive>
  <IsCBT>false</IsCBT>
  <NbrFiles>0</NbrFiles>
  <NbrFilesNotSecured>0</NbrFilesNotSecured>
  <NbrNotes>0</NbrNotes>
  <NotesDescription>String</NotesDescription>
  <OperatingSystem>String</OperatingSystem>
  <OriginalId>0</OriginalId>
  <OwnerName>String</OwnerName>
  <OwnerUserId>0</OwnerUserId>
  <ProjectId>0</ProjectId>
  <Resolution>String</Resolution>
  <Title>String</Title>
  <UpdateUserId>0</UpdateUserId>
  <UserName>String</UserName>
  <__permissions xmlns:d2p1="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common">
    <d2p1:Acl>0</d2p1:Acl>
  </__permissions>
</ResponseTestConfigurationSingle>