> For the complete documentation index, see [llms.txt](https://coreretail.gitbook.io/huong-dan-van-hanh-mini-app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://coreretail.gitbook.io/huong-dan-van-hanh-mini-app/omni-mini-tool/nhat-ki-gui-tin-etm.md).

# Nhật kí gửi tin (ETM)

## Nhật ký gửi tin

<figure><img src="/files/HFcxUAqKcIm0lWopVM0D" alt=""><figcaption><p>Nhật ký gửi tin</p></figcaption></figure>

#### 🔹 Thành phần chính

* **Bộ lọc tìm kiếm nâng cao**
  * *Tìm kiếm*: Nhập số điện thoại người nhận để lọc nhanh.
  * *Loại tin*: Chọn kênh gửi (ví dụ OMNI, ZNS...).
  * *Trạng thái*: Lọc theo trạng thái gửi thành công/thất bại.
  * *Thời gian gửi tin*: Chọn khoảng ngày để lọc dữ liệu.
  * *Nút* ![](/files/70uJVAmdWo7l2J1Dstbg): Áp dụng các bộ lọc.
  * *Nút* ![](/files/ZpCda85PkQaE5riJHyX0): Xóa bộ lọc và hiển thị lại toàn bộ.
  * ![](/files/IaGDIEFShTlJovEMrGZ7): Tải toàn bộ nhật ký đã lọc thành file Excel.
* **Bảng nhật ký gửi tin**
  * **#**: Số thứ tự.
  * **Người nhận**: Số điện thoại người nhận tin nhắn.
  * **Loại tin**: Kênh gửi tin (OMNI, ZNS...).
  * **Result Code**: Mã kết quả trả về từ hệ thống gửi tin.
    * Ví dụ:
      * `1` = Thành công
      * `-2` = Sai định dạng tham số
  * **RequestBody**: Nội dung request được hệ thống gửi đi, gồm các tham số động (ví dụ: otp, number).
  * **ResponseBody**: Kết quả phản hồi từ hệ thống gửi tin, thường ở dạng JSON (ví dụ: Status, Code, IdOmniMess).
  * **Thời gian gửi**: Ngày giờ tin nhắn được gửi.

***

* **Phân trang**
  * Chọn số dòng hiển thị mỗi trang.
  * Điều hướng qua các trang của danh sách.

#### 🛠️ Hướng dẫn sử dụng

<figure><img src="/files/f00XhcEIodIBBmVF0yE6" alt=""><figcaption><p>Khu vực bộ lọc</p></figcaption></figure>

1️⃣ Sử dụng các bộ lọc để thu hẹp kết quả:

* Tìm theo số điện thoại.
* Lọc theo Loại tin (OMNI, ZNS…).
* Chọn trạng thái gửi thành công/thất bại.
* Lọc theo khoảng thời gian gửi.

2️⃣ Bấm ![](/files/hAr8XPZmJk7XGBb1WwO8) để áp dụng bộ lọc.\
3️⃣ Bấm ![](/files/bIn3d9TPiyARKQYovm7j)để xóa tất cả điều kiện lọc.\
4️⃣ Bấm ![](/files/4XfRT3hMaF9iMGbMT8DB) để tải danh sách kết quả đã lọc.\
5️⃣ Xem bảng kết quả để:

* Kiểm tra người nhận và loại tin.
* Xem **Result Code** để xác định thành công/thất bại.
* Kiểm tra **RequestBody** và **ResponseBody** để tìm lỗi.
* Xác minh thời gian gửi cụ thể.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://coreretail.gitbook.io/huong-dan-van-hanh-mini-app/omni-mini-tool/nhat-ki-gui-tin-etm.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
