StarterTemplate ASP.NET Host

<back to all web services

RequestTestSchedulePatch

Test Schedule Service

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

<RequestTestSchedulePatch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.TestSchedules">
  <Agents>String</Agents>
  <CustomFields xmlns:d2p1="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common" i:nil="true" />
  <DateBegin>0001-01-01T00:00:00</DateBegin>
  <DateEnd>0001-01-01T00:00:00</DateEnd>
  <DaysRun>String</DaysRun>
  <HostId>0</HostId>
  <Id>0</Id>
  <IsActive>false</IsActive>
  <ProjectId>0</ProjectId>
  <TestSetsIdsToRun xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </TestSetsIdsToRun>
  <TestsIdsToRun xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </TestsIdsToRun>
  <TimeRun>String</TimeRun>
  <Title>String</Title>
</RequestTestSchedulePatch>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ResponseTestScheduleSingle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.TestSchedules">
  <Agents>String</Agents>
  <CreateUserId>0</CreateUserId>
  <CustomFields xmlns:d2p1="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common" i:nil="true" />
  <DateBegin>0001-01-01T00:00:00</DateBegin>
  <DateCreated>0001-01-01T00:00:00</DateCreated>
  <DateEnd>0001-01-01T00:00:00</DateEnd>
  <DateOpened>0001-01-01T00:00:00</DateOpened>
  <DateUpdated>0001-01-01T00:00:00</DateUpdated>
  <DaysRun />
  <HostId>0</HostId>
  <HostName>String</HostName>
  <Id>0</Id>
  <IsActive>false</IsActive>
  <LastScheduleDate>0001-01-01T00:00:00</LastScheduleDate>
  <NbrFiles>0</NbrFiles>
  <NbrNotes>0</NbrNotes>
  <OpenedByName>String</OpenedByName>
  <OwnerName>String</OwnerName>
  <OwnerUserId>0</OwnerUserId>
  <ProjectId>0</ProjectId>
  <TimeRun>String</TimeRun>
  <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>
</ResponseTestScheduleSingle>