# Email Note Update
# Giới thiệu
- Là thao tác sửa lại log gửi email của bộ phận kinh doanh với NTD
# Trigger
Event được trigger khi sửa ghi chú gửi email cho NTD trên trang lịch sử liên hệ /khach-hang/{leadId}
# Schema
# Host
POST /collect
# Request body
| Key | Desc |
|---|---|
| type | EmailNoteUpdated |
| oth | Danh sách các object email note updated |
| Required Info Schema | Xem thông tin bắt buộc |
# Schema object email note updated
| Key | Type | Desc |
|---|---|---|
| epl_id | string | ID NTD |
| time | string | Thời gian được set trong Note |
| srv_id | timestamp | ID của dịch vụ |
| note | string | Note của RC |
# Sample data gửi lên data platform
{
"type": "EmailNoteUpdated",
"referer": "https:\/\/topworking-ops-stag.rework.vn\/nha-tuyen-dung-tiep-nhan\/tat-ca?employer_id=374509&keyword=&arr_action_status=&order_by=take_care_date&sort_type=asc&date_from=&date_to=&last_call_date_from=&last_call_date_to=&last_active_date_from=&last_active_date_to=&source_type=&join_status=&rank=&take_care_date=&auth-level=&department_ids=&salesman_id=&source=¬_call_from_date=&position=&company=",
"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": "lead-action\/add\/email",
"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": 1670827081749,
"ip": "172.70.147.170",
"hrf": "https%3A%2F%2Ftopworking-ops-stag.rework.vn%2Flead-action%2Fadd%2Femail",
"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": "cce37f62-391a-4be1-9c31-912820238237-1670827081749",
"oth": {
"epl_id": "374509",
"time": "1670827020",
"srv_id": "2",
"note": "dfbnwobn]\u01a1enrb]\u01b0nb]"
}
}