Inbox messages
28/08/2010 14:04:55
The address to get messages:
https://service.sms4you.lt/XMLGetInbox.php?userId=xxxx&password=xxxx
Query string parameters:
|
userId
|
User's id
|
|
password
|
User's password
|
The format of the XML Inbox structure will
be:
<Inbox>
<message id="ID1" number="x" sentdate="YYYY-mm-dd H:i:s" donedate="YYYY-mm-dd H:i:s" text="x" />
<message id="ID2" number="x" sentdate="YYYY-mm-dd H:i:s" donedate="YYYY-mm-dd H:i:s" text="x" />
....
</Inbox>
XML attributes description:
|
id
|
ID of the message in sms4you system
|
|
number
|
Sender of SMS message (GSM phone number)
|
|
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)
|
|
text
|
Text of received message
|