Links

Request to receive the list of scheduled SMS

post
http://lk.mysmpp.ru/xml/list_scheduled.php
Request to receive the list of scheduled SMS
Parameters
Header
Content-type*
String
text/xml; charset=utf-8;
Body
login.value*
String
Your login in the system
password.value*
String
Your password in the system
token.value*
String
You can use a secret key instead of login and password. To obtain it, please contact your manager
scheduled.page*
Int
Page number. The entire list of scheduled SMS is divided into pages. You cannot request the whole list. You can only request an individual page. The numbering starts with one
Responses
200: OK
If a valid XML document is received
400: Bad Request
If an error occurs in the sent XML document

Deciphering parameters in query responses

Parameter
Data type
Description
phones.page
Int
Page number
phones.num_pages
Int
Total pages
phones.scheduled.id_sms
Int
SMS number. Used to delete a scheduled SMS
phones.scheduled.time_put_turn
Int
Time to add to the scheduler
phones.scheduled.originator
String
SMS sender. This is the value that will be displayed on the subscriber's phone in the SMS from field
phones.scheduled.phone
Int
Number of the subscriber to whom the SMS is addressed
phones.scheduled.type
String
SMS message type:
  • sms - regular SMS
  • flashsms - Flash SMS
  • wappush - WAP-Push
  • vcard - business card (vCard)
phones.scheduled.text_sms
String
SMS text
phones.scheduled.count_sms
Int
Number of SMS message parts
phones.scheduled.name_delivery
String
Newsletter title
phones.scheduled.time_send
Date
The date and time of the shipment in the format:
YYYY-MM-DD HH:MM
where, YYYY-year, MM-month, DD-day, HH-hours,
MM-minutes
phones.scheduled.validity_period
Date
The date and time after which no attempts will be made to deliver SMS in the format:
YYYY-MM-DD HH:MM:SS
where, YYYY-year, MM-month, DD-day, HH-hours,
MM-minutes
SS-seconds
error
String
The error text can take the following values:
  • Incorrect XML document format
  • Incorrect login or password
  • POST data is missing

Example XML request

<?xml  version="1.0" encoding="utf-8" ?>
<request>
<security>
<login value="login" />
<password value="password" />
</security>
<scheduled page=”1”/>
</request>
Last modified 5mo ago