GET api/Jobs/GetJob/{id}?Lang={Lang}

Đọc thông tin công việc (Job)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

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

integer

Required

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 .

TJob
NameDescriptionTypeAdditional information
ID

ID Job

integer

None.

Title

Tiêu đề

string

None.

Sumarry

Tóm tắt

string

None.

Content

Nội dung

string

None.

StartTime

Thời gian bắt đầu

date

None.

EndTime

Thời gian kết thúc

date

None.

Repeat

Lặp: 0=không, 1=hàng ngày, 2=hàng tuần, 3=hàng tháng, 4= hàng năm

integer

None.

EndRepeatType

Kiểu dừng lặp: 0=không dừng, 1=Dừng sau một số lần, 2=Dừng vào ngày cụ thể

integer

None.

RepeatTimes

Số lần lặp lại để dừng

integer

None.

EndRepeatTime

Thời gian kết thúc

date

None.

MemberCount

Số thành viên tham gia

integer

None.

EmailAlert

Thông báo thành viên qua email. 0=không, còn lại đơn vị tính phút

integer

None.

MessageAlert

Thông báo thành viên qua tin nhắn (SMS/Zalo). 0=không, còn lại đơn vị tính phút

integer

None.

State

Trạng thái: 1=Hoạt động, 0=Không hoạt động, 2= Được mời, cần xác nhận

integer

None.

StateDescription

Diễn giải trạng thái

string

None.

Location

Địa điểm

string

None.

Link

Liên kết

string

None.

Note

Ghi chú

string

None.

UserID

ID người dùng hiện tại

integer

None.

Members

Danh sách thành viên

Collection of TJobMember

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Title": "sample string 2",
  "Sumarry": "sample string 3",
  "Content": "sample string 4",
  "StartTime": "2026-01-09T22:10:37.1320998+07:00",
  "EndTime": "2026-01-09T22:10:37.1320998+07:00",
  "Repeat": 7,
  "EndRepeatType": 8,
  "RepeatTimes": 9,
  "EndRepeatTime": "2026-01-09T22:10:37.1320998+07:00",
  "MemberCount": 10,
  "EmailAlert": 11,
  "MessageAlert": 12,
  "State": 13,
  "StateDescription": "sample string 14",
  "Location": "sample string 15",
  "Link": "sample string 16",
  "Note": "sample string 17",
  "UserID": 18,
  "Members": [
    {
      "$id": "2",
      "ID": 1,
      "CalenderID": 2,
      "MemberID": 3,
      "FullName": "sample string 4",
      "Gender": "sample string 5",
      "Email": "sample string 6",
      "PhoneNumber": "sample string 7",
      "Address": "sample string 8",
      "State": 9,
      "Confirm": 10,
      "ConfirmDate": "2026-01-09T22:10:37.1551423+07:00"
    },
    {
      "$ref": "2"
    }
  ]
}