Links

Request to delete a scheduled SMS

post
http://lk.mysmpp.ru/xml/scheduled.php
Request to delete a 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
delete_schedule.schedule.id_sms*
Int
The number of the scheduled SMS to be deleted. Can be obtained by querying the list of scheduled SMS
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
scheduled.id_sms
Int
SMS message number. Used to check the status of SMS.
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>
<delete_schedule>
<schedule id_sms="1234” />
<schedule id_sms="1235” />
</delete_schedule>
</request>
Last modified 5mo ago