# Notification Seen

# Giới thiệu

  • Là thao tác chuyển trạng thái thông báo sang Đã xem

# Trigger

  • Event sẽ được trigger khi bấm Đã xem một thông báo bất kỳ
  • Lưu lại cả thao tác khi xem thông báo trên popover từ header hoặc xem trên trang /thong-bao

# Schema

# Host

POST /collect

# Request body

Key Desc
type NotificationSeen
oth Danh sách các object notification seen
Required Info Schema Xem thông tin bắt buộc

# Schema object notification seen

Key Type Desc
notification_id int ID thông báo
type int Loại thông báo
status int Đã xem hoặc Chưa xem

# Sample data gửi lên data platform

{
    "type": "NotificationSeen",
    "referer": "https:\/\/topworking-ops-stag.rework.vn\/",
    "c_id": null,
    "w": null,
    "h": null,
    "p_f": null,
    "a_v": null,
    "host": "topworking-ops-stag.rework.vn",
    "o": "https:\/\/topworking-ops-stag.rework.vn",
    "p_n": "ajax-update-noti-status",
    "q": null,
    "id": "topworking.vn",
    "u_id": "306",
    "u_e": "email_306@gmail.com",
    "u_p": "0000000306",
    "u_n": "\u0110\u1eadu Th\u1ecb H\u1ed3ng",
    "src": "backend",
    "tab_id": null,
    "ts": 1670840431176,
    "ip": "172.71.210.80",
    "hrf": "https%3A%2F%2Ftopworking-ops-stag.rework.vn%2Fajax-update-noti-status",
    "t_i": null,
    "cv_i": null,
    "p": null,
    "b": null,
    "jb_ids": null,
    "v_t": null,
    "imprs": null,
    "d_i": null,
    "f_p": null,
    "jr_i": null,
    "unique_id": null,
    "u_s": null,
    "u_m": null,
    "u_c": null,
    "ta_source": null,
    "sc_v": "v1.0.0",
    "uni": "8be4c9a3-81eb-4402-a892-ff03c2765668-1670840431176",
    "oth": {
        "notification_id": "2303514",
        "type": "23",
        "status": ""
    }
}