Hàm lấy danh sách template Zalo
HTTP request
POST
https://rest.esms.vn/MainService.svc/json/GetTemplate/
Content Type: application/json
Response Type: application/json
Cấu trúc body của request:
Tham số
Kiểu dữ liệu
Tính bắt buộc
Mô tả
ApiKey
string
ApiKey của tài khoản.
SecretKey
string
Secretkey của tài khoản.
OAId
string
ID của OA cần lấy template.
SmsType
string
Loại tin 24: Zalo ưu tiên. 25: Zalo bình thường.
Response:
Request hợp lệ.
Cấu trúc body response:
Thuộc tính
Kiểu dữ liệu
Mô tả
TempContent
string
Nội dung của template.
Tempid
string
Template ID.
TempName
string
Tên template.
ZNSTempDetail
string
Chi tiết của template.
Limit
string
Độ dài của template.
Param
string
Tên biến.
ParamLevel
string
Thứ tự biến.
RequireType
string
Kiểu dữ liệu của biến.
Thông chi tiết mã lỗi xem ở bảng: Mã lỗi .
Lấy code mẫu các ngôn ngữ trên Postman: Link code mẫu.
Last updated