StarterTemplate ASP.NET Host

<back to all web services

RequestLinkedItemPostSearch

Linked items service

Returns the list of links in a projectThe authenticating user must have the Read privilege for the entity (Defects, Tests and so on) that contains the link. This method fully equivalent to GET method, but this one allows you to send large filter string.
Parameters:
NameParameterData TypeRequiredDescription
EntityCodepathstringYesThe type of the item that has the linked item
EntityIdpathintYesThe ID of the item that has the linked item
OffsetqueryintNoThe number of linked items to skip before counting the returned items
LimitqueryintNoThe maximum number of linked items to return
ProjectIdpathintYesThe ID of the project that contains the item

To override the Content-type in your clients HTTP Accept Header, append the .soap12 suffix or ?format=soap12

HTTP + SOAP12

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap12 HTTP/1.1 
Host: rest.qacomplete.smartbear.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<RequestLinkedItemPostSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.LinkedItems">
  <ProjectId>0</ProjectId>
  <EntityCode>String</EntityCode>
  <EntityId>0</EntityId>
  <Filter>String</Filter>
  <Limit>0</Limit>
  <Offset>0</Offset>
</RequestLinkedItemPostSearch>

    </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<ResponseLinkedItemsCollection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.LinkedItems">
  <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.LinkedItems" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common">
    <d2p1:ResponseLinkedItemSingle>
      <d2p1:DateUpdated>0001-01-01T00:00:00</d2p1:DateUpdated>
      <d2p1:EntityCode>String</d2p1:EntityCode>
      <d2p1:EntityId>0</d2p1:EntityId>
      <d2p1:IsActive>false</d2p1:IsActive>
      <d2p1:LinkId>0</d2p1:LinkId>
      <d2p1:LinkedEntityCode>String</d2p1:LinkedEntityCode>
      <d2p1:LinkedEntityId>0</d2p1:LinkedEntityId>
      <d2p1:Status>String</d2p1:Status>
      <d2p1:Title>String</d2p1:Title>
      <d2p1:UpdateUserId>0</d2p1:UpdateUserId>
      <d2p1:UpdatedUserName>String</d2p1:UpdatedUserName>
    </d2p1:ResponseLinkedItemSingle>
  </Results>
</ResponseLinkedItemsCollection>

    </soap12:Body>
</soap12:Envelope>