SMS API Service
Beijing Connect Technology Co., Ltd. HTTP://WWW.HAOSERVICE.COM/DOCS/17
The SMS API Service can send a well-written text message template to multiple designated mobile phone numbers at once .
SMS Interface :
Url:http://apis.haoservice.com/sms/send
Supported formats : JSON
HTTP Request Method : Get/post
Parameter Description :
Name |
Type |
Must fill in |
Description |
Mobile |
String |
Is |
Mobile phone number for receiving SMS |
tpl_id |
Int |
Is |
SMS Template ID, please refer to the Personal Center SMS template Settings |
Tpl_value |
String |
Is |
Variable name and variable value pairs. If you have a variable name or variable value with any of the special symbols in #&=, please first urlencode encoding before passing, detailed description > |
Key |
String |
Is |
Application APPKEY ( Application Detail page Query ) |
Dtype |
String |
Whether |
Returns the format of the data , XML or json, the default JSON |
Examples of returned results:
{
"Reason": " wrong SMS template ID, please confirm!!! by background ",
"Result": [],
"Error_code": 205402
}
Remark Description :
SMS dedicated channel, not satisfied with the full refund at any time. 5 second response to full network unimpeded 100% Arrive - The uninterrupted channel of the hour is stable and fast .
Service-level error code :
Return Code |
Description |
0 |
a successful return |
201701 |
Wrong phone number |
201702 |
Wrong SMS template ID |
201703 |
Network Error |
201704 |
Send failed |
201705 |
parameter Error |
SMS API Service