Hàm tạm tính giá tin nhắn CSKH

HTTP request

GET https://api-portal.senbac.com/MainService.svc/json/SummaryMultipleMessage_V4_get?Phone={{Phone}}&Content={{Content}}&ApiKey={{ApiKey}}&SecretKey={{SecretKey}}&SmsType=2&BrandName={{BrandName}}

  • Response Type: application/json

curl --location --globoff 'https://api-portal.senbac.com/MainService.svc/json/SummaryMultipleMessage_V4_get?Phone={{Phone}}&Content={{Content}}&ApiKey={{ApiKey}}&SecretKey={{SecretKey}}&SmsType=2&BrandName={{BrandName}}'
  • 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

Yes

ApiKey của tài khoản.

SecretKey

string

Yes

SecretKey của tài khoản.

Brandname

string

Yes

Tên thương hiệu.

SmsType

string

Yes

Loại tin nhắn, SmsType = 2: Loại tin chăm sóc khách hàng.

Phone

string

Yes

Số điện thoại nhận tin.

Content

string

Yes

Nội dung tin nhắn.

IsUnicode

string

No

Nội dung có chứ Unicode: 0: Nội dung không dấu. 1: Nội dung có dấu.


  • Response:

{
    "CodeResult": "100",
    "ErrorMessage": "success",
    "TotalPrice": 850,
    "TotalReceiver": 1
}

Request hợp lệ.

Request hợp lệ.

  • Cấu trúc body của response:

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

CodeResult

string

Mã trả về.

ErrorMessage

string

Nội dung thông báo.

TotalPrice

string

Tổng tiền tin.

TotalReceiver

string

Tổng số điện thoại nhận tin.

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

Last updated