For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get list customer care templates

This endpoint is used for getting the registered brandname template at ViHAT according to the given brandname.

HTTP request

POST https://rest.esms.vn/MainService.svc/json/GetTemplate/

  • Content Type: application/json

  • Response Type: application/json

curl --location 'https://rest.esms.vn/MainService.svc/json/GetTemplate/' \
--header 'Content-Type: application/json' \
--data '{
 "ApiKey":"{{ApiKey}}",
 "SecretKey":"{{SecretKey}}",
 "SmsType":"2",
 "Brandname":"{{Brandname}}"
}'
  • Request body:

Paramter
Type
Required
Description

ApiKey

string

Your API key.

SecretKey

string

Your Secret key.

SmsType

string

Type of brandname 2: Customer care

BrandName

string

The input brandname registered at ViHAT.


  • Response:

Valid request.

  • Response body:

Thuộc tính
Kiểu dữ liệu
Mô tả

NetworkID

string

1: Viettel 2: Mobi 3: Vinaphone 4: Vietnammobile 5: Gtel 6: Itel 7: Reddi

TempContent

string

Content đã đăng ký với nhà mạng

TempId

string

TempId của nhà mạng

  • Thông tin chi tiết mã lỗi xem ở bảng: Mã lỗi .

  • Lấy code mẫu của các ngôn ngữ ở link: Code mẫu .

Last updated