GET api/Task/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

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
}

text/html

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

application/xml, text/xml

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