Hàm lấy danh sách Brandname
HTTP request
GET
https://rest.esms.vn/MainService.svc/json/GetListBrandname/{{ApiKey}}/{{SecretKey}}
Response Type: application/json
curl --location --globoff 'https://rest.esms.vn/MainService.svc/json/GetListBrandname/{{ApiKey}}/{{SecretKey}}'
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.
Response:
{
"CodeResponse": "100",
"ListBrandName": [
{
"Brandname": "Baotrixemay",
"Type": 2
},
{
"Brandname": "QC_ONLINE",
"Type": 1
},
{
"Brandname": "BAT DONG SAN GIA TOT",
"Type": 23
}
]
}
Request hợp lệ.
Cấu trúc body của response:
Thuộc tính
Kiểu dữ liệu
Mô tả
CodeResponse
string
Mã trả về.
ListBrandName
array
Danh sách brandname hiện đang kích hoạt ở tài khoản.
Cấu trúc thuộc tính từng object ListBrandName
Thuộc tính
Kiểu dữ liệu
Mô tả
Brandname
string
Tên brandname.
Type
string
Loại brandname 1: brandname quảng cáo. 2: brandname CSKH. 23: brandname Viber.
Thông tin 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.
PreviousHàm kiểm tra chi tiết từng số trong tin nhắnNextHàm lấy danh sách template tin chăm sóc khách hàng
Last updated