Version: 1.03
SUBMIT API URL:
https://sms.dinisoftbd.com:7790/sendtext?apikey=API_KEY&secretkey=SECRET_KEY
&callerID=SENDER_ID&toUser=MOBILE_NUMBER&messageContent=MESSAGE
Or
http://sms.dinisoftbd.com:7788/sendtext?apikey=API_KEY&secretkey=SECRET_KEY
&callerID=SENDER_ID&toUser=MOBILE_NUMBER&messageContent=MESSAGE
Sample Response:
{“Status”:”0″,”Text”:”ACCEPTD”,”Message_ID”:”194234″}
Parameters:
Name | Value |
apikey | apikey provided by termination |
secretkey | secretkey provided by termination |
callerID | Senders /identifying number / Masking Name |
toUser | Receiver number |
messageContent | Your message contents |
DELIVERY API URL:
https://sms.dinisoftbd.com:7790/getstatus?apikey=API_KEY&secretkey=SECRET_KE
Y&messageid=MESSAGE_ID
Or
http://sms.dinisoftbd.com:7788/getstatus?apikey=API_KEY&secretkey=SECRET_KEY
&messageid=MESSAGE_ID
Sample Response:
{“Status”: “0”,”Text”: “DELIVRD”,”Message_ID”: “194234”,”Delivery Time”:
“1586420396602”}
Parameters:
Name | Value |
apikey | apikey provided by termination |
secretkey | secretkey provided by termination |
messageid | The id will be provided for every successful submission |
Using this API, a Client can directly get Balance through GET Method
Sample API Link:
https://sms.dinisoftbd.com/login/sms/smsConfiguration/smsClientBalance.jsp?
client=ClientName
Or
http://sms.dinisoftbd.com/login/sms/smsConfiguration/smsClientBalance.jsp?c
lient=ClientName
Sample Response:
10.000000
SUBMIT API Response Code:
Case | Response |
If user not provided/Deleted | {“Status”:”109”,”Text”:”REJECTD”} |
If wrong password/ not provided | {“Status”:”108”,”Text”:”REJECTD”} |
If content not provided | {“Status”:”114”,”Text”:”REJECTD”} |
if internal server error occurs | {“Status”:”101”,”Text”:”REJECTD”} |
If request successful | {“Status”:”0”,”Text”:”Acceptd”} |
If request failed | {“Status”:”1”,”Text”:”REJECTD”} |
If source IP has not been allowed | {“Status”:”5400″,”Text”:”REJECTD”,”Message_ID”:””} |
DELIVERY API Response Code:
Case | Response |
If api key isn’t provided | {“Status”:”109”,”Text”:”REJECTD”} |
If wrong password/ not provided | {“Status”:”108”,”Text”:”REJECTD”} |
If message id isn’t provided | {“Status”:”114”,”Text”:”REJECTD”} |
If message id isn’t valid or query has been done already for the same id | {“Status”:”114”,”Text”:”REJECTD”} |
if internal server error occurs | {“Status”:”101”,”Text”:”REJECTD”} |
if Authorization failed | {“Status”:”-42”,”Text”:”REJECTD”} |
If request failed | {“Status”:”1”,”Text”:”REJECTD”} |
If request pending | {“Status”:”2”,”Text”:”PENDING”} |
If request sent | {“Status”:”4”,”Text”:”SENT”} |
If sms request successful | {“Status”:”0”,”Text”:”DELIVRD”} |