StarterTemplate ASP.NET Host

<back to all web services

RequestReleasePatch

Releases service

The following routes are available for this service:
PATCH/service/api/v1/projects/{ProjectId}/releases/{Id}Updates the specified fields of a releaseThe release with the specified ID must exist. The authenticating user must have the Update privilege for Releases.
Parameters:
NameParameterData TypeRequiredDescription
IdpathstringYesThe ID of the release
ProjectIdpathintYesThe ID of the project that contains releases

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

<RequestReleasePatch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Releases">
  <ProjectId>0</ProjectId>
  <Id>0</Id>
  <AssigneeUserId>0</AssigneeUserId>
  <CustomFields xmlns:d2p1="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common" i:nil="true" />
  <Description>String</Description>
  <EstFinishDate>0001-01-01T00:00:00</EstFinishDate>
  <EstStartDate>0001-01-01T00:00:00</EstStartDate>
  <FolderId>0</FolderId>
  <IsActive>false</IsActive>
  <IsAutoAdjustEstDates>false</IsAutoAdjustEstDates>
  <OwnerUserId>0</OwnerUserId>
  <ParentId>0</ParentId>
  <SeqNum>0</SeqNum>
  <StatusCode>String</StatusCode>
  <Title>String</Title>
</RequestReleasePatch>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ResponseReleaseSingle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Releases">
  <AssigneeUserId>0</AssigneeUserId>
  <CreateUserId>0</CreateUserId>
  <CreatedUserName>String</CreatedUserName>
  <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>
  <EstFinishDate>0001-01-01T00:00:00</EstFinishDate>
  <EstStartDate>0001-01-01T00:00:00</EstStartDate>
  <FolderId>0</FolderId>
  <FolderName>String</FolderName>
  <Id>0</Id>
  <ImportId>0</ImportId>
  <IsActive>false</IsActive>
  <IsAutoAdjustEstDates>false</IsAutoAdjustEstDates>
  <NbrFiles>0</NbrFiles>
  <NbrNotes>0</NbrNotes>
  <OwnerUserId>0</OwnerUserId>
  <ParentId>0</ParentId>
  <ParentName>String</ParentName>
  <ProjectId>0</ProjectId>
  <ReleaseId>0</ReleaseId>
  <ReleaseType>String</ReleaseType>
  <SeqNum>0</SeqNum>
  <StatusCode>String</StatusCode>
  <Title>String</Title>
  <UpdateUserId>0</UpdateUserId>
  <UpdatedUserName>String</UpdatedUserName>
  <__permissions xmlns:d2p1="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common">
    <d2p1:Acl>0</d2p1:Acl>
  </__permissions>
</ResponseReleaseSingle>