# Các CV Scout

# Giới thiệu

  • Là các hành động trong tính năng CV Scout
  • Được gửi từ backend.

# Trigger

  • CvScoutPaidCv: Trigger khi user trả tiền để xem thông tin có trong CV.
  • CvScoutSavedCv: Trigger khi user quan tâm CV.
  • CvScoutRejectedCv: Trigger khi user bỏ qua CV.
  • CvScoutUpdatedInsight: Trigger khi user cập nhật insight.

# Schema

# Host

POST /collect

# Request body

Key Desc
u_id Logged In user
cv_i id của cv (string)
scout_p_id id vị trí CV Scout (int)
Required Info Schema Xem thông tin bắt buộc

# Sample

# CvScoutUpdatedInsight

{
    "referer": "http://localhost:31896/",
    "c_id": null,
    "w": null,
    "h": null,
    "p_f": null,
    "a_v": null,
    "host": "api-tuyendung.topcv.local",
    "o": "http://localhost:31896",
    "p_n": "api/v1/cv-scout/positions/214335/insight",
    "q": null,
    "u_id": "139912",
    "id": null,
    "src": null,
    "tab_id": null,
    "ts": 1632477082,
    "ip": "172.25.0.1",
    "type": "CvScoutUpdatedInsight",
    "hrf": "http%3A%2F%2Fapi-tuyendung.topcv.local%2Fapi%2Fv1%2Fcv-scout%2Fpositions%2F214335%2Finsight",
    "t_i": null,
    "cv_i": null,
    "p": null,
    "b": null,
    "jb_ids": null,
    "jb_id": '267422'
    "p_j_i": null,
    "v_t": null,
    "s": null,
    "mb_l_i": null,
    "r": null,
    "package": null,
    "mi_l_i": null,
    "g_s": null,
    "h_s": null,
    "b_ns": null,
    "u_s": null,
    "u_m": null,
    "u_c": null,
    "ta_source": null,
    "p_id": null,
    "imprs": null,
    "s_i": "231113",
    "qty": 1,
    "r_c_id": "259325",
    "s_d": "2021-09-24",
    "scout_p_id": 214335
}

# CvScoutPaidCv, CvScoutSavedCv, CvScoutRejectedCv

{
    "referer": "http://localhost:31896/",
    "c_id": null,
    "w": null,
    "h": null,
    "p_f": null,
    "a_v": null,
    "host": "api-tuyendung.topcv.local",
    "o": "http://localhost:31896",
    "p_n": "api/v1/cv-scout/scouted-cvs/244523/approve",
    "q": null,
    "u_id": "139912",
    "id": null,
    "src": null,
    "tab_id": null,
    "ts": 1632477082,
    "ip": "172.25.0.1",
    "type": "CvScoutPaidCv",
    "hrf": "http%3A%2F%2Fapi-tuyendung.topcv.local%2Fapi%2Fv1%2Fcv-scout%2Fscouted-cvs%2F244523%2Fapprove",
    "t_i": null,
    "cv_i": "244523",
    "p": null,
    "b": null,
    "jb_ids": null,
    "jb_id": '267422'
    "p_j_i": null,
    "v_t": null,
    "s": null,
    "mb_l_i": null,
    "r": null,
    "package": null,
    "mi_l_i": null,
    "g_s": null,
    "h_s": null,
    "b_ns": null,
    "u_s": null,
    "u_m": null,
    "u_c": null,
    "ta_source": null,
    "p_id": null,
    "imprs": null,
    "order_service_id": "121343",
    "s_i": "231113",
    "r_c_id": "259325",
    "scout_p_id": 214335
}