DLR Push API

The DLR Push API sends the delivery report of a sent message to the client's URL.

Push DLR

The DLR Push API sends the delivery report of the sent message to the client's URL.

URL

http://www.abc.net/Demo/Demo.aspx is how a URL for each client would appear. The parameters appended to the URL would be static. The parameters are explained below.

Request Parameters

Sr. No.ParameterDescription
1sSenderSource address.
2sMobileNoDestination number of sent message.
3sStatusStatus of the message. ('UNKNOWN', 'ACKED', 'ENROUTE', 'DELIVRD', 'EXPIRED', 'DELETED', 'UNDELIV', 'ACCEPTED', 'REJECTD')
4dtSubmitDate and time when the message is submitted. Date format should be YYYY-MM-DD. Time format should be hh:mm:ss.
5dtDoneDate and time when the delivery report is received. Date format should be YYYY-MM-DD. Time format should be hh:mm:ss.
6sMessageIdUnique identification for a message given at the time of submission.
7iCostPerSmsCost per message or SMS.
8iChargeTotal credits deducted depending upon number of message parts.
9iMCCMNCMobile Country Code and Mobile Network Code.
10iErrCodeNo error=0. Error=Respective error code. Example: 205 (Unknown Error).
11sTagNameCampaign name for that batch.
12sUdf1User defined field 1.
13sUdf2User defined field 2.

Response

Sr. No.HTTP Status/Error CodeDescription
1200OK: The request has succeeded. The information returned with response is dependent on the method used in the request.
2202Accepted: The request has been accepted for processing, but the processing has not been completed.
📘

Note

  • The response codes other than 200 or 202 are not taken into consideration and requests for such response codes are considered as failed.
  • The method used for posting the delivery report onto the client's URL is POST.


Did this page help you?