StarterTemplate ASP.NET Host

<back to all web services

RequestProjectsAll

Project Service

The following routes are available for this service:
GET/service/api/v1/projectsReturns the list of available projectsReturns only the projects to which the user has access.
Parameters:
NameParameterData TypeRequiredDescription
OffsetqueryintNoThe number of projects to skip before counting the returned projects
LimitqueryintNoThe maximum number of projects to return

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

<RequestProjectsAll xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Projects">
  <Limit>0</Limit>
  <Offset>0</Offset>
</RequestProjectsAll>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ResponseProjectsCollection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Projects">
  <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.Projects" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common">
    <d2p1:ResponseProjectSingle>
      <d2p1:DateCreated>0001-01-01T00:00:00</d2p1:DateCreated>
      <d2p1:DateUpdated>0001-01-01T00:00:00</d2p1:DateUpdated>
      <d2p1:DeptId>0</d2p1:DeptId>
      <d2p1:DeptName>String</d2p1:DeptName>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:IsActive>false</d2p1:IsActive>
      <d2p1:NbrFiles>0</d2p1:NbrFiles>
      <d2p1:NbrNotes>0</d2p1:NbrNotes>
      <d2p1:ProjName>String</d2p1:ProjName>
      <d2p1:__permissions>
        <Acl>0</Acl>
      </d2p1:__permissions>
    </d2p1:ResponseProjectSingle>
  </Results>
</ResponseProjectsCollection>