GET api/Jobs/GetJobTree/{id}?Tab={Tab}&SelectedDate={SelectedDate}&Lang={Lang}

Đọc thông tin công việc (Job) dạng cây

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

ID của công việc cần đọc.

integer

Required

Tab

Tab công việc hiện hành, có thể bỏ qua.

integer

Default value is 0

SelectedDate

Ngày đang chọn, có thể bỏ qua.

date

None.

Lang

Ngôn ngữ của nội dung trả về. Có thể là "vi" (tiếng Việt) hoặc "en" (tiếng Anh). Mặc định là "vi".

string

Default value is vi

Body Parameters

None.

Response Information

Resource Description

Trả về thông tin chi tiết công việc dạng cây .

TJobDetailModel
NameDescriptionTypeAdditional information
id

ID công việc (Job)

integer

None.

JobNode

Nút công việc (gốc cây công việc)

TJobNode

None.

SelectedDate

Ngày chọn

date

None.

Tab

Loại danh sách hiển thị: Tab = 0: danh sách công việc do mình tạo ra Tab = 1: danh sách công việc được mời tham gia

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "JobNode": {
    "$id": "2",
    "ID": 1,
    "Title": "sample string 2",
    "Summary": "sample string 3",
    "Location": "sample string 4",
    "Content": "sample string 5",
    "ExpectedResult": "sample string 6",
    "StartTime": "2026-01-09T22:10:16.1873447+07:00",
    "EndTime": "2026-01-09T22:10:16.1873447+07:00",
    "State": 9,
    "StateString": "sample string 10",
    "StateTitle": "sample string 11",
    "StateColor": "sample string 12",
    "OverDeadline": "sample string 13",
    "Note": "sample string 14",
    "SourceID": 15,
    "ResponsibleID": 16,
    "FullName": "sample string 17",
    "Role": "sample string 18",
    "SubJobs": [
      {
        "$ref": "2"
      },
      {
        "$ref": "2"
      }
    ],
    "Members": [
      {
        "$id": "3",
        "ID": 1,
        "JobID": 2,
        "FullName": "sample string 3",
        "Email": "sample string 4",
        "Content": "sample string 5",
        "StartTime": "2026-01-09T22:10:16.1873447+07:00",
        "EndTime": "2026-01-09T22:10:16.1873447+07:00",
        "State": 8,
        "Note": "sample string 9",
        "EmployeeID": 10,
        "Confirmed": 11,
        "Role": "sample string 12"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "SelectedDate": "2026-01-09T22:10:16.1873447+07:00",
  "Tab": 2
}