GET api/Dashboard/GetDashboard?Lang={Lang}
API này trả về thông tin lịch làm việc để hiển thị ở trang quản lý lịch (Canlendar).
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| 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ề một đối tượng chứa thông tin công việc lịch.
TDashboardModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Notifies |
Danh sách thông báo đến |
Collection of TNotifyBrief |
None. |
| Jobs |
Danh sách công việc |
Collection of TJobBrief |
None. |
| NewNotifyCount |
Số tin nhắn mới dùng cho khung thống kê |
integer |
None. |
| NewJobCount |
Số tin công việc mới dùng cho khung thống kê |
integer |
None. |
| UserID |
ID người dùng hiện hành |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Notifies": [
{
"$id": "2",
"ID": 1,
"Content": "sample string 2",
"SendCount": 3,
"AccessCount": 4,
"NotifyDay": "sample string 5",
"State": 6,
"Note": "sample string 7",
"SenderName": "sample string 8",
"CreatedTime": "2026-01-09T22:13:32.1474397+07:00",
"UpdatedTime": "2026-01-09T22:13:32.1474397+07:00"
},
{
"$ref": "2"
}
],
"Jobs": [
{
"$id": "3",
"ID": 1,
"Title": "sample string 2",
"Role": "sample string 3",
"State": 4,
"StateDescription": "sample string 5",
"StartTime": "2026-01-09T22:13:32.1474397+07:00",
"EndTime": "2026-01-09T22:13:32.1474397+07:00"
},
{
"$ref": "3"
}
],
"NewNotifyCount": 1,
"NewJobCount": 2,
"UserID": 3
}