Lấy dữ liệu mẫu (Sample Data) cho các tham số của một Template.
Hỗ trợ nhà phát triển biết cách điền dữ liệu hợp lệ khi gửi tin.


Request Information

Link Request API (METHOD POST):

https://api.abenla.com/zbs/template/sample-data


Information Request

URI Parameters

None.

Request Body Parameters

Name Description Type
zalo_template_id

ID của template

string
login_name

Tên tài khoản đăng nhập hoặc định danh người dùng API.

string
sign

Chữ ký bảo mật (hash MD5) dùng để xác thực tính toàn vẹn của yêu cầu.

View More
string

Request Formats

application/json, text/json, text/html

Sample:
{
  "zalo_template_id": "1234567",
  "login_name": "ABL1234",
  "sign": "691a5659131a04e0a831472e7a4ba33b"
}

Response Information

Resource Description

Name Description Type
data

/// Danh sách các tham số và giá trị mẫu tương ứng (dạng Key-Value).
Ví dụ: "customer_name": "Nguyễn Văn A", "order_id": "123456"

Dictionary of string [key] and string [value]
code

Mã lỗi trả về từ hệ thống (enum).
Error code returned from the system (enum type).

ErrorCode
message

Thông điệp lỗi hoặc mô tả phản hồi.
Error message or response description.

string

Response Formats

application/json, text/json, text/html

Sample:
{
  "data": {
    "ten_khach_hang": "Nguyen Van A",
    "thoi_gian": "25/12/2024",
    "ma_khach_hang": "ABCD1234"
  },
  "code": 106,
  "message": "Success"
}