GET api/v1/Task/getInfo?TaskId={TaskId}&FullInfo={FullInfo}

Lấy thông tin 1 task

Request Information

URI Parameters

NameDescriptionTypeAdditional information
TaskId

integer

Required

FullInfo

true: bao gồm danh sách Follower, Danh sách file, comment, task con

boolean

Required

Body Parameters

None.

Response Information

Resource Description

ReturnResult
NameDescriptionTypeAdditional information
ErrorCode

integer

None.

ErrorMessage

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorCode": 1,
  "ErrorMessage": "sample string 2",
  "Data": {}
}

application/xml, text/xml

Sample:
<ReturnResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TeamworkClassLibrary">
  <Data />
  <ErrorCode>1</ErrorCode>
  <ErrorMessage>sample string 2</ErrorMessage>
</ReturnResult>