Prepare your own API endpoint to receive our Delivery Report
For example, you will be building your own web project named "esms", and an endpoint named "dr_receiver.php" (or any other language you prefer),
then, you will host it at your site, and accessible via calling http://www.your-own-site.com/esms/dr_receiver.php
Every time you call our Send SMS API, you will put http://www.your-own-site.com/esms/dr_receiver.php as the value for dlr-url parameter.
The msgId of the SMS this report is referring at.
You will get this ID when you're calling our Send SMS API, this msgId is returned in the response.
This status of the SMS.
Refer to Delivery Status table below for possible values and description for each of them.
The time when this happens in the format of yyyyMMddHHmmss. (GMT +8)
Anything in the body, we wouldn't parse your body content.
Any Http Status Code between 200 to 299 (inclusive of 200 and 299)
If you return any other status code, we would retry until we get http code above, maximum retry attempt is 10 times.
|DELIVRD||SMS has successfully reached the operator.|
|UNDELIV||SMS was not delivered to end client.|
|EXPIRED||SMS took too long before reaching the client.|