Download Delivery Report with API
Download and Manage Delivery Reports with API and upgrade your sending SMS set your custom application in delivery report with unique message id. Delivery report avalable in three typres are CSV, JSON and XML.
– To re-download DLR use optional parameter redownload=yes.
– user can pass comma (,) separated messageid to download multiple DLR in single request.
– Max DLR in one request = 500.
– Max re-download count is = 7.

How to Get Delivery Report with API?
Request :
http://temp.91bulksms.com/getreport.jsp?userid=UR_USER&key=UR_KEY&sentdate=2015-07-15
Optional Fields :
&messageid=123456&idno=2007&redownload=yes
Response Type Fields :
&responcetype=xml (get report in xml format)
&responcetype=json (get report in json format)
Response type csv :
+919974984500,available,123456,2007,DELIVRD,Delivered on mobile 8888888888,available,123123,2008,UNDELIV,Mobile switch off 9999999999,notavailable,456456,2009,notavailable,notavailable
Response type json :
[ {
"sentAt": "2015-05-17 14:27:06",
"senderid": "NTFSMS",
"campaignId": "",
"deliverytime": "2015-05-17 14:27:09",
"deliverystatus": "DELIVRD",
"reason": "Successfully Delivered",
"status": "Found Delivery Report",
"clientsmsid": "1209706228",
"messageid": "100126772",
"statuscode": "1111",
"mobileno": "+919974984500"
},
{
"sentAt": "2015-05-17 14:27:06",
"senderid": "NTFSMS",
"campaignId": "",
"deliverytime": "2015-05-17 14:27:09",
"deliverystatus": "DELIVRD",
"reason": "Successfully Delivered",
"status": "Found Delivery Report",
"clientsmsid": "1590650427",
"messageid": "175873016",
"statuscode": "1111",
"mobileno": "+919974984500"
}
]
Response type xml :
Found Delivery Report
+919974984500
1111
441694950
991113161
INFOSM
Successfully Delivered
DELIVRD
2015-05-17 14:07:33
2015-05-17 14:07:35
Found Delivery Report
+919974984500
1111
631607361
1532479158
INFOSM
Successfully Delivered
DELIVRD
2015-05-17 14:07:33
2015-05-17 14:07:35