GET api/Task

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of DayTask
NameDescriptionTypeAdditional information
ProjectTaskId

integer

None.

TaskId

integer

None.

TaskName

string

None.

ProjectId

integer

None.

ProjectName

string

None.

TypeId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProjectTaskId": 1,
    "TaskId": 2,
    "TaskName": "sample string 3",
    "ProjectId": 4,
    "ProjectName": "sample string 5",
    "TypeId": 6
  },
  {
    "ProjectTaskId": 1,
    "TaskId": 2,
    "TaskName": "sample string 3",
    "ProjectId": 4,
    "ProjectName": "sample string 5",
    "TypeId": 6
  }
]

text/html

Sample:
[{"ProjectTaskId":1,"TaskId":2,"TaskName":"sample string 3","ProjectId":4,"ProjectName":"sample string 5","TypeId":6},{"ProjectTaskId":1,"TaskId":2,"TaskName":"sample string 3","ProjectId":4,"ProjectName":"sample string 5","TypeId":6}]

application/xml, text/xml

Sample:
<ArrayOfDayTask xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DayAPI.Models">
  <DayTask>
    <ProjectId>4</ProjectId>
    <ProjectName>sample string 5</ProjectName>
    <ProjectTaskId>1</ProjectTaskId>
    <TaskId>2</TaskId>
    <TaskName>sample string 3</TaskName>
    <TypeId>6</TypeId>
  </DayTask>
  <DayTask>
    <ProjectId>4</ProjectId>
    <ProjectName>sample string 5</ProjectName>
    <ProjectTaskId>1</ProjectTaskId>
    <TaskId>2</TaskId>
    <TaskName>sample string 3</TaskName>
    <TypeId>6</TypeId>
  </DayTask>
</ArrayOfDayTask>