PULL STATUS SUMMARY

PULL STATUS SUMMARY

This api will give status wise summary report for the given daterange

API Endpoint

http://portal.thundersms.com/api/v2/

Note: Few elements in the endpoint may change from service to service.

GET

{endpoint}sms/report

ACCEPTED PARAMETERS

Name Descriptions
daterange Date Range : (in format i.e, yyyy-mm-dd|yyyy-mm-dd) Ex: 2019-06-19|2019-06-22

you can pass any of the above params to get the report.

Example Request

Example Response

{
  "status": 200,
  "message": "OK",
  "data": {
    "2019-07-02": {
      "date": "2019-07-02",
      "status": {
        "TIMEOUT-DLR": 572,
        "DELIVRD": 150781,
        "UNDELIV": 1450
      }
    },
    "2019-07-01": {
      "date": "2019-07-01",
      "status": {
        "BARRED": 6,
        "BLACKLST": 10,
        "EXPIRED": 3040,
        "FAILED": 15,
        "INVALID-SUB": 54,
        "MOB-OFF": 9,
        "NET-ERR": 5,
        "REJ-MULTIPART": 416
      }
    }
  }
}