GET api/v1/projects

Get a list of projects

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Returns a list of ProjectInfo objects.

Collection of ProjectSimpleDto
NameDescriptionTypeAdditional information
Id

integer

None.

Number

integer

None.

Title

string

None.

ParentProjectId

integer

None.

IsTemplate

boolean

None.

CountryId

integer

None.

ProjectTypeId

integer

None.

ProjectStatusId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "number": 2,
    "title": "sample string 3",
    "parentProjectId": 1,
    "isTemplate": true,
    "countryId": 1,
    "projectTypeId": 5,
    "projectStatusId": 6
  },
  {
    "id": 1,
    "number": 2,
    "title": "sample string 3",
    "parentProjectId": 1,
    "isTemplate": true,
    "countryId": 1,
    "projectTypeId": 5,
    "projectStatusId": 6
  }
]

application/xml, text/xml

Sample:
<ArrayOfProjectSimpleDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Workpilot.ServiceLayer.Models">
  <ProjectSimpleDto>
    <CountryId>1</CountryId>
    <Id>1</Id>
    <IsTemplate>true</IsTemplate>
    <Number>2</Number>
    <ParentProjectId>1</ParentProjectId>
    <ProjectStatusId>6</ProjectStatusId>
    <ProjectTypeId>5</ProjectTypeId>
    <Title>sample string 3</Title>
  </ProjectSimpleDto>
  <ProjectSimpleDto>
    <CountryId>1</CountryId>
    <Id>1</Id>
    <IsTemplate>true</IsTemplate>
    <Number>2</Number>
    <ParentProjectId>1</ParentProjectId>
    <ProjectStatusId>6</ProjectStatusId>
    <ProjectTypeId>5</ProjectTypeId>
    <Title>sample string 3</Title>
  </ProjectSimpleDto>
</ArrayOfProjectSimpleDto>