Hàm gửi SMS bằng Brandname
1.Hàm SMS brandname là gì ?
Cho phép gửi tin nhắn đến một hoặc nhiều số điện thoại bằng brandname(người nhận sẽ thấy mục gửi đến là tên công ty). Để gửi được tin nhắn cần phải đăng ký với chúng tôi. LH theo mục hỗ trợ kinh doanh.
Soạn: BN gửi 7239 để test thử dịch vụ.
2. Link:
http://210.211.109.118/apibrandname/send?wsdl
3.Tham số:
Param
Desc
Type
Note
USERNAME
USERNAME to authen
String
PASSWORD
PASSWORD to authen
String
BRANDNAME
Name of Brand
String
BRANDNAME of parnert
MESSAGE
SMS content
String
Lenght of SMS <160 character : 1 sms
TYPE
SMS TYPE
String
0: Advertising - 1: customer support
PHONE
PHONE number
String
pre-fix is "0" or "84"
IDREQ
IDREQ is transaction id
String
must be unique
4. Kết quả trả về
getResult: trạng thái SMS
Error code
Description
-4
Template Wrong
-3
System error
-2
Wrong user or password or IP
-1
Sending error (Message content unicode character)
0
Success
2
Not enough account
3
Reciever is null
4
Invalid reciever
5
Target is null
6
Error:[error detail]
7
Over quota
99
Error in processing : [error detail]
100
Authentication fail
101
Authentication User is deactived
102
Authentication User is expired
103
Authentication User is locked
104
Template not actived
105
Template does not exist
108
Msisdn in blackList
304
Send the same content in short time
400
Not enough money
900
System is error
901
Lenght of messages is 612 with noneUnicode message and 266 with Unicode message
902
Number of msisdn must be >0
904
Brandname inactive