GET api/MyProject

Gets all Project.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

A list of Projects

Collection of MyProject
NameDescriptionTypeAdditional information
projectID

Gets or sets the ID of the project.

integer

None.

projectName

Gets or sets the name of the project.

string

None.

lastUpdated

Gets or sets the last updated timestamp of the project.

string

None.

createdOn

Gets or sets the Created timestamp of the project.

string

None.

projectTask

Gets or sets the list of tasks in the project.

Collection of ProjectTask

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "projectID": 1,
    "projectName": "sample string 2",
    "lastUpdated": "sample string 3",
    "createdOn": "sample string 4",
    "projectTask": [
      {
        "taskID": 1,
        "taskName": "sample string 2",
        "description": "sample string 3",
        "progress": 4,
        "createdDate": "sample string 5",
        "taskStatus": "sample string 6"
      },
      {
        "taskID": 1,
        "taskName": "sample string 2",
        "description": "sample string 3",
        "progress": 4,
        "createdDate": "sample string 5",
        "taskStatus": "sample string 6"
      }
    ]
  },
  {
    "projectID": 1,
    "projectName": "sample string 2",
    "lastUpdated": "sample string 3",
    "createdOn": "sample string 4",
    "projectTask": [
      {
        "taskID": 1,
        "taskName": "sample string 2",
        "description": "sample string 3",
        "progress": 4,
        "createdDate": "sample string 5",
        "taskStatus": "sample string 6"
      },
      {
        "taskID": 1,
        "taskName": "sample string 2",
        "description": "sample string 3",
        "progress": 4,
        "createdDate": "sample string 5",
        "taskStatus": "sample string 6"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfMyProject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OTJServices.Models">
  <MyProject>
    <createdOn>sample string 4</createdOn>
    <lastUpdated>sample string 3</lastUpdated>
    <projectID>1</projectID>
    <projectName>sample string 2</projectName>
    <projectTask>
      <ProjectTask>
        <createdDate>sample string 5</createdDate>
        <description>sample string 3</description>
        <progress>4</progress>
        <taskID>1</taskID>
        <taskName>sample string 2</taskName>
        <taskStatus>sample string 6</taskStatus>
      </ProjectTask>
      <ProjectTask>
        <createdDate>sample string 5</createdDate>
        <description>sample string 3</description>
        <progress>4</progress>
        <taskID>1</taskID>
        <taskName>sample string 2</taskName>
        <taskStatus>sample string 6</taskStatus>
      </ProjectTask>
    </projectTask>
  </MyProject>
  <MyProject>
    <createdOn>sample string 4</createdOn>
    <lastUpdated>sample string 3</lastUpdated>
    <projectID>1</projectID>
    <projectName>sample string 2</projectName>
    <projectTask>
      <ProjectTask>
        <createdDate>sample string 5</createdDate>
        <description>sample string 3</description>
        <progress>4</progress>
        <taskID>1</taskID>
        <taskName>sample string 2</taskName>
        <taskStatus>sample string 6</taskStatus>
      </ProjectTask>
      <ProjectTask>
        <createdDate>sample string 5</createdDate>
        <description>sample string 3</description>
        <progress>4</progress>
        <taskID>1</taskID>
        <taskName>sample string 2</taskName>
        <taskStatus>sample string 6</taskStatus>
      </ProjectTask>
    </projectTask>
  </MyProject>
</ArrayOfMyProject>