GET api/Project/ProjectType_Read

get list of the available and published project types

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ProjectType
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

Label

Translation

None.

IsPublished

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "Name": "sample string 2",
    "Label": {
      "nl": "sample string 1",
      "fr": "sample string 2",
      "en": "sample string 3",
      "de": "sample string 4"
    },
    "IsPublished": true
  },
  {
    "ID": 1,
    "Name": "sample string 2",
    "Label": {
      "nl": "sample string 1",
      "fr": "sample string 2",
      "en": "sample string 3",
      "de": "sample string 4"
    },
    "IsPublished": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfProjectType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model.Prj">
  <ProjectType>
    <ID>1</ID>
    <IsPublished>true</IsPublished>
    <Label xmlns:d3p1="http://schemas.datacontract.org/2004/07/Model.App">
      <d3p1:de>sample string 4</d3p1:de>
      <d3p1:en>sample string 3</d3p1:en>
      <d3p1:fr>sample string 2</d3p1:fr>
      <d3p1:nl>sample string 1</d3p1:nl>
    </Label>
    <Name>sample string 2</Name>
  </ProjectType>
  <ProjectType>
    <ID>1</ID>
    <IsPublished>true</IsPublished>
    <Label xmlns:d3p1="http://schemas.datacontract.org/2004/07/Model.App">
      <d3p1:de>sample string 4</d3p1:de>
      <d3p1:en>sample string 3</d3p1:en>
      <d3p1:fr>sample string 2</d3p1:fr>
      <d3p1:nl>sample string 1</d3p1:nl>
    </Label>
    <Name>sample string 2</Name>
  </ProjectType>
</ArrayOfProjectType>