Delivery reports

28/08/2010 14:04:54

The address to get deliveries: https://service.sms4you.lt/XMLGetDR.php?userId=xxxx&password=xxxx

Query string parameters:

Parameter

Description

userId

User's id

password

User's password

 

The format of the XML DeliveryReport structure will be:

<DeliveryReport>
    <message id="ID1" sentdate="YYYY-mm-dd H:i:s" donedate="YYYY-mm-dd H:i:s" status="x" />
    <message id="ID2" sentdate="YYYY-mm-dd H:i:s" donedate="YYYY-mm-dd H:i:s" status="x" />
    ....
</DeliveryReport>

XML attributes description:

Attribute

Description

id

Client's ID of the message

sentdate

Date and time when message was submitted from the client to the sms4you system.

(format: YYYY-mm-dd H:i:s)

donedate

Date and time when SMSC notified delivery report to the sms4you system.

(format: YYYY-mm-dd H:i:s)

status

sent

Message is passed to SMSC (SMS Center), but not yet delivered to the recipient.

delivered

The message is successfully delivered to the recipient.

rejected

The message could not be delivered.