GET api/Notifies/GetSentNotify/{id}

Đọc nội dung chi tiết một thông báo gửi đi

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

ID của thông báo cần đọc.

integer

Required

Body Parameters

None.

Response Information

Resource Description

Trả về thông tin chi tiết một thông báo .

TNotify
NameDescriptionTypeAdditional information
ID

ID tin nhắn

integer

None.

Content

Nội dung tin nhắn

string

None.

Type

Phân loại thông báo: 0=Cho tất người được chọn, 1=Các thành viên một tổ, 2=các thành viên một hội đồng,3=Cho tất cả mọi người

integer

None.

SendCount

Số người đã gửi tin đến

integer

None.

AccessCount

Số lượt mở/đọc (đếm số lượt đọc)

integer

None.

NotifyDay

Ngày gửi theo định dạng 'YYYYMMDD' phục vụ sắp xếp

string

None.

State

Trạng thái tin nhắn: 0=mới tạo, 1=đã gửi

integer

None.

AccessState

Trạng thái truy cập của người dùng hiện tại: 0=chưa, 1=đã đọc

integer

None.

AccessTime

Thời gian truy cập của người dùng hiện tại (sử dụng khi AccessState=1)

date

None.

Note

Ghi chú

string

None.

CreatedTime

Ngày tạo

date

None.

ReceiverItems

Danh sách người nhận

Collection of TNotifyMember

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Content": "sample string 2",
  "Type": 3,
  "SendCount": 4,
  "AccessCount": 5,
  "NotifyDay": "sample string 6",
  "State": 7,
  "AccessState": 8,
  "AccessTime": "2026-01-09T22:10:09.1006621+07:00",
  "Note": "sample string 9",
  "CreatedTime": "2026-01-09T22:10:09.1006621+07:00",
  "ReceiverItems": [
    {
      "$id": "2",
      "ID": 1,
      "NotifyID": 2,
      "EmployeeID": 3,
      "AccessTime": "2026-01-09T22:10:09.1006621+07:00",
      "FullName": "sample string 4",
      "State": 5,
      "Note": "sample string 6"
    },
    {
      "$ref": "2"
    }
  ]
}