使用Furay telecom短信API接口实现

Contact Us
使用Furay telecom短信API接口实现

Apr-04-25 15:35

开通短信服务

联系客服注册并开通服务;

 

申请签名前的准备

提供以下信息进行报备签名及短信内容,

1.营业执照;

2.联系人全名;

3.联系人号码;

4 要发送的内容;

 

获得账号信息

内容报备及预付成功后,获得账号信息如下:

HTTP接入信息

IP地址:XXX

端口号:XXX

企业编号:XXX

账号:XXX

秘钥:XXX

 

Furay API实现发送短信

POST URL http://url/netway/json/submit

使用JSON格式请求:

{

“enterprise_no”:“xxxx”,

“account”:“xxxx”,

“timestamp”:“1695008654727”,

“sign”:“xxx”,

“phones”:“xxx”,

“content”:“yourcodeis123456”,

“subcode”:“huawei”,

“charset”:“ISO8859-1”

}

 

响应结果:

{“result”:“0”,“desc”:“成功”,“msgid”:“209961E011B00D8D1A002”}

 

Furay API实现查询短信报告

查询未推送的报告,已推送的报告不再推送。

POST URL http://url/netway/json/report

 

使用JSON格式请求:

{

“enterprise_no”:“xxxx”,

“account”:“xxx”,

“timestamp”:“1695008654727”,

“sign”:“xxx”

}

 

响应结果:

{“result”:“0”,“desc”:“成功”,“report”:[

{“result”:“success”,

“mnc”:“”,

“cost”:“0.040000”,

“phone”:“xxx”,

“netway_code”:“huawei”,

“msgid”:“2828829CB9A2029D9A005”,“mcc”:“460”,

“seq”:“1”}

]

}

 

Get Support

The product you were looking for was not found

Contact US

Submit order

If you have any questions, you are welcome to submit a ticket to us

Get a Touch